subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
at_utc = at_sh.astimezone(utc) at_iso = at_utc.strftime("%Y-%m-%dT%H:%M:%SZ") name = f"cal-remind-{at_sh.strftime('%Y-%m-%d')}-{_cron_counter}" subprocess.run([ "openclaw", "cron", "add", "--name", name, "--at", at_iso,- Confidence
- 84% confidence
- Finding
- The cron command is populated with message content derived from calendar event subjects, which may contain sensitive personal or business information and is then stored/sent through the external openclaw/Feishu channel. Although the subprocess call is not shell-injected, it propagates untrusted calendar content into a notification and scheduling system, increasing privacy leakage and potential abuse if event text is hostile or unexpectedly large/formatted.
