Does Claude Cowork sandbox agent commands and limit network reach?
A security or IT reviewer deciding what Cowork may run, read and reach needs to know that Cowork runs its shell commands in a local virtual machine on the member's computer, and that the network egress setting is an organization-wide admin control on Team and Enterprise plans. Cowork is available on Pro, Max, Ultra, Team and Enterprise, but the controls in this section are set by organization owners and admins, not by individual Pro or Max accounts. On a Pro or Max account, there is no admin layer to enforce these settings, so the reviewer should treat individual accounts as outside any organization policy.
The VM and the domain allowlist cover shell commands only. With Allow network egress off, shell commands reach only anthropic.com and claude.com hosts. The presets are None, Package managers only and All domains. Network egress settings do not apply to connectors, desktop extensions, local MCP servers, web fetch or web search. Connector requests are handled outside the VM and usually pass through Anthropic's servers, so a reviewer must assess each connector and local MCP server on its own terms. Confirm with your administrator which connectors and extensions are approved before you rely on the sandbox boundary.
Within the VM, package registries such as registry.npmjs.org and github.com are download-only unless All domains is selected, which blocks publishing and git push. The Cowork network access documentation states that these download-only limits are not a security boundary and should not be relied on alone to keep data inside the VM. Plan your controls around the allowlist, connector approval, and the managed settings that govern Claude Code, and test the chosen preset against the data your staff will open in connected folders. Read the network access guide for shell commands before setting the policy.
Which sandbox and egress controls apply by plan and surface
This table compares which sandbox, egress and policy controls reach each part of a Cowork task, by plan and by HIPAA configuration. Read each row to see whether the VM, an organization setting or a managed policy covers that traffic or action. Items marked for confirmation need an answer from Anthropic before approval. The main takeaway is that the egress presets govern shell commands inside the VM, while connectors, extensions, local MCP servers and web tools need their own review.
| Control or surface | Team and Enterprise | Pro and Max | HIPAA-enabled organization |
|---|---|---|---|
| Local VM for shell commands | Shell commands run in a VM on the member's computer | Same VM model described for Cowork; confirm per-plan details | Confirm the VM path applies under the HIPAA setup before PHI use |
| Organization network egress setting | Admin sets it in Organization settings, Capabilities; applies when a session starts | No organization admin control; confirm what individual users can change | Confirm availability and default value under the HIPAA configuration |
| Domain allowlist presets (None, Package managers only, All domains) | Admin selects one preset; with egress off, only anthropic.com and claude.com hosts are reachable | Confirm which presets individual users can select | Confirm which presets are permitted; All domains widens reach |
| Download-only registries and GitHub | Registries and github.com are download-only unless All domains is selected; publish and git push are blocked | Confirm the same download-only behavior applies | Confirm; vendor docs say these limits are not a security boundary |
| Connectors | Egress settings do not apply; requests run outside the VM, usually through Anthropic's servers | Same routing expected; confirm for each connector | Confirm the data path and approval of each connector before PHI use |
| Desktop extensions | Egress settings do not apply to desktop extensions | Confirm how each extension reaches the network | Confirm extension traffic and any restriction before PHI use |
| Local MCP servers | Egress settings do not apply; this traffic bypasses the VM | Confirm the same bypass and any device-level controls | Inventory local servers on managed devices and confirm their data path |
| Web fetch and web search | Egress settings do not apply to these tools | Confirm the same scope | Confirm before relying on egress presets to limit web access |
| Claude Code managed settings | managed-settings.json or MDM policy applies to Cowork tasks; server-managed settings do not | Confirm the same delivery path on this plan | A Bash deny rule with no pattern also stops Cowork shell commands |
How the Cowork VM, egress setting and allowlist enforce limits
When a Cowork task runs on a member's computer, Claude runs its shell commands inside a virtual machine on that computer, and that VM is the enforcement point for shell traffic. Network reach for those commands is governed by the Allow network egress setting. With that setting off, shell commands can reach only anthropic.com and claude.com hosts. Your reviewers should treat that as the baseline for every Cowork deployment and confirm it in the admin console before approving the tool for a team.
On Team and Enterprise plans, an admin sets network access for the whole organization in Organization settings, then Capabilities. The Domain allowlist presets are None, Package managers only and All domains. Package managers only makes registries such as registry.npmjs.org and github.com download-only inside a task, which blocks publishing and git push. All domains removes that restriction and should be reserved for teams with a documented need. Settings apply when a session is created, so a change made today will not alter a session already running. Ask the vendor to confirm how changes propagate to members who have open sessions.
The VM covers shell commands only. Network egress settings do not apply to connectors, desktop extensions, local MCP servers, web fetch or web search, and connector requests are handled outside the VM and usually go through Anthropic's servers. The download-only limits are also not a security boundary and should not be relied on alone to keep data inside the VM. Plan controls for each path separately, and confirm with Anthropic which connectors and local MCP servers each team may use. The Anthropic Cowork network access documentation sets out these boundaries in detail.
Decisions to make before setting the Cowork network allowlist
Each Cowork network decision changes what a task can fetch, publish or reach, and several of them sit outside the VM entirely. Work through the egress preset, developer package access, connectors and local MCP servers, Claude Code managed settings and HIPAA scope together, because the network allowlist alone does not decide what Cowork can touch.
Choose the egress preset per organization
With Allow network egress off, shell commands in the Cowork VM reach only anthropic.com and claude.com hosts. Team and Enterprise admins set this for the whole organization in Organization settings under Capabilities, and it applies when a session is created. Decide whether any group needs more than the default before you change the organization-wide setting, and confirm with your admin how a change affects sessions already in progress.
Network access docsDecide on package manager access
Package Managers Only lets developer workflows read from registries such as registry.npmjs.org and github.com, but only as downloads. Publishing and git push stay blocked, so teams that need to ship code from a task should plan that step outside Cowork. Ask engineering which registries they actually install from, since every additional host is a download path you must review.
Decide whether to permit all domains
The All domains preset removes the destination limit, which also re-enables publishing and git push from inside a task. Treat it as a separate exception with a named owner and a documented business need, not a default. The network access docs state that download-only limits are not a security boundary, so do not rely on them alone to keep data inside the VM.
Approve connectors and local MCP servers
Egress settings do not apply to connectors, desktop extensions, local MCP servers, web fetch or web search. Connector requests are handled outside the VM and usually go through Anthropic's servers, so the allowlist will not stop a connected system from receiving data. Build an approved list of connectors and local MCP servers, and confirm each one's data path with the vendor.
Pair with Claude Code managed settings
Cowork runs Claude Code on the member's computer, so managed-settings.json or MDM policy applies to Cowork tasks, while server-managed settings do not. A rule that denies Bash with no pattern also stops shell commands in Cowork. Decide whether your organization wants that blanket block, a narrower pattern-based rule, or a permission mode policy, and test the result on a pilot device before rollout.
HIPAA setup docsConfirm HIPAA scope before enabling
Cowork is off by default for HIPAA-enabled organizations, and the HIPAA setup path changes which controls apply. Decide whether any Cowork use is needed in a HIPAA-enabled organization at all, and if it is, confirm with your compliance lead and the vendor which modes and settings the BAA covers before the egress preset is set. Keep the decision record with your rollout evidence.
How the sandbox answer changes by situation
A single team on a Team plan has the simplest model. Cowork is on by default for Team organizations, so the first decision is whether the Owner keeps it on at all. Network access is set once for the whole organization in Organization settings, Capabilities, and it applies when a session is created. With the Allow network egress setting off, shell commands in the VM reach only anthropic.com and claude.com hosts. The team then chooses among the Domain allowlist presets: None, Package managers only, or All domains.
- Default egress posture: Confirm the Allow network egress setting is off unless a specific need has been documented.
- Package managers only: Registries such as registry.npmjs.org are download-only, so installs work but publishing is blocked.
- All domains: This removes the download-only limit on github.com and other hosts, so git push and publishing become possible. Treat it as a separate approval.
- Single setting for everyone: Because there are no per-group controls on Team, every member of the organization shares the same egress policy.
- Connectors sit outside the VM: Connector requests and local MCP servers are not governed by these presets.
Confirm which preset the Owner has selected, whether any member's computer runs Claude Code managed settings that override behavior, and whether the team understands that download-only limits are not a security boundary.
An Enterprise organization with many groups has the same network setting at the organization level, but the rollout is more complicated because access to Cowork may differ by group. Admins can scope who uses Cowork, yet the egress preset is still organization-wide in Organization settings, Capabilities. That means a group that needs package publishing cannot get a different preset from a group that does not, unless the organization splits the work another way, such as separate devices or managed settings. Confirm the exact group-access controls available on your Enterprise plan before designing around them.
- One preset for all groups: Choose the most restrictive preset that meets the least-privileged group's needs.
- Settings apply at session creation: A change in Capabilities affects new sessions, so confirm how running sessions behave during a change window.
- Device-level controls: Claude Code managed settings delivered by managed-settings.json or MDM apply to Cowork tasks on each computer.
- Connector and local MCP review: Traffic from connectors, desktop extensions and local MCP servers bypasses the VM, so approve those separately.
- Monitoring: The tool_decision event shows the permission mode, such as default, auto or bypassPermissions, for each tool call.
Before approval, ask which groups need All domains, whether any group can use bypassPermissions, and where the tool_decision events for each group are collected.
A regulated organization using HIPAA-enabled settings starts from a different default. Cowork is off by default for HIPAA-enabled organizations, so enabling it is a deliberate decision that must follow the Cowork HIPAA setup guidance. Because Cowork runs Claude Code on the member's computer, Claude Code managed settings delivered as managed-settings.json or through MDM apply, but server-managed settings never reach Cowork tasks. Shell execution inside the VM is also constrained by how the team writes its managed rules.
- Off by default: Record who approved enabling Cowork and under which configuration.
- Managed-settings path: A rule that denies Bash with no pattern also stops shell commands in Cowork, which is a useful kill switch to test.
- Server-managed settings gap: Do not assume a policy configured in the admin console reaches the desktop VM.
- Egress presets: Prefer None or Package managers only, and avoid All domains for regulated data paths.
- Connector scope: Connectors and local MCP servers are outside the VM egress controls, so restrict them in the device policy.
Confirm with the vendor which Cowork modes are covered by the BAA under the HIPAA configuration, and test the managed-settings rules on a sample computer before rollout.
Some organizations run Claude Desktop on third-party platforms or route inference through their own gateway. Inference then goes to the chosen platform, conversations are stored locally, and fleet management runs through MDM. The egress question changes shape: the organization must establish which Anthropic endpoints remain reachable and which traffic still leaves through the VM or through connectors. Do not assume that routing inference elsewhere removes every external path from Cowork.
- Inference route: Confirm which provider receives model requests and whether the VM egress rules still apply to shell commands.
- Remaining Anthropic traffic: Ask the vendor to list the endpoints that still contact Anthropic in this configuration.
- Local storage: Task folders on each computer hold data that central tools may not delete, so plan retention on the device.
- Network allowlist: Apply the same preset discipline as other tabs, because the VM still controls shell egress.
- Connector egress: Connector traffic usually goes through Anthropic's servers, which the gateway route does not change by itself.
The Anthropic Trust Center's Cowork Desktop Security Architecture Overview, available on request, is the natural starting document for validating this path with your security team.
Where Cowork traffic goes: VM, connectors and local MCP servers
The diagram starts with a Cowork task on the member's computer. Shell commands run in the local virtual machine, and their outbound traffic passes the Allow network egress setting before reaching only the hosts on the domain allowlist. Connectors, local MCP servers, web fetch and web search take separate paths that the egress setting does not govern, and connector requests usually go through Anthropic's servers. Check each path separately when you set policy, because the VM setting covers only shell commands.
Shell commands pass through the VM egress setting, while connectors, local MCP servers and web requests take separate paths.
Rolling out the Cowork sandbox and allowlist in production
This sequence sets the organization-wide network posture for Cowork, assigns the right preset to each group, closes the paths that bypass the virtual machine, and confirms the result on managed computers. Each step ends with a check you can record as evidence before broad rollout.
Set organization network access in Capabilities
An Owner or admin opens Organization settings, then Capabilities, and sets network access for the whole organization. Leave Allow network egress off unless a documented need exists, since with it off Cowork shell commands reach only anthropic.com and claude.com hosts. Record the setting and the date it was changed in your change log. Settings apply when a session is created, so the check is that a newly started session reflects the chosen configuration, not a session that was already open.
Choose the domain allowlist preset per group
If egress is enabled, select one of the Domain allowlist presets: None, Package managers only, or All domains. Map each preset to a group whose work requires it, because a single organization-wide choice applies to everyone. Package registries such as registry.npmjs.org and github.com are download-only unless All domains is selected, so publishing and git push stay blocked. Confirm with the vendor how group-level scoping is handled on your plan, since the organization setting is the documented control. Test one session per preset with a representative task and confirm the observed reach matches the policy you wrote.
Deploy Claude Code managed settings to computers
Cowork runs Claude Code on the member's computer, so deliver managed settings through a managed-settings.json file or an MDM policy. Server-managed settings never reach Cowork tasks, so do not rely on them for this control. Add a deny rule for Bash with no pattern if your policy requires blocking shell execution entirely, and understand that this also stops Claude from running shell commands in Cowork. Verify on a test computer that a Cowork task receives the rule by attempting a shell command and confirming it is rejected, then record the file version and MDM profile identifier.
Approve connectors and local MCP servers separately
Network egress settings do not govern connectors, desktop extensions, local MCP servers, web fetch or web search. Connector requests are handled outside the VM and usually pass through Anthropic's servers, so the allowlist alone does not limit them. Review each connector and local MCP server as its own data path, approve only those with a business owner and a documented data flow, and block the rest through the admin and device policy controls. The check is an inventory that lists every approved connector and local server, with the reason each one is permitted and the data it can reach.
Enable monitoring of tool_decision events
Turn on Cowork monitoring so the tool_decision event is emitted for each tool call. Each event records whether the call was accepted or rejected, the decision source, and the permission mode, such as default, auto or bypassPermissions. Confirm that your collector receives these events from a test computer, and alert on any bypassPermissions mode or on decisions that show a rule was not enforced. Treat the event stream as the evidence that the sandbox and deny rules behaved as written, and confirm with your security team what retention applies to these events in your environment.
Re-verify the configuration after each Claude Desktop update
After any Claude Desktop update, repeat the network, managed settings and monitoring checks on a test computer before the update reaches the fleet. Anthropic publishes Cowork and Claude Desktop vulnerabilities as GitHub security advisories on the anthropics/claude-code repository, so watch that list and compare affected and patched versions against your deployed build. Keep a written record of each re-verification, including the Claude Desktop version tested, the preset in force and the test results, so the configuration can be shown to an auditor or reviewer on request.
What a security reviewer asks to see for Cowork egress and sandboxing
This table lists each control a reviewer should verify for Cowork shell commands and network reach, the evidence to request from the organization or from Anthropic, and where that evidence comes from. Read it as a request list: a control is only proven when the named evidence exists for the plan, settings and Claude Desktop version actually in use. The main takeaway is that the network setting alone does not define the boundary, so connectors, local MCP servers and tool decisions need their own evidence.
| Control | Evidence to request | Where it comes from |
|---|---|---|
| Network access setting and domain allowlist preset | Screenshot or export of the Capabilities setting showing whether Allow network egress is on and which preset (None, Package managers only or All domains) is selected | Organization settings, Capabilities, on Team and Enterprise plans |
| Session behavior after changes | Written confirmation of when a changed network setting takes effect, plus a test session started after the change showing the new behavior | Admin change log and a controlled test session; settings apply when a session is created |
| Managed settings file or MDM policy | The managed-settings.json file or MDM profile that delivers Claude Code rules to Cowork, including any rule denying Bash with no pattern | Endpoint management console and the deployed file on sample managed devices |
| Connector and local MCP server inventory | Approved connector list, desktop extensions and local MCP servers installed per device, with owners and approval dates | Admin connector settings and endpoint inventory; egress settings do not cover these paths |
| Tool decision monitoring records | Sample tool_decision events showing accepted or rejected calls, decision source and permission mode such as default, auto or bypassPermissions | Cowork monitoring pipeline, such as the OpenTelemetry export configured by the organization |
| Cowork Desktop Security Architecture Overview | Current copy of the architecture document, reviewed against the organization's own network and device controls | Anthropic Trust Center, available on request |
Questions reviewers ask about Cowork permissions and network allowlists
Is Claude Cowork turned on by default for Team and Enterprise organizations?
Yes. Cowork is on by default for Team and Enterprise organizations, and an Owner can turn it off. Organizations with HIPAA enabled start with Cowork off by default. Reviewers should confirm the current default in their own admin console before rollout, since the setting is controlled by the organization's Owner and can change with product updates. Check the Claude Help Center article on Cowork for Team and Enterprise plans and record the setting as part of the approval evidence.
Does a HIPAA-enabled organization get Cowork by default?
No. For HIPAA-enabled organizations, Cowork is off by default, so an administrator has to enable it deliberately. Enabling it is only one step. The HIPAA setup documentation describes additional configuration, including how Claude Code managed settings apply to Cowork tasks. Before turning Cowork on for a HIPAA-enabled organization, confirm with the vendor which Cowork modes and features the Business Associate Agreement covers and which features are turned off under the HIPAA configuration. See the HIPAA setup guide for Cowork and the separate HIPAA page in this pillar.
Does the network allowlist stop data exfiltration from a Cowork task?
No, not on its own. With Allow network egress off, Cowork shell commands reach only anthropic.com and claude.com hosts, and the domain allowlist presets are None, Package managers only and All domains. The Cowork network access documentation says the download-only limits on package registries and GitHub are not a security boundary and should not be relied on alone to keep data inside the VM. Treat the allowlist as one layer. Pair it with restricted connectors, approved folders, managed settings that deny unneeded tools, and monitoring of tool decisions. Ask the vendor for the Desktop Security Architecture Overview, which is available on request through the Trust Center.
Why are package registries and GitHub download-only inside a Cowork task?
Under the default presets, registries such as registry.npmjs.org and github.com are download-only inside a Cowork task unless All domains is selected. That means a task can fetch dependencies but cannot publish a package or run git push. The restriction reduces the chance that an agent sends code or files outside the organization, which is useful for teams that want an agent to install and test software without pushing results. Reviewers should note that this is a usability and risk-reduction setting, not a full boundary. Selecting All domains removes the publishing block, so the decision belongs in the organization's written network policy and should be reviewed when a team asks for it.
Do network egress settings cover connectors and local MCP servers?
No. The egress setting applies to Cowork shell commands in the virtual machine. It does not apply to connectors, desktop extensions, local MCP servers, web fetch or web search. Connector requests are handled outside the VM and usually pass through Anthropic's servers, so an organization cannot rely on the domain allowlist to control them. Control connector use separately through admin approval of connectors, device policy that restricts local MCP servers, and review of which tools are enabled. Confirm the current behavior for each connector type with the vendor, because connectors and their routing may change.
How much effort does the configuration take, and what drives it?
The effort depends on the number of groups that need different settings, the number of connectors to approve, the number of devices that must receive managed settings, and whether the organization is HIPAA-enabled. Access by group is available on Enterprise, so a larger number of groups means more policy decisions to make and document. Each connector adds an approval decision and a data-flow review. Device rollout through MDM adds packaging and testing work. The vendor's documentation does not give a fixed effort figure for these steps, so ask the vendor and any partner for a written estimate based on your own group structure, connector list and device fleet before scheduling work.
Can our own team configure this, or do we need outside help?
Many organizations can make the core settings themselves, since the organization toggles, network preset and connector approvals are set in the admin console. Outside help is more useful for the parts that need written evidence and fleet-wide consistency, such as mapping group policy to least privilege, writing managed-settings files and MDM profiles, testing that denied tools stay denied, and documenting the decisions for an assessment. DeployOpen plans, implements, hardens and documents self-hosted open-source platforms in the client's own infrastructure, and runs security testing of AI systems and agents. DeployOpen does not configure third-party vendor SaaS on your behalf as a certified provider, and it does not issue audit reports or certifications. Scope is agreed in writing before work starts, and a quote follows from that scope.
How DeployOpen helps you test and govern Cowork's sandbox
DeployOpen approaches Claude Cowork sandbox, permissions and network allowlist as a fixed-scope engagement inside your own environment. We map what Cowork may run, read and reach on your managed fleet, then test those boundaries and hand over the settings, evidence and runbooks your security team needs to approve or restrict the tool.
How we scope
- Agree in writing which Cowork settings, device groups and network egress presets are in scope before work starts
- Record the organization network egress setting, domain allowlist preset and admin owner for each Cowork use case
- Identify connectors, desktop extensions and local MCP servers that fall outside the VM and need separate review
How we build
- Configure Claude Code managed settings and device policy for Cowork tasks in your own deployment tooling
- Test whether download-only package registry and GitHub limits block publishing and git push in a controlled task
- Run adversarial tests against folder access and shell commands to confirm what an agent can read and reach
How we hand over
- Deliver a written test report with reproducible steps, observed behavior and remediation owners for each finding
- Document the sandbox, permission and allowlist configuration so your team can reproduce and audit it
- Provide monitoring checks that confirm tool_decision events show accepted or rejected calls and permission modes
How we support
- Re-test sandbox and allowlist settings after Claude Desktop updates or new Cowork features are released
- Ongoing support, upgrades and continuous testing are available as a retainer under a separate written scope
- Confirm current plan, edition and network behavior with Anthropic and your own environment before each review

