Tool Parameter Abuse
- Category
- Tool Misuse
- Confidence
- 92% confidence
- Finding
The skill presents a forceful recursive deletion command using an absolute path without safeguards. In an agent setting, if the repository path is user-supplied, templated incorrectly, or empty due to variable expansion failure, the command can be abused to delete arbitrary directories on the host.
- Content
bash # 清理并重新生成 # Clean and regenerate rm -rf /path/to/repo/repodata createrepo /path/to/repo # 验证元数据
