subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
return if shutil.which("npx") is None: fail("npx executable not found; install Node.js to install skills") completed = subprocess.run(command, capture_output=True, text=True, check=False) if completed.returncode != 0: detail = completed.stderr.strip() or completed.stdout.strip() fail(f"skills CLI install failed: {detail}", completed.returncode)- Confidence
- 91% confidence
- Finding
- completed = subprocess.run(command, capture_output=True, text=True, check=False)
