subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
channel, target = _get_openclaw_config() if channel and target: try: subprocess.run( [ openclaw_bin, "message",- Confidence
- 81% confidence
- Finding
- The daemon reads `channel` and `target` from `~/.awp/openclaw.json` and transmits notification content to an external messaging CLI automatically. While not shell-injection prone, it creates an exfiltration path because local state, wallet status, worknet data, and announcement content can be pushed to a destination controlled by whoever can modify that config file.
