subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
package_json = skill_dir / "package.json" if package_json.exists(): print(" Installing Node.js dependencies...") subprocess.run( ["npm", "install"], check=True, capture_output=True,- Confidence
- 95% confidence
- Finding
- subprocess.run( ["npm", "install"], check=True, capture_output=True, cwd=str(skill_dir)
