subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
try: # 运行主脚本 result = subprocess.run([sys.executable, "scripts/ultimate_system.py"], capture_output=True, text=True, timeout=10) if "ULTIMATE SYSTEM REPORT" in result.stdout:- Confidence
- 82% confidence
- Finding
- The publish script executes `scripts/ultimate_system.py` as part of its test phase before publication. In a skill/package publishing context, this means running repository code locally with the publisher's privileges, which is risky because a malicious or tampered script could perform arbitrary actions during the publish workflow.
