17 November 2026
The blank cheque: when agents work without asking
Every approval prompt costs time. So people switch them off. Why that is convenient, and what gets lost.
One switch for everything
All major coding agents ask by default before doing risky things: running a command, changing a file outside the project, going online. And all of them have a switch that turns this off:
- Claude Code:
--dangerously-skip-permissionsor thebypassPermissionsmode - Codex CLI:
--dangerously-bypass-approvals-and-sandbox, or--yolofor short - Gemini CLI:
--yoloor--approval-mode yolo
The names say it all. For Codex, according to its documentation, the option turns off both approvals and the sandbox. For Gemini CLI, the sandbox is off by default anyway.
There is also a quieter way: in Claude Code's settings, a single "Bash" entry in the allow list is enough. The agent may then run any shell command without asking, whatever its instructions say.
Why this is dangerous
Two things come together. First, agents make mistakes: an rm -rf in the wrong folder, a git push --force to the wrong branch. With an approval prompt, someone notices. Without one, it has already happened.
Second, agents read foreign content: issues, web pages, documentation, tool responses. If an injected instruction sits in there, the agent carries it out with its full rights. Without an approval prompt, nobody notices until the damage is done.
Loops and overnight jobs are especially risky. Nobody is watching there anyway, and the switch often sits in a start script nobody looks at any more.
What helps instead
In its public configuration for Claude Code, the security firm Trail of Bits recommends a clear principle: if you want fewer prompts, use a sandbox instead of simply switching prompts off. Add targeted permissions:
{
"permissions": {
"allow": ["Bash(npm test)", "Bash(git status)"],
"ask": ["Bash(git push *)"],
"deny": ["Read(./.env)"]
}
}Allowed is what is frequent and harmless. Asked is what has an effect outside. Denied is what is secret. Everything else asks as usual.
If an agent really has to run unattended, do it in an isolated environment: a container without credentials, without access to your home directory and with limited network.
Check it yourself in three steps
- Search your repository for the switches:
grep -rn "skip-permissions\|bypassPermissions\|--yolo\|dangerously-bypass" . - Open
.claude/settings.jsonand check the allow list: does it containBashorBash(*)without restriction? - Go through every start script for loops and scheduled jobs. Where a switch is needed, the environment must be isolated.
What A2A Check looks at
Among other things, A2A Check reports when a permission allows every shell command without asking and when an add-on program may run everything without asking. Each finding says why it is risky and how to fix it.
Find out where your agents hold a blank cheque: a2a-check.com