Tool Parameter Abuse
- Category
- Tool Misuse
- Confidence
- 70% confidence
- Finding
Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
- Content
bash # BAD git push --force # overwrites whatever is on the remote, including others' commits git rebase origin/main # on main, develop or a branch a colleague also pushes to # GOOD: own branch only, refuses if the remote moved since your last fetch
