subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
print("\nInstalling dependencies...") deps = ["requests"] try: subprocess.check_call( [sys.executable, "-m", "pip", "install", "--quiet"] + deps + ["--break-system-packages"],- Confidence
- 86% confidence
- Finding
- The setup script invokes pip to install a package at runtime, which gives the skill the ability to modify the local Python environment and fetch code from an external package index. While the package name is hard-coded to 'requests' and there is no direct command injection here, automatic installation with '--break-system-packages' increases risk because it can alter system-managed environments and silently execute package installation logic.
