subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
print("\nRunning security scan...") try: result = subprocess.run( [sys.executable, str(scanner), str(skill_dir)], capture_output=True, text=True,- Confidence
- 84% confidence
- Finding
- The installer executes `scan_skill.py` from the local scripts directory as a trusted helper. If that file is replaced, tampered with, or comes from an untrusted installation path, running the installer will execute attacker-controlled code before installation completes, creating a local code-execution trust-boundary issue.
