subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
"hint": "Run: pip install -r requirements.txt" } try: subprocess.check_call( [sys.executable, "-m", "pip", "install", "--quiet", "pillow>=10.0.0"] ) from PIL import Image as PILImage- Confidence
- 96% confidence
- Finding
- The code invokes pip via subprocess to install Pillow at runtime. Although it does not appear to allow direct command injection because arguments are passed as a list, executing package installation from within the skill expands the attack surface, permits unexpected code execution through dependency installation hooks, and performs system modification unrelated to the assistant's stated journaling function.
