subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
stop_script = ROOT / ".claude/hooks" / "cccc-stop.sh" if stop_script.exists() and os.access(stop_script, os.X_OK): try: r = subprocess.run( ["bash", str(stop_script)], input='{"stop_hook_active":false}', capture_output=True, text=True, timeout=10,- Confidence
- 89% confidence
- Finding
- r = subprocess.run( ["bash", str(stop_script)], input='{"stop_hook_active":false}', capture_output=True, text=True, timeout=10,
