subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
try: # SECURITY: Timeout prevents runaway processes subprocess.run(cmd, check=True, timeout=900) return True except subprocess.CalledProcessError: print("⚠️ Image generation failed.")- Confidence
- 79% confidence
- Finding
- This code executes an external script from a user-writable workspace location if present, effectively trusting another skill file without integrity verification. An attacker who can place or modify that script can obtain arbitrary code execution when this skill runs, and the embedded text claiming the integration is safe should increase suspicion rather than reduce it.
