subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
if dry_run: command.append("--dry-run") try: completed = subprocess.run(command, capture_output=True, text=True, check=False) return { "date": report["date"], "type": "weekly_report_delivery",- Confidence
- 88% confidence
- Finding
- The code invokes an external program, `openclaw`, to send a Telegram broadcast using message content and recipient targets derived from local state. Although `subprocess.run()` is used with a list rather than a shell, this still grants the skill an external execution and data exfiltration capability that can transmit garden data to arbitrary configured recipients.
