How we contain Claude across products
Anthropic now documents its exact sandboxing stack per product, so engineers can assess, adopt or copy these isolation techniques rather than guess how Claude's defenses work.
Anthropic has published a detailed explanation of how it stops its Claude AI from accessing things it shouldn't, files, credentials, the wider network. Claude.ai uses one isolation tool called gVisor; Claude Code uses different tools on Mac and Linux; Claude Cowork runs inside a full virtual machine. The document also admits past security mistakes, including one file-theft loophole.
Anthropic is publishing its sandboxing architecture for Claude.ai, Claude Code and Cowork, including weaknesses it found late such as a file exfiltration route via api.anthropic.com/v1/files. For buyers of AI coding tools, this level of security disclosure is becoming a differentiator. Companies building agent products face pressure to match it, and Anthropic's open-source sandbox-runtime tool offers a ready-made option.
Anthropic's post details layered isolation: gVisor for Claude.ai; Seatbelt on macOS and Bubblewrap on Linux for Claude Code; and full VMs via Apple's Virtualization framework and Windows HCS for Cowork. The core principle is keeping credentials out of the sandbox so exfiltration is structurally blocked. It discloses a previously missed exfiltration vector via api.anthropic.com/v1/files. Simon Willison notes the open-source srt (Anthropic Sandbox Runtime) is now mature enough to evaluate.