Claude Cowork sandbox, permissions and network allowlist

Cowork runs shell commands in a virtual machine on the member's computer, with an organization-wide network egress setting and three domain allowlist presets. Connectors and local MCP servers sit outside that boundary.

On this page

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 surfaceTeam and EnterprisePro and MaxHIPAA-enabled organization
Local VM for shell commandsShell commands run in a VM on the member's computerSame VM model described for Cowork; confirm per-plan detailsConfirm the VM path applies under the HIPAA setup before PHI use
Organization network egress settingAdmin sets it in Organization settings, Capabilities; applies when a session startsNo organization admin control; confirm what individual users can changeConfirm 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 reachableConfirm which presets individual users can selectConfirm which presets are permitted; All domains widens reach
Download-only registries and GitHubRegistries and github.com are download-only unless All domains is selected; publish and git push are blockedConfirm the same download-only behavior appliesConfirm; vendor docs say these limits are not a security boundary
ConnectorsEgress settings do not apply; requests run outside the VM, usually through Anthropic's serversSame routing expected; confirm for each connectorConfirm the data path and approval of each connector before PHI use
Desktop extensionsEgress settings do not apply to desktop extensionsConfirm how each extension reaches the networkConfirm extension traffic and any restriction before PHI use
Local MCP serversEgress settings do not apply; this traffic bypasses the VMConfirm the same bypass and any device-level controlsInventory local servers on managed devices and confirm their data path
Web fetch and web searchEgress settings do not apply to these toolsConfirm the same scopeConfirm before relying on egress presets to limit web access
Claude Code managed settingsmanaged-settings.json or MDM policy applies to Cowork tasks; server-managed settings do notConfirm the same delivery path on this planA 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 docs

Decide 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 docs

Confirm 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.

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.

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

  6. 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.

ControlEvidence to requestWhere it comes from
Network access setting and domain allowlist presetScreenshot or export of the Capabilities setting showing whether Allow network egress is on and which preset (None, Package managers only or All domains) is selectedOrganization settings, Capabilities, on Team and Enterprise plans
Session behavior after changesWritten confirmation of when a changed network setting takes effect, plus a test session started after the change showing the new behaviorAdmin change log and a controlled test session; settings apply when a session is created
Managed settings file or MDM policyThe managed-settings.json file or MDM profile that delivers Claude Code rules to Cowork, including any rule denying Bash with no patternEndpoint management console and the deployed file on sample managed devices
Connector and local MCP server inventoryApproved connector list, desktop extensions and local MCP servers installed per device, with owners and approval datesAdmin connector settings and endpoint inventory; egress settings do not cover these paths
Tool decision monitoring recordsSample tool_decision events showing accepted or rejected calls, decision source and permission mode such as default, auto or bypassPermissionsCowork monitoring pipeline, such as the OpenTelemetry export configured by the organization
Cowork Desktop Security Architecture OverviewCurrent copy of the architecture document, reviewed against the organization's own network and device controlsAnthropic 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

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.