Tool Parameter Abuse
- Category
- Tool Misuse
- Confidence
- 89% confidence
- Finding
The skill recommends a direct
rm ~/.openclaw/agents/main/sessions/<orphan>.jsonlpattern using a placeholder derived from scan output, without showing any validation, quoting, or path confinement controls. If an orphan filename is attacker-influenced or improperly sanitized elsewhere, this can enable deletion of unintended files via path traversal, globbing, or shell metacharacter abuse.- Content
在用户确认后删除孤儿文件:
bash rm ~/.openclaw/agents/main/sessions/<orphan>.jsonlB. 再处理过期会话(谨慎)
