subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
} try: subprocess.check_call( [sys.executable, "-m", "pip", "install", "--quiet", "pillow>=10.0.0", "pillow-heif"] )- Confidence
- 95% confidence
- Finding
- This code installs Python packages at runtime by invoking pip through a subprocess. In a skill whose stated purpose is literary journaling, silent dependency installation introduces unnecessary code execution and network-fetch capability, expands the trust boundary to package indexes, and can result in unreviewed code being installed and executed in the host environment.
