Claude Cowork prompt injection risk

Anthropic says prompt injection risk in Cowork is non-zero, so the question is what an injected task can reach. The answer depends on Owner settings, connector approvals, the VM egress boundary and the patched Claude Desktop version.

On this page

Can an injected Claude Cowork task be contained?

Cowork is available on Pro, Max, Ultra, Team and Enterprise plans, and Anthropic's Help Center describes prompt injection risk in Cowork as non-zero. No setting removes that risk entirely. A security reviewer deciding whether Cowork can read local files, browse the web and use connectors safely should treat every control below as a way to shrink what an injected task can reach, not as a guarantee that injection will fail. The Help Center's own guidance points the same way: avoid pointing Cowork at sensitive files, and limit web access to trusted sources.

Start with the settings that define reach. Owners decide whether Cowork is on for the organization at all, and whether web search is available to Cowork and Chat. Members must approve write-capable connector tools for each task unless an Owner enables Always allow for connector tools, which is off by default, so keep that default unless there is a documented reason to change it. Note that egress controls on the Cowork VM do not cover web fetch, web search or MCP connectors, including Claude in Chrome, so a network allowlist alone does not bound what a connector can send. For each connector in scope, ask which tools can write, which can send data outside the organization, and who approves each call.

Then confirm patch level on every managed fleet. Anthropic publishes Cowork and Claude Desktop vulnerabilities as GitHub security advisories, and GHSA-v234-4jrq-mgg6 (high, CVSS 8.5) describes a compromised or prompt-injected agent writing a file into a Cowork folder that ran commands on macOS when opened from Claude Desktop versions from 1.1.3918 before 1.15962.0. A file-planting path like this is exactly where injection turns into code execution, so verify that every endpoint runs the fixed release. Ask Anthropic for the current Claude Cowork Desktop Security Architecture Overview before approval, and record the residual risks it names as accepted or mitigated in your own risk register.

Prompt injection controls by plan and setting

This table compares the main controls that limit what an injected Cowork task can reach, from the VM egress setting to the auto mode classifier and monitoring events. Read each row by asking whether the control sits inside the Cowork VM, whether an Owner can change it, or whether traffic leaves that boundary entirely. The main takeaway is that the VM egress setting does not cover web fetch, web search or MCP connectors, so those paths need their own review.

ControlApplies toClassification and reader action
VM egress for shell commandsTeam and Enterprise, Cowork shell commands on the member's computerBuilt in and Owner-configurable. Confirm the egress setting and allowlist with the Owner before approving use.
Web fetch and web searchTeam and Enterprise, Cowork and ChatOutside the VM boundary. Owners can turn off web search for Cowork and Chat.
MCP connectors, including Claude in ChromeTeam and Enterprise, connector trafficOutside the VM boundary. VM egress rules do not apply, so review each connector's data path.
Always allow for connector toolsTeam and Enterprise, write-capable connector toolsOwner-configurable and off by default. Members approve each write action per task unless an Owner enables it.
Auto mode classifierCowork tool calls where auto mode blocks an actionBuilt in. Blocks are reported, but confirm which tool calls the classifier evaluates in your version.
tool_decision monitoring eventCowork tool calls, including classifier blocksBuilt in. Records classifier_verdict and may name a category such as data_exfiltration in classifier_category for review.
Prompt injection residual riskAll Cowork plans using local files and browsingNot available as a technical control. Anthropic says the risk is non-zero, so avoid sensitive files and limit web access to trusted sources.

How prompt injection reaches local files, the web and connectors

An injected instruction reaches Cowork through three inputs: text inside a file the agent reads, a web page it fetches, and a response returned by a connector. Any of these inputs can carry instructions that the model may treat as part of the task. Cowork uses the same agentic architecture as Claude Code inside Claude Desktop, so it reads and writes local files and runs multi-step tasks without a terminal. A document in a connected folder, a page found by search, or a ticket returned by an integration can therefore shape what the agent does next, including which files it opens and which commands it proposes.

The risk is larger than a single bad answer because the steps chain. A poisoned input can prompt one read, then a write, then a shell command, and each step looks like ordinary task progress to the user approving it. Anthropic's Help Center describes prompt injection risk in Cowork as non-zero and advises avoiding sensitive files and limiting web access to trusted sources. Treat that as the residual risk you accept by default, and decide for each team which folders, sites and connectors an agent may touch while processing untrusted content such as inbound email attachments or public web research.

Before approving a pilot, have the security team map each of the three paths to a concrete decision: which folders are connected to Cowork, whether web search is available to Cowork and Chat, and which connectors are enabled. Confirm with Anthropic which controls cover each path, because egress rules on the Cowork VM do not apply to web fetch, web search or MCP connectors. Ask your administrator to verify these settings in the admin console before the pilot starts.

Where each control stops an injected task

The diagram starts with untrusted content such as a web page, file or connector result reaching Claude during a Cowork task. Claude proposes a tool call, which must pass Owner settings and connector approval before anything runs. Shell commands then execute inside the local virtual machine, where egress controls apply, while web fetch, web search and MCP connectors take a route outside that boundary. Check the auto mode classifier verdict in the tool_decision event to see what was blocked.

Which Cowork controls apply to a tool call, and which calls bypass the VM.

Which controls limit what an injected task can reach

Anthropic says prompt injection risk in Cowork is not zero, so no single setting stops an injected instruction. The controls below each narrow a different path: what files the agent sees, which tools can write, where the VM can connect, and which tool calls the classifier stops. Read each card for what it covers and what it leaves open.

Keep sensitive files out of scope

Anthropic advises avoiding sensitive files in Cowork tasks because an injected instruction can only misuse content the agent has read. This limits what an attacker can steal or alter, but it depends on users choosing folders correctly. Check which folders staff connect to Cowork, and confirm with your admins whether a policy can restrict folder selection. Files the agent is allowed to read remain exposed to any instruction it processes.

Cowork plan and setup docs

Limit web access to trusted sources

Anthropic also advises limiting web access to trusted sources, because a page the agent reads can carry hidden instructions. Trusted-source guidance is advice to users, not an enforced allowlist for browsing. Decide which research tasks may use web content, and tell staff that content from unknown pages can steer the agent. Treat browsing as the most likely entry point for injected instructions.

Require approval for write-capable connectors

Members must approve each write-capable connector tool for every task unless an Owner turns on Always allow for connector tools, which is off by default. Per-task approval gives a person a chance to see an injected action before it writes to a connected system. Keep Always allow off for systems that hold business records, and confirm which connector tools are write-capable in your deployment, since approval does not check whether the user understood the request.

Egress controls on the Cowork VM

Shell commands run in a virtual machine on the member's computer, and the organization's network egress setting governs what that VM can reach. This limits data exfiltration from shell activity to permitted destinations. The controls do not apply to web fetch, web search, or MCP connectors, including Claude in Chrome, so an injected task can still send data through those paths. Review the egress setting and the traffic that bypasses the VM as separate items.

Network access docs

Auto mode classifier blocks

When the auto mode classifier stops a Cowork tool call, the tool_decision monitoring event records a classifier_verdict and can name a category such as data_exfiltration. This gives security teams a signal for blocked exfiltration attempts. The classifier is a detection layer that can miss an action, so it does not replace approval or egress controls. Confirm that your monitoring pipeline ingests tool_decision events before relying on them.

Cowork monitoring docs

Turn off web search for Cowork and Chat

Owners can turn off web search for Cowork and Chat, which removes one of the paths that egress controls on the VM do not cover. This narrows the channel for injected content and outbound requests from web search. It does not stop web content the user pastes or files the user opens, and it may reduce research value. Confirm the setting's location in the admin console and test that Cowork tasks behave as your policy expects.

How the auto mode classifier reports an exfiltration block

When the auto mode classifier blocks a Cowork tool call, the monitoring stream records a tool_decision event that carries a classifier_verdict. The event can also name a rule in classifier_category, and data_exfiltration is the example the vendor documents. Security operations should treat that combination as a high-priority alert: a tool call that the classifier flagged as an attempt to move data out of the environment is a signal that an injected instruction, or an unexpected model action, reached the point of trying to send data somewhere. Build the alert on the category value and the verdict together, route it to the team that owns endpoint incidents, and confirm with Anthropic's monitoring documentation which category names and verdict values your deployment will emit before you write detection logic against them.

The event does not prove that an attack happened, that the user was targeted, or that any data left the machine. A classifier verdict is a decision about one proposed tool call. It says the call was stopped, not why the model proposed it, and it does not show what the agent read earlier in the task, which web page or file supplied the instruction, or whether other tool calls in the same task went through. Treat each block as the start of a triage: pull the task context, the connector or web source involved, and any approvals that were granted, and avoid closing the alert on the verdict alone. Also ask whether the same user has repeated blocks, since repetition across tasks is a stronger indicator than a single event.

A block is only as useful as the pipeline that collects it. The classifier stops the call on the endpoint, but the record reaches your SIEM only if the monitoring export is enabled, the events are not dropped by a collector or filter, and someone has tested that a sample block appears with its verdict and category intact. Confirm these points before relying on the signal: which Claude Desktop and Cowork versions emit the event, how long your pipeline retains it, and whether the classifier fields survive parsing. Because monitoring does not stop an attack that the classifier misses, pair this alert with the network egress and approval controls described elsewhere on this page.

Gaps that remain after the built-in controls

Anthropic's controls narrow what an injected task can reach, but several paths sit outside them. The cards below cover the gaps a reviewer should close with organization policy, folder layout and monitoring before approving Cowork for staff who handle sensitive files or browse the web.

Egress controls stop at the VM

Network egress controls on the Cowork VM do not apply to web fetch, web search or MCP connectors, including Claude in Chrome. An injected instruction can therefore send data out through a path the VM allowlist never sees. Confirm which connectors your members can add, restrict the ones that reach external sites, and ask Anthropic whether your Owners can turn off web search for Cowork and Chat.

Team and Enterprise settings

Task folders outside central deletion

Cowork keeps local task data in folders on each computer, and admins cannot centrally delete them. Anything an agent read or wrote during a task may remain after the work ends, including material an injected instruction touched. Ask Anthropic for the exact local paths and retention behavior for your version, and set a written rule for which folders members may connect to Cowork.

Detection relies on the classifier

The auto mode classifier is the main signal that blocks a suspicious tool call, and it can record a data_exfiltration category in the tool_decision event. A classifier verdict is not a guarantee that every injected action is caught. Forward tool decision events from OpenTelemetry into your SIEM, alert on blocked exfiltration verdicts, and review repeated blocks by user.

Cowork monitoring docs

Patch lag on managed Macs

GHSA-v234-4jrq-mgg6 is rated high with a CVSS score of 8.5. It describes an agent writing a file into a Cowork folder that ran commands on macOS when opened from Claude Desktop, in versions from 1.1.3918 before 1.15962.0. Fleets that lag behind the patched release stay exposed even when the advisory is public. Check the installed Claude Desktop version on every Mac and set a deadline for updates.

Read the advisory

Sensitive files on the same machine

Anthropic advises avoiding sensitive files with Cowork, because prompt injection risk is not zero. A member's computer often holds credentials, customer exports and source code next to ordinary documents. Keep regulated data and secrets in separate folders that are not connected to Cowork, and tell members which folders are off limits.

Write approvals and standing permissions

Members must approve write-capable connector tools for each task unless an Owner enables Always allow for connector tools, which is off by default. Standing approval lets an injected instruction act on a connected system without a human seeing the call. Keep Always allow off for systems that hold business records, and require per-task approval for any connector that can write.

How the risk changes by Owner settings and data type

Cowork is on by default for Team and Enterprise organizations, so a new rollout starts with the agent available to every member who has a plan that includes it. At the default settings, members must approve write-capable connector tools for each task, because Always allow for connector tools is off by default. That approval step is the main human checkpoint, but it depends on members reading each request before they click. Anthropic's Help Center still says prompt injection risk in Cowork is non-zero, so the defaults reduce exposure without removing it.

  • Cowork on by default: every eligible member can start tasks on their own computer until an Owner changes the setting.
  • Connector approvals per task: write-capable connector actions wait for a member decision.
  • Web access still open: web search is available unless an Owner turns it off.
  • Egress controls do not cover everything: the VM egress setting does not apply to web fetch, web search or MCP connectors.

Before expanding access, confirm which Owner settings your organization has actually left at default and who receives the approval prompts.

Rollout order for prompt injection controls

This sequence closes the known build gap first, then narrows what an injected task can reach, and ends with monitoring and a pilot that proves the controls work before wider use. Each step produces a check you can record for your security review.

  1. Confirm every machine runs a patched Claude Desktop

    Start by inventorying Claude Desktop versions across all managed macOS machines. GHSA-v234-4jrq-mgg6 (high, CVSS 8.5) describes a compromised or prompt-injected agent writing a file into a Cowork folder that ran commands when the user opened it, affecting versions from 1.1.3918 before 1.15962.0. Your IT team should confirm that each machine reports 1.15962.0 or later, using your MDM inventory, and record any exceptions with a remediation owner. The step is complete when the inventory shows no affected builds. Read the advisory in the anthropics/claude-code repository before you start, because it sets the scope for your fleet.

  2. Turn off Always allow for connector tools

    Members must approve write-capable connector tools for each task unless an Owner enables Always allow for connector tools. That setting is off by default. In the Claude admin console, an Owner should confirm it is still off and that no group or workflow has enabled it outside a documented change. Then review the connectors your organization has approved, removing any that the business does not need. The step is complete when an Owner can show the setting state and the approved connector list, with a named reviewer for each connector.

  3. Decide web search and trusted source limits

    The Claude Help Center describes prompt injection risk in Cowork as non-zero and advises limiting web access to trusted sources. It also notes that egress controls on the Cowork VM do not cover web fetch, web search or MCP connectors, including Claude in Chrome. Security and business owners should decide whether web search stays on for Cowork and Chat, since Owners can turn it off for both. If it stays on, document the sources staff may rely on. The step is complete when the decision and its rationale are written into your Cowork policy and an Owner has applied the matching setting.

  4. Define folders that must stay out of Cowork

    Cowork reads and writes local files, so any folder that holds regulated, credential or confidential material is a prompt injection exposure. Work with data owners to list those locations, such as key stores, customer record exports or source repositories with secrets, and instruct staff not to connect them to Cowork tasks. Because Anthropic advises avoiding sensitive files, pair this rule with device or MDM guidance where your tooling allows it. The step is complete when the folder list is approved, communicated to the pilot group, and checked during the first device review.

  5. Send tool_decision events to your security pipeline

    When the auto mode classifier blocks a Cowork tool call, the tool_decision monitoring event records a classifier_verdict and can name a rule such as data_exfiltration in classifier_category. Have your monitoring team confirm the OpenTelemetry export is configured, then route these events into your SIEM with alerts on blocked verdicts and on data_exfiltration categories. Review the Cowork monitoring documentation to confirm which fields your collector will receive. The step is complete when test events from a pilot machine appear in the security pipeline with the expected fields.

  6. Test a benign injection in a pilot group

    Before wider rollout, run a pilot with a small group on non-production data. Illustrative example: a test document containing a harmless instruction such as asking Cowork to write a marker file outside the approved folders, plus a web page with a hidden instruction. Observe whether approval prompts appear, whether the classifier blocks anything, and whether the event reaches your pipeline. Record results and any unexpected behavior, then decide whether to adjust settings. The step is complete when the pilot report is signed off by security and the pilot group confirms the controls behaved as documented.

What a security reviewer asks to see

This table lists the evidence a reviewer should request before approving Cowork for tasks that read files, browse or use connectors. Each row names the question, the evidence to collect and where that evidence comes from, so the reviewer can check settings and versions directly rather than relying on vendor summaries.

QuestionEvidence to collectWhere it comes from
Is Cowork enabled, and is web search turned off?Screenshot or export of the Cowork toggle and the web search setting for each organization, with the date checked and the Owner who made the changeOrganization settings as an Owner, described in the Claude Help Center article on Team and Enterprise plans
Is Always allow for connector tools off?Confirmation that the setting is off, plus a list of any Owner who has turned it on and for which connectorsOwner settings for connector tools; the default is off, so any change is a deviation to explain
Which connectors and MCP servers can members reach?Current connector inventory with each tool marked read-only or write-capable, and the approval status of each write toolOrganization connector list and the Claude Desktop device policy for local MCP servers
Are all Claude Desktop installs on a version that includes the GHSA-v234-4jrq-mgg6 fix?Device inventory from your MDM showing installed Claude Desktop versions on macOS, with any machine below 1.15962.0 listed for updateThe advisory on the anthropics/claude-code repository, compared against your MDM or endpoint report
Does the monitoring pipeline record blocked exfiltration attempts?Sample tool_decision events showing classifier_verdict and classifier_category, such as a data_exfiltration block, from a test task (illustrative)Cowork monitoring event schema and your OpenTelemetry collector output
Has Anthropic's architecture review been obtained for the deployment?Copy of the Claude Cowork Desktop Security Architecture Overview, the date received and the internal reviewer who signed offAnthropic Trust Center, available on request from Anthropic

Questions buyers ask about Cowork prompt injection

Can prompt injection in Claude Cowork be fully prevented?

No. Anthropic's Claude Help Center describes prompt injection risk in Cowork as non-zero, so no configuration should be presented to leadership as eliminating it. Cowork reads local files, browses and uses connectors, which means content from an untrusted source can try to steer the agent. The practical question is which controls limit what an injected task can reach and how quickly you would notice. Ask Anthropic to confirm the current residual risk statement in writing, and ask for the Claude Cowork Desktop Security Architecture Overview from the Trust Center, which is available on request, so your reviewers can test the stated controls against your own use cases.

What does a prompt injection assessment of Cowork cost?

No public figure is available for this, so price it from a written scope. The main drivers are the number of Cowork use cases you want tested, whether connectors and web access are in scope, how many device configurations and Claude Desktop versions exist in your fleet, whether you need red teaming of agent behavior or a review of configuration only, and how much evidence you need for internal risk acceptance. Cost is typically one-time for the assessment and recurs if you want retesting after Claude Desktop updates or new connectors. Ask any provider, including DeployOpen, for a fixed-scope quote listing the systems tested, the test methods, the deliverables and the retest terms. DeployOpen agrees scope, deliverables and timelines in writing before work starts.

What can our Owners and admins control themselves to limit injection impact?

Several controls sit with your own administrators and need no outside help to set. Owners can turn Cowork off for the organization, and it is off by default for HIPAA-enabled organizations. Members must approve write-capable connector tools for each task, and the Always allow setting for connector tools is off by default, so keep it off unless there is a clear reason. Owners can also turn off web search for Cowork and Chat. Review how egress controls apply, because they do not cover web fetch, web search or MCP connectors such as Claude in Chrome. Finally, use monitoring: the tool_decision event records classifier verdicts and can name a category such as data_exfiltration, so route these events into your logging pipeline and alert on them.

When should we bring in outside help for AI agent security testing?

Bring in outside help when your internal team cannot yet show, with evidence, how an injected instruction would travel through Cowork to files, connectors and web content. DeployOpen runs security testing that includes AI systems and agents and red teaming, and it can scope a test of a defined set of Cowork workflows. Useful triggers include a plan to connect internal systems through write-capable connectors, a plan to let Cowork read regulated data, or a need for independent evidence for a risk committee. Outside testing does not replace Anthropic's controls or your own monitoring, and DeployOpen does not issue audit reports or certifications. Ask for the test method, the attack scenarios covered, and how findings map to the controls you configured.

Should Cowork be allowed to open sensitive files?

The safest default is no. Anthropic's Claude Help Center advises avoiding sensitive files and limiting web access to trusted sources, and that guidance matters most where an injected instruction could lead to data leaving the device. Decide by data class: keep regulated records, credentials and customer data out of Cowork folders unless your data protection and compliance owners have approved the specific use. Note that task folders live on each computer, and admins cannot centrally delete them, so content read into a task may persist locally. Pair any exception with the sandbox and network settings you have verified, and record the decision in your risk register so it can be revisited when Cowork changes.

How do we check for new Cowork security advisories?

Watch the anthropics/claude-code repository security advisories on GitHub, where Cowork and Claude Desktop vulnerabilities are published. Each advisory lists its severity, CVSS score and affected and patched Claude Desktop versions, so map those versions against your managed fleet inventory and set an update target. For example, GHSA-v234-4jrq-mgg6 is rated high with a CVSS score of 8.5 and describes a compromised or prompt-injected agent writing a file into a Cowork folder that ran commands on macOS for listed Claude Desktop versions before the patched release. Assign an owner to review new advisories on a fixed schedule, and confirm with Anthropic how Claude Desktop updates reach your managed devices.

How DeployOpen tests Cowork prompt injection exposure

DeployOpen approaches Claude Cowork prompt injection risk as a scoped exercise. We define which folders, connectors and web sources an agent can reach, test whether an injected instruction could use them, and hand over the findings in writing. Engagements are fixed-scope, with scope, deliverables and timelines agreed before work starts.

How we scope

  • Written scope lists which local folders, connectors, MCP servers and web sources Cowork may reach in your environment.
  • We record which plan, Claude Desktop version and organization settings apply, including whether Always allow for connector tools is enabled.
  • Scope states which controls are in the test, such as the VM egress setting, web search toggle and auto mode classifier behavior.

How we build

  • We build a controlled test workspace on a managed test device that mirrors your Claude Desktop policy and folder layout.
  • Test cases cover injected instructions delivered through documents, web pages and connector responses, with expected and observed behavior recorded.
  • We check whether monitoring events such as tool_decision record blocked or approved calls as your team would need to see them.

How we hand over

  • Deliverables include a written report of each test case, the reachable paths found and the evidence for each result.
  • Findings map to the Claude Help Center guidance on sensitive files and trusted web sources, with the specific settings to change.
  • We document the advisory status of each affected Claude Desktop version so your team can confirm the patched build on managed devices.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, so retests follow each Claude Desktop release.
  • Retainers can cover re-running the test cases after policy changes, new connectors or new published advisories.
  • Your team keeps the written scope and evidence, so reviewers and auditors can trace what was tested and when.

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.