subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
import edge_tts import requests except ImportError: subprocess.check_call([sys.executable, "-m", "pip", "install", "edge-tts", "requests", "-q"]) import edge_tts import requests- Confidence
- 97% confidence
- Finding
- Automatically installing packages at runtime modifies the environment and executes code fetched from external package repositories without explicit user approval. In a skill context, this increases supply-chain risk and can unexpectedly change the host system, especially if package indexes, mirrors, or dependency resolution are compromised.
