Tool Parameter Abuse
- Category
- Tool Misuse
- Confidence
- 93% confidence
- Finding
The skill includes a ready-to-run shell script with git rm commands that delete repository files. Even though presented as an example after confirmation, embedding concrete destructive commands in the skill increases the risk that an agent generates and executes file deletions based on imperfect static analysis, leading to code loss or workflow disruption.
- Content
md # 回滚:git checkout backup-before-cleanup set -e git rm src/components/OldModal.tsx git rm src/utils/legacy.ts git rm src/pages/TestPage.tsx git rm src/styles/old-theme.scss
