Context-Inappropriate Capability
Medium
- Confidence
- 91% confidence
- Finding
- The debug routine executes multiple shell commands (`openclaw plugins list | grep feishu`, `openclaw status`, and `tail ... | grep ...`) via `execSync`. Although the commands are mostly hardcoded and there is no obvious direct user-controlled injection in this file, invoking a shell for diagnostics increases attack surface through shell interpretation, PATH/alias hijacking, and unintended command execution in compromised environments.
