Anthropic's Coding Agent Security Guide Distinguishes Probabilistic Judgment from Deterministic Boundaries
Anthropic's enterprise security guide for coding agents proposes a two-layer defense model: judgment-based controls (alignment training, prompt injection probes, auto mode classifiers) that catch novel attacks probabilistically, and fixed boundary controls (permission rules, sandboxing, egress allowlists) that deterministically limit blast radius. The guide argues that locking policy centrally is what converts written security requirements into enforced controls, and that the judgment layer alone cannot bound severity.
Coding agents write code and open pull requests at many organizations already; for some, they also review, test, and merge that work. The security question shifts from whether agents are used to how their risk is bounded once adoption scales. Anthropic's enterprise guide, published November 23, 2026, addresses this by proposing a two-layer model that separates controls deciding whether something looks wrong from controls limiting what any action can reach.
The distinction matters because these layers fail differently. The judgment layer—alignment training, prompt injection probes, and the auto mode classifier—is good at catching novel attacks but is probabilistic, meaning each control has a chance of being beaten. The fixed boundary layer—permission rules, command analysis, hooks, sandboxing, and egress allowlists—can be made deterministic and sets an agent's blast radius, but it only blocks what you tell it to block. Neither layer alone is sufficient: judgment without boundaries cannot limit severity, and boundaries without judgment cannot catch what you did not anticipate.
Anthropic provides a concrete empirical comparison within the judgment layer. In a controlled study published in August 2026 with 1,053 paid testers blind to the specific behavior under test, human reviewers caught 13.6% of dangerous commands while auto mode blocked 89% of the same commands. Separately, testing without production safeguards showed current Claude models refused 81% to 85% of malicious requests while completing 98% to 100% of dual-use and benign ones. These are vendor-reported figures, not independently replicated results, but they illustrate the guide's central claim: automated classification catches more dangerous actions than human approval does in practice.