subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
# ── isolated dependency install ─────────────────────────────────────────────── _DEP_DIR = Path("/tmp/office_md_deps") _DEP_DIR.mkdir(exist_ok=True) subprocess.run( [ sys.executable, "-m", "pip", "install", "--quiet", "--target", str(_DEP_DIR),- Confidence
- 89% confidence
- Finding
- subprocess.run( [ sys.executable, "-m", "pip", "install", "--quiet", "--target", str(_DEP_DIR), "pandas==2.2.3", "tabulate==0.9.0", ], check=True, )
