subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
if not req_file.exists(): return True try: result = subprocess.run( [sys.executable, "-m", "pip", "install", "-r", str(req_file), "-q"], capture_output=True, text=True,- Confidence
- 83% confidence
- Finding
- The wizard automatically runs 'pip install -r requirements.txt' during setup, which executes package installation code from the local repository without explicit user confirmation or integrity verification. If the skill repository or dependency chain is tampered with, setup can trigger untrusted code execution on the user's machine.
