os.system() or os exec-family call
High
- Category
- Dangerous Code Execution
- Content
persona = "回复要简短、干脆,不带句号,用词口语化,像哥们一样聊天,语气轻松。" # Kill any existing instances os.system("pkill -9 -f wechat-auto-reply/monitor_main.py") script_path = os.path.expanduser("~/.openclaw/workspace/skills/wechat-auto-reply/monitor_main.py") cmd = ["python3", script_path, "--targets", targets, "--persona", persona, "--interval", "60"]- Confidence
- 91% confidence
- Finding
- The /api/start endpoint invokes a destructive pkill command that can terminate matching processes on the host, and the dashboard exposes this capability over HTTP without any authentication or authorization checks. In skill context, this is more dangerous because any reachable client can trigger host-level process management, creating denial-of-service risk against the monitored service or other processes matching the pattern.
