Anthropic Details How It Contains Claude Across Web, Code, and Cowork

Eran Stiller ยท rss ยท 2026-07-22 source โ†— Reader ๐Ÿ–ฅ๏ธ

Agent SecurityClaude CodeDeterministic Egress ContainmentGuardrailsHuman-in-the-LoopLethal TrifectaSandboxing
Anthropic argues, and illustrates through three product-specific incident/fix pairs (Claude Code's pre-trust-decision config parsing, a red-team credential-exfiltration test, and Cowork's Files-API allowlist bypass), that agent safety must rest on deterministic environmental boundaries โ€” sandboxed execution, default-deny networking, and function-scoped egress โ€” because model-level controls and human approval prompts can influence but never guarantee an agent's behavior.

practical ยท journalistic exposition summarizing a primary engineering source (Anthropic's own blog post), structured as a series of incident narratives each paired with a design lesson and remediation โ€” Secondary reporting, not original research โ€” InfoQ is condensing and quoting Anthropic's 'How we contain Claude' engineering post. The evidentiary base (incident details, statistics like the 93%/84%/24-of-25 figures) is entirely Anthropic's own self-reported account of its own security work.

Structure

PartRole
Framing: three sources of agent risk, two kinds of controlthesis statement
claude.ai code execution: ephemeral gVisor containerbaseline case โ€” containment working as designed
Claude Code: from per-action approval to OS-level sandboxcase 1 โ€” approval fatigue and its fix
Claude Code: settings.json hook parsed before trust decisioncase 2 โ€” a trust-boundary ordering bug
Red-team phishing test: 24 of 25 credential exfiltrationscase 3 โ€” approval/intent-inference does not survive social engineering
Claude Cowork: full-VM design vs. host-loop redesigncase 4 โ€” the strongest boundary, then a reliability trade-off
Cowork: domain allowlist bypassed via Anthropic's own Files APIcase 5 โ€” allowlists are not destination-scoped, they're function-scoped
Closing argument: oversight capacity, not intent-recognitionconclusion

Key terms

Propositions

Arguments

Agent safety must rest on deterministic environmental controls (sandboxed execution, default-deny networking, function-scoped egress) rather than on permission prompts or model-level judgments of intent. strength: high
Explicit premises:
Implicit premises:
Inferences:
A network allowlist must be scoped to specific functions or capabilities, not merely to hostnames, because an allowed domain grants access to everything reachable through it. strength: medium
Explicit premises:
Implicit premises:
Inferences:

Narratives

Questions addressed

Gaps

Closes gaps elsewhere

Related documents