Anthropic's Auto Mode Blocked 89% of Dangerous Commands — People Caught 14%
Auto mode blocked 89% of dangerous Claude Code commands versus 14% for human reviewers, but one in ten still passed. Lydia Hallie explains the safeguards.
- AuthorPriya Raman
- ChannelAI & Emerging Interfaces
- Filed
- Read4 min

- August study: auto mode blocked 89% of dangerous commands; humans caught about 14%; one in ten passed auto mode.
- /doctor prompt audit identifies unnecessary, space-wasting or confusing CLAUDE.md instructions.
- Exit code 2 sends Claude back to fix failed tests; exit code 1 marks the task complete.
- Projects, in beta on Pro, Max and Ultra plans, delegates task-list items to separate sessions with coordinator and thread models such as Fable 52 and Opus 5.5.
An August study found Anthropic's auto mode in Claude Code blocked 89% of dangerous commands, while humans supervising sessions caught only about 14% of them. Roughly one in ten dangerous commands still slipped past the classifier. Anthropic engineer Lydia Hallie presented the numbers and her team's workflow in a discussion hosted by Nate Herk.
The gap cuts both ways. Automation beats unaided vigilance by a wide margin, yet a ten-percent failure rate means delegation without layered safeguards remains a gamble.
What belongs in CLAUDE.md?
Claude Code reads a project's CLAUDE.md file for instructions and context. Earlier workflows pushed developers toward watching a session, correcting it, and stacking emphatic rules into the file. Hallie says that instinct backfires with models as strong as Claude Opus 5.5. Unnecessary instructions can send the model off track, inflate tool calls, and worsen results.
Her guidance is narrow: keep the file for information Claude cannot infer from the code itself — a routing map to a business wiki, brand assets, financial files. AGENTS.md serves the same purpose. A built-in audit helps trim the fat:
/doctor prompt audit
The audit flags instructions the model no longer needs, material that wastes space, and content that actively confuses the model. Run it against the model you actually use.
How do commands get approved?
Auto mode is the default in both the terminal and the Claude Code desktop app. A separate classifier checks each command, allows routine actions such as tests and installs, and stops for approval when uncertain. By default it trusts only the current folder and repository — a push to a separate deployment repository returns to you. Plain-English settings tell the classifier which repositories, buckets and domains to trust, and auto mode setup drafts those entries from your project and recent sessions.
Deny rules sit above auto mode as hard blocks. Hallie's criterion is blunt: can you undo the mistake? You can reverse bad code. You cannot un-read an API key or un-wipe unsaved work. The same logic applies to knowledge work — you can rewrite a draft, but not recall a sent email. A permission rule can block access to .env outright, rather than trusting a prompt instruction.
One caveat. A deny rule inspects the command, not everything that command does. A compromised test script could still read .env or SSH keys and ship them to an unfamiliar server. Sandboxes close part of that hole: /sandbox limits which files a command can open and which websites it can reach. Cloud sessions run longer jobs on a fresh machine with a copy of your code but none of your keys, and they survive a closed laptop. Deny rules committed to the project carry into future cloud sessions. But a pushed commit or a connector message is permanent even when the machine is disposable.
What verifies the results?
Checks let Claude assess its own output mid-task. A request to migrate a login system to a new API could leave the old API in place, move only new logins, or log everyone out — a check catches the bad outcome before the run ends. Checks can be programmatic or descriptive: verify claims carry source links, confirm numbers match a spreadsheet, take and inspect screenshots. Hallie prefers seeing the actual output, because she wasn't present when it was produced.
Hooks automate the checks that must run every time — formatting after each edit, tests after each task, the full suite before completion. Exit codes matter here. Most tools return exit code 1 on a failed test, but Claude Code marks the task complete with that code. Exit code 2 sends Claude back to fix the failure. Get it wrong and failures ship silently.
Can sessions delegate to each other?
Projects, now in beta on Pro, Max and Ultra plans, lets a main session take a task list, spawn a separate session per item, and inspect results. The coordinator delegates rather than writes code. Project settings split roles: Fable 52 could coordinate, Hallie suggests, while Opus 5.5 executes in the worker threads. She identifies Fable as suited to deciding what to do and judging returned work.
On Hallie's team, a separate Claude session reviews every pull request first, and another group of agents double-checks each bug it finds. Humans review risky changes; documentation and similar small changes merge once checks pass.
None of these layers is complete alone. Deny rules miss what commands do, auto mode misses one command in ten, and cloud sessions persist what you push. Stack them, audit them, and expect the next model generation to change which instructions still earn their place.
Source: geeky-gadgets.com
More from Priya Raman
Show full bio
Market editor covering technology and product news in Product and interaction design, design systems at Interface Wire.
150 articles