subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
# 安装依赖 requirements = target_path / "requirements.txt" if requirements.exists(): subprocess.run( [sys.executable, "-m", "pip", "install", "-r", str(requirements)], check=True, timeout=600, )- Confidence
- 92% confidence
- Finding
- subprocess.run( [sys.executable, "-m", "pip", "install", "-r", str(requirements)], check=True, timeout=600, )
