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





