Tool Parameter Abuse
- Category
- Tool Misuse
- Confidence
- 90% 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
md **When to use:** Only needed in environments where the `PreToolUse` hook is not installed. When `rafter agent init` has been run, all shell commands are validated automatically — you do not need to route commands through this. **Risk levels:** - **Critical** (blocked): rm -rf /, fork bombs, dd to /dev - **High** (approval required): sudo rm, chmod 777, curl | bash - **Medium** (approval on moderate+): sudo, chmod, kill -9 - **Low** (allowed): npm install, git commit, ls
