tool.shellwithoutapproval

May 8, 2026 ยท View on GitHub

Flags agent manifests that expose shell-capable tools without an approval flag.

Why It Matters

Shell tools can read files, mutate the working tree, call networks, and run deploy commands. They should be restricted or explicitly approved.

Review

Bad:

{"tools": [{"name": "shell", "shell": "bash"}]}

Good:

{"tools": [{"name": "shell", "shell": "bash", "approval_required": true}]}

Framework Note

The rule matches literal shell-capable tool names and fields in supported agent manifest files.