AI news for business · checked November 24, 2026

On 23 November 2026 Anthropic published a guide for security and technical leaders: four risks, two protective layers and concrete settings for Claude Code.

In many companies coding agents already write code and open pull requests. That increases risks such as prompt injection and privilege abuse. On 23 November 2026 Anthropic published "The enterprise guide to securing coding agents". We summarize the documented key points; figures come from the guide and in part from studies funded by Anthropic.

LOL.MARKETING / CONNECTING INTELLIGENCE

The essential answer

Anthropic recommends two layers: a judgment layer of alignment training, prompt injection probes and the auto mode classifier, and a fixed boundary layer of permission rules, command analysis, hooks, sandbox and egress allowlist. For most enterprises Anthropic recommends making the sandbox mandatory for local sessions and enforcing rules centrally through managed settings.

01 / FIT

A good fit when

  • IT security and platform teams that want to roll out Claude Code widely on Team or Enterprise plans.

02 / LIMITS

Not the first choice when

  • Individuals who only use Claude Code occasionally for their own self-contained projects.

What the guide covers

The guide is aimed at organizations on Claude Team and Enterprise; according to Anthropic, the same principles apply to access via AWS, Google Cloud or Microsoft Azure. As an example of the benefit it cites Salesforce, which by its own account reported 79 percent more merged pull requests per developer and 5 percent fewer incidents after standardizing on Claude Code. The first chapters scope the risk, the following ones show how to bound it.

The four risks

Anthropic names four agent-specific risks: leaked credentials and privilege abuse, unvetted dependencies and extensions, data exfiltration and prompt injection. According to the guide, injected instructions can come from issue trackers, PR comments, dependency READMEs and changelogs, fetched web pages, MCP tool responses or comments in source code.

The judgment layer

According to the guide, auto mode is now the default for interactive sessions on every plan; headless claude -p, the Agent SDK and the HIPAA configuration still start in manual mode. A classifier checks most proposed actions against the user's stated intent, and prompt injection probes check incoming tool results. In a study by Trajectory Labs paid for by Anthropic, none of 720 indirect injection attempts against Claude Code in auto mode succeeded, according to the guide. This layer is probabilistic, however, and can be beaten.

Setting fixed boundaries

The second layer is deterministic. Claude Code checks deny, then ask, then allow rules; deny rules from managed settings cannot be overridden. Every Bash command is split into parts and checked individually. Hooks such as PreToolUse and ConfigChange block actions or loosened settings; with allowManagedHooksOnly only the platform team's hooks run. The sandbox restricts commands to the project folder and approved destinations, runs on macOS, Linux and WSL2 and should be combined with failIfUnavailable.

Our checklist

Set deny rules for credential paths in managed settings, make the sandbox mandatory for local sessions and set an egress allowlist. Set hooks to block on failure, because according to the guide a failed hook otherwise lets the call through. Work with untrusted content belongs in cloud sessions, which according to Anthropic are not available with zero data retention, the HIPAA configuration or customer-managed keys. This is our summary, not a requirement from Anthropic.

For a manageable pilot, we recommend a single repository and clearly bounded tasks with suitable test data. Record which files the agent may read or change, which network destinations it needs and who reviews the results. Then check separately whether the rules take effect and whether useful work remains possible within those boundaries. A denied action is a reason to investigate, rather than an automatic reason to loosen a protective rule.

Keep a record of the tested configuration alongside the results. Assign responsibility for changes to rules and hooks, and for stopping a session. Repeat the relevant checks when new tools, extensions or data sources are introduced. This makes it possible to trace which boundaries applied during each test. These organizational steps are our assessment for adoption; they do not guarantee protection against prompt injection or other unintended actions.

Keep it verifiable

Primary sources

The next sensible step

Are the coding agents in your team properly bounded?

Eight steps from a general interest in AI to a clearer decision for your business.

Start AI System Check
FreeProvider-neutralNo credentials