subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
"--delete-after-run", "--json" ] result = subprocess.run(cron_cmd, capture_output=True, text=True, timeout=10) if result.returncode == 0: cron_result = json.loads(result.stdout) wake_ok = True- Confidence
- 88% confidence
- Finding
- The server launches an external openclaw cron task that causes autonomous agent execution, which exceeds the declared launcher-only behavior and can be triggered remotely through the HTTP API. Although subprocess is called without a shell, this still creates a powerful orchestration primitive that can start privileged actions and background sessions outside normal user review.
