{"id":554067,"date":"2026-07-22T13:20:08","date_gmt":"2026-07-22T13:20:08","guid":{"rendered":"https:\/\/www.newsbeep.com\/il\/554067\/"},"modified":"2026-07-22T13:20:08","modified_gmt":"2026-07-22T13:20:08","slug":"anthropic-details-how-it-contains-claude-across-web-code-and-cowork","status":"publish","type":"post","link":"https:\/\/www.newsbeep.com\/il\/554067\/","title":{"rendered":"Anthropic Details How It Contains Claude Across Web, Code, and Cowork"},"content":{"rendered":"<p>Anthropic recently detailed the <a href=\"https:\/\/www.anthropic.com\/engineering\/how-we-contain-claude\" rel=\"nofollow noopener\" target=\"_blank\">containment architectures it uses for Claude<\/a> across its web, developer, and desktop products. It argues that agent safety depends on placing deterministic limits on an agent\u2019s filesystem, network, and execution environment rather than depending solely on permission prompts or model-level safeguards. Most notably, it examines failures at trust boundaries and along permitted egress paths that led Anthropic to revise those designs.<\/p>\n<p>The company frames agent risk as a combination of user misuse, model misbehaviour, and attacks delivered through files, tools, or network-accessible content. Anthropic\u2019s central argument is that model controls such as classifiers, system prompts, and training can influence behaviour but cannot guarantee it. Instead, environmental controls set the hard boundary on what an agent can access or transmit.<\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.infoq.com\/news\/2026\/07\/anthropic-claude-containment\/news\/2026\/07\/anthropic-claude-containment\/en\/resources\/1Anthropic-Image-1-1784707512259.png\" style=\"width: 1920px; height: 1080px;\" rel=\"share\"\/><br \/>&#13;<br \/>\nAnthropic distinguishes between the probabilistic model, its execution environment, and external content that can influence it. (<a href=\"https:\/\/www.anthropic.com\/engineering\/how-we-contain-claude\" rel=\"nofollow noopener\" target=\"_blank\">source<\/a>)<\/p>\n<p>For example, code execution in &#8220;claude.ai&#8221; runs in an ephemeral <a href=\"https:\/\/gvisor.dev\/\" rel=\"nofollow noopener\" target=\"_blank\">gVisor<\/a> container on isolated infrastructure, with no access to the user\u2019s local filesystem. Claude Code, by contrast, operates on developers\u2019 machines and initially relied on per-action approval for writes, shell commands, and network access. Anthropic says users approved roughly 93% of those prompts, reducing the practical value of continuous human review. It subsequently added an OS-level sandbox, using Seatbelt on macOS and <a href=\"https:\/\/github.com\/containers\/bubblewrap\" rel=\"nofollow noopener\" target=\"_blank\">bubblewrap<\/a> on Linux, that permits writes within the workspace while denying network access by default. The company reports an 84% reduction in permission prompts.<\/p>\n<p>In one of the incidents mentioned, Anthropic received reports of Claude Code vulnerabilities where project-local content was parsed before a user accepted the folder-trust prompt. In one case, a repository\u2019s .claude\/settings.json file defined a hook that could run at startup. The remediation was to defer parsing and execution of project-local configuration until after the trust decision.<\/p>\n<p>A controlled red-team test illustrated the limits of relying on approvals or classifiers to infer intent. In the exercise, a phishing attack led an employee to give Claude Code a plausible-looking instruction to retrieve AWS credentials and send them to an external destination. Anthropic says Claude carried out the exfiltration in 24 of 25 attempts. The exercise showed that controls such as filesystem isolation and outbound-network restrictions must block credential theft even when a request appears authorised, whether it comes from a user, a model mistake, or malicious tool output.<\/p>\n<p>Claude Cowork uses a stronger boundary because its target users are less likely to assess shell commands safely. Anthropic\u2019s original design ran the agent in a full virtual machine with only a selected workspace mounted from the host and credentials retained in the host keychain. Anthropic later moved the agent loop to the host to improve reliability, while code execution remained isolated in the VM.<\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.infoq.com\/news\/2026\/07\/anthropic-claude-containment\/news\/2026\/07\/anthropic-claude-containment\/en\/resources\/1Anthropic-Image-2-1784707512259.png\" style=\"width: 1920px; height: 1080px;\" rel=\"share\"\/><br \/>&#13;<br \/>\nClaude Cowork\u2019s initial full-VM design and its later host-loop architecture. (<a href=\"https:\/\/www.anthropic.com\/engineering\/how-we-contain-claude\" rel=\"nofollow noopener\" target=\"_blank\">source<\/a>)<\/p>\n<p>The Cowork design nevertheless exposed an important limitation of domain allowlists. Anthropic describes a third-party disclosure in which a malicious file caused Claude to upload workspace files to an attacker-controlled account through Anthropic\u2019s own Files API. Because api.anthropic.com was allowlisted, the destination check passed.<\/p>\n<p>Anthropic changed the design to use a proxy inside the VM that accepts only the VM\u2019s provisioned session token and blocks relevant server-side-fetch headers. The lesson is that an allowlisted domain is not simply a trusted destination. It grants access to every function reachable through it.<\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.infoq.com\/news\/2026\/07\/anthropic-claude-containment\/news\/2026\/07\/anthropic-claude-containment\/en\/resources\/1Anthropic-Image-3-1784707512259.png\" style=\"width: 1920px; height: 1080px;\" rel=\"share\"\/><br \/>&#13;<br \/>\nA domain allowlist permitted exfiltration through Anthropic\u2019s Files API; the revised proxy restricts requests to the VM\u2019s provisioned token. (<a href=\"https:\/\/www.anthropic.com\/engineering\/how-we-contain-claude\" rel=\"nofollow noopener\" target=\"_blank\">source<\/a>)<\/p>\n<p>The authors argue that containment should reflect how much meaningful oversight a user can provide, and caution that agent security cannot depend solely on recognising harmful intent. Instead, the surrounding environment must limit the damage an unsafe action can cause.<\/p>\n","protected":false},"excerpt":{"rendered":"Anthropic recently detailed the containment architectures it uses for Claude across its web, developer, and desktop products. It&hellip;\n","protected":false},"author":2,"featured_media":554068,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[26434,345,21758,62830,251519,7389,114,3891,85,46,11066,140],"class_list":["post-554067","post","type-post","status-publish","format-standard","has-post-thumbnail","category-business","tag-agents","tag-ai","tag-ai-architecture","tag-ai-security","tag-anthropic-claude-containment","tag-architecture-design","tag-business","tag-claude","tag-il","tag-israel","tag-ml-data-engineering","tag-security"],"_links":{"self":[{"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/posts\/554067","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/comments?post=554067"}],"version-history":[{"count":0,"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/posts\/554067\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/media\/554068"}],"wp:attachment":[{"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/media?parent=554067"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/categories?post=554067"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/tags?post=554067"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}