os.system() or os exec-family call
High
- Category
- Dangerous Code Execution
- Content
__import__(pkg) except ImportError: print(f"📌 正在安装 {pkg} 库...") os.system(f"pip install {pkg} -i https://pypi.tuna.tsinghua.edu.cn/simple") # 执行全流程 try:- Confidence
- 95% confidence
- Finding
- os.system(f"pip install {pkg} -i https://pypi.tuna.tsinghua.edu.cn/simple")
