In late December 2025, a single operator pointed Claude Code at 10 Mexican government agencies and a financial institution, walked out with 150 GB of sensitive data, and watched Claude flag a SCADA interface as a high-value target without ever being asked to look for OT systems.
SecurityWeek’s reporting confirmed the model independently identified a vNode SCADA interface during reconnaissance and recommended it as a priority target. Reporting described Claude-assisted reconnaissance and target prioritization, illustrating how AI agents can automate significant portions of an intrusion workflow.
Is Claude safe to use? Claude is a commercially mature model with meaningful safety features that govern model behavior, while the deploying organization remains responsible for the surrounding environment. Your enterprise controls must keep pace with Claude’s expanding agentic capabilities.
The primary Claude AI security risks your team needs to evaluate span data leakage and Shadow AI exposure from personal accounts, MCP and agentic exposure through autonomous tool calls, insecure code and vulnerable dependencies from Claude Code, prompt injection attacks hidden in documents and web content, Claude Desktop client-side compromise through zero-click RCE and malvertising, and regulatory exposure under the EU AI Act, GDPR, and HIPAA.
Key takeaways
- Claude’s enterprise risk grows as the system gains access to more tools, internal data, user permissions, and business processes.
- Published testing, disclosed vulnerabilities in Claude-related tooling, and reported attacks document abuse in real operating environments.
- Autonomous agents and unsanctioned Claude use can act with inherited credentials outside approved monitoring channels, leaving security teams with limited visibility.
- Enterprise guardrails should inspect prompts and responses, protect sensitive data, control agent actions, and provide auditable oversight aligned with major security and privacy frameworks.
What Claude AI security risks look like in the enterprise
Claude AI security risks in the enterprise cluster into three buckets: technical vulnerabilities in the model and its tooling, operational exposures created by agentic access to your systems, and compliance gaps that fall to you as the deploying organization. If you’re already running point on AI evaluations, you’ve seen most of these patterns before in other SaaS rollouts, with the added complication that Claude can execute multi-step tasks and invoke connected tools when configured with agentic capabilities and appropriate permissions.
Claude Code operates in developer terminals, where it reads files, runs shell commands, uses Git, and connects to MCP servers with the developer’s own permissions. The Model Context Protocol (MCP) connects Claude to external tools, databases, and APIs, so a wrong command or prompt injection can reach secrets or trigger actions across that entire surface. Documented real-world exploitation shows how that expanding agentic functionality can affect enterprise systems.
You Can’t Secure What You Can’t See
WitnessAI gives you network-level visibility into every AI interaction across employees, models, apps, and agents. One platform. No blind spots.
Explore the PlatformDocumented vulnerabilities and real-world attacks against Claude
Public research, vulnerability disclosures, and threat reports document distinct risks involving Claude models, Claude-related software, and malicious use of Claude in cyber operations.. The record below pulls the specific incidents worth keeping on your radar.
- Prompt injection failure rates: Anthropic’s published testing notes that even a 1% attack success rate represents meaningful risk and that no browser agent is immune, with the Opus 4.6 system card showing safeguards bringing attack success to 10% at 1 attempt and 64.3% at 200 attempts. The UK National Cyber Security Center has noted that LLMs don’t reliably distinguish data from instructions, which makes prompt injection very difficult to mitigate through model training alone.
- Critical CVEs across Claude’s ecosystem: CVE-2025-49596 (CVSS 9.4) exposed a remote-code-execution path in Anthropic’s MCP Inspector, and a separate zero-click RCE in Claude Desktop Extensions (CVSS 10.0) could be triggered via a malicious Google Calendar event when a user delegated calendar management to Claude. A further Claude Desktop CVE in versions 1.2581.0 through 1.4304.0 verified only the hostname in known_hosts without comparing host keys, allowing man-in-the-middle attacks via ARP spoofing, rogue Wi-Fi, or DNS poisoning.
- Claude Desktop malvertising and client-side compromise: Huntress documented a “FakeAgent” campaign in which a fake installation page served a malicious ClaudeDesktop.exe that deployed SectopRAT across 29 affected organizations, and a separate campaign used a trojanized Claude-Pro-windows-x64.zip archive with a PlugX loader. Users should download Claude only from claude.com/download and avoid links in emails, ads, or “Pro” versions offered outside official channels.
- Confirmed nation-state and criminal exploitation: In mid-September 2025, Anthropic detected espionage involving a Chinese state-sponsored group using Claude against roughly 30 global targets, with AI performing 80% to 90% of the campaign while human operators made only 4 to 6 critical decisions. Anthropic’s August 2025 threat report also disclosed a Claude Code extortion campaign targeting at least 17 organizations across healthcare, emergency services, and government, with ransom demands exceeding $500,000 and Claude handling reconnaissance, credential harvesting, data selection, and ransom-note generation.
- China’s backdoor alert over Claude Code: On July 8, 2026, China’s National Vulnerability Database warned that Claude Code’s monitoring mechanism in versions 2.1.91–2.1.196 could transmit sensitive information, including geographic location and identity-related identifiers, to remote servers without user consent. Anthropic responded that the mechanism was an experimental anti-abuse measure to combat account sales and model distillation and said it would be removed, but Alibaba still banned Claude Code internally beginning July 10, 2026, underscoring that agentic tooling with broad system access can create disclosure risks beyond the model’s trained behavior.
These incidents show that Claude AI security risks aren’t theoretical — they span the full stack from model-level prompt injection to desktop RCE, agentic misuse, and third-party access failures, and your enterprise controls need to address each layer rather than rely on model safeguards alone.
Runtime AI Threats Need Runtime Defense.
WitnessAI’s enterprise AI firewall delivers bidirectional runtime defense, blocking prompt injections, jailbreaks, and data exfiltration before they reach your models or your customers.
Explore ProtectWhy agentic capabilities and Shadow AI amplify every Claude AI security risk
Agentic tool access and unsanctioned Claude usage each widen your exposure in different ways, and they compound when developers run personal accounts against enterprise data. Together, these patterns create significant exposure in enterprise Claude deployments, particularly where agentic tools operate outside established governance processes.
1. Agentic AI turns Claude into an operational system
Connected tools make Claude an operational system rather than a contained chatbot, and that shift changes the attack surface. A chatbot’s main path runs from user input to model output, while an agent also uses memory stores, connected tools, and the external environment. Adversaries can target each component and move across the system instead of following a single path.
Tool access accounts for much of that broader attack surface, and MCP is the primary way Claude gains access to tools. The Cloud Security Alliance characterizes MCP’s risks as required by default and rejects the view that they arise only from poor implementation. OX Security introduced this framing, and the CSA adopted it in its May 4, 2026 research note. Censys counted 12,520 services that are internet-accessible MCP endpoints, the majority unauthenticated. The CSA further notes that agents can chain multiple tools into sequences never explicitly approved by humans.
Snyk’s ToxicSkills study, published February 5, 2026, scanned 3,984 agent skills and found that 36.82% contained security flaws, 13.4% had a critical issue, and 76 carried confirmed malicious payloads. At the time of publication, 8 malicious skills were still live on ClawHub. Trail of Bits researchers demonstrated that multi-agent systems create opportunities for privilege escalation when high-privilege agents trust unvalidated agent outputs.
2. Shadow Claude usage creates the governance gap
Shadow Claude usage can occur outside sanctioned deployments and may evade existing monitoring, particularly when security controls lack visibility into native applications, developer tools, or AI interaction content.
Security teams may focus on sanctioned deployments while unauthorized AI use continues elsewhere in the enterprise. This Shadow Claude use creates a separate blind spot from the tool-access risks above.
IBM’s 2026 Cost of Data Breach report found that one in four malicious breaches were AI-enabled, with Shadow AI involved in 43% of incidents and associated breach costs rising to $5.39 million. Personal Claude subscriptions used for enterprise work can create governance gaps when agents inherit developer credentials or interact with corporate systems outside approved monitoring and access-control processes.
Your Employees Use 5x More AI Tools Than You Think
WitnessAI scans your entire network to catalog every AI app, agent, and conversation. No endpoint clients or browser extensions are required.
See How Observe WorksClaude Code security risks: source code, data retention, and approval fatigue
Claude Code introduces a distinct risk tier because it operates in the software development environment rather than a chat interface, with reach that extends across the full developer toolchain. If your security team hasn’t yet mapped where developer-side Claude usage touches your source repositories, this is the section where the gaps show up.
Three risks drive most Claude Code incidents in production as discussed below.
Source code exposure across the developer toolchain
Claude Code can interact with local files, repositories, shell commands, and connected tools. Organizations should verify whether existing DLP and endpoint controls provide sufficient coverage of these workflows. The agent reads files, runs shell commands, uses Git, and connects to MCP servers with the developer’s own permissions. Aurascape groups these risks into three categories: code leaving the machine for a cloud model, execution occurring with developer permissions, and the absence of a provable record of what code went where.
MCP connections carry credentials beyond the repository, and Claude Code’s zero-data-retention documentation states that ZDR doesn’t cover data processed by third-party tools, MCP servers, or external integrations. That’s a material gap for teams relying on ZDR as a complete data-governance solution. Claude Code can store session information locally. Organizations should verify current storage locations, retention settings, and endpoint protections for their deployment.
Source code doesn’t just leak outward. Claude Code also writes code back into the repository, and research from Checkmarx documents that generated code may contain insecure authentication, injection flaws, exposed secrets, unsafe dependency choices, or weak input validation. An agent that accepts a suggested package, creates a build script, or configures an integration may introduce outdated, malicious, or unvetted dependencies into a repository if appropriate review and security checks are not applied, widening the supply-chain attack surface.
Anthropic has shipped tooling to address this: Claude Code includes a /security-review slash command with a GitHub Action that checks for SQL injection, XSS, authentication flaws, insecure data handling, and dependency vulnerabilities, though Anthropic’s help center notes these reviews “should complement, not replace” existing practices. Agent-generated changes should be treated as untrusted input to the SDLC, because “a sanctioned account writing a vulnerable dependency is still a sanctioned account.”
Data retention and training exposure by account type
The account a developer uses determines whether Claude Code retains source code, and the difference between consumer and commercial terms is where most Shadow AI incidents start. A sanctioned enterprise account running under commercial terms, including Team, Enterprise, the Claude API, Bedrock, or Vertex, means Anthropic doesn’t train on the code and retains it for 30 days by default, with a zero-data-retention option available per organization on Claude for Enterprise.
A personal Free, Pro, or Max account carries consumer terms. Anthropic’s privacy center states that for consumer products, including Claude Code on those accounts, Anthropic may use chats and coding sessions to improve Claude if the user chooses to allow it, with data retained for five years when used for that purpose. When a developer uses a personal account on a work machine, the organization’s source code can flow into training data with no enterprise governance applied — precisely the Shadow AI scenario security teams struggle to detect.
Anthropic’s permission-mode documentation lists three modes that further shape what leaves the machine: default (reads only, for reviewing every action manually), auto (everything, with background safety checks), and bypassPermissions (everything, for isolated containers and VMs only). Anthropic recommends using sandboxing and permission rules together for defense in depth, and sandbox restrictions still apply even if a prompt injection bypasses Claude’s decision-making.
Approval fatigue undermines human-in-the-loop controls
Repeated approval prompts can create approval fatigue, reducing the effectiveness of human review as a security control. Aurascape cites Anthropic telemetry showing users approved the vast majority of permission prompts and paid less attention as they encountered more of them.
A prompt firing on every shell command trains the developer to approve without reading; standing allow rules added to reduce the noise quietly expand what the agent can do without review. With permissive execution settings, malicious instructions embedded in files or other untrusted content may influence agent actions without an individual approval prompt, depending on sandbox and permission controls.
An Anthropic red-team exercise documented by Aurascape illustrates the practical consequence: a routine-looking prompt told Claude Code to read local cloud credentials and send them to an external endpoint, and the reported red-team exercise demonstrated a potential credential-exfiltration path when agent permissions and execution controls were insufficient.
Aurascape’s conclusion is consistent with the OWASP position: an approval model that depends on a tired human reading every prompt doesn’t hold as a security boundary, and enforcement must sit in the execution path.
Do You Know What Your Developers Are Sharing with AI Coding Tools?
WitnessAI monitors every AI dev tool on your network and stops proprietary code and secrets from leaving your environment.
See WitnessAI For DevelopersBuilding runtime AI risk management for Claude deployments
Build runtime AI risk management for Claude by extending governance beyond model-provider safeguards to the application harness, connected tools, and operating environment. Align technical controls with relevant NIST and OWASP guidance while assessing applicable obligations under the EU AI Act, GDPR, and HIPAA.
As Anthropic’s trustworthy agents research notes, a well-trained model can still be exploited through “a poorly configured harness, an overly permissive tool, or an exposed environment,” and Anthropic’s Managed Agents documentation confirms that “Anthropic’s security boundary stops at the sandbox.”
That boundary matters because the tools you already own weren’t built for it. Traditional SSE, CASB, DLP, and SWG controls provide important security functions, but their visibility into AI prompts, responses, native applications, and agentic workflows varies by product and configuration. Enterprises should assess where AI-native controls are needed to address remaining gaps.
Closing these gaps requires runtime controls positioned at appropriate enforcement points, including network-level integrations and, where necessary, application or agent tool-level controls. These controls can complement model-provider safeguards by evaluating AI interactions and enforcing enterprise policies. The subsections below walk through framework alignment, compliance, and the specific controls your runtime layer should cover.
Framework alignment starts with NIST and OWASP
NIST and OWASP both frame prompt-injection defense and agent authorization as the designer’s responsibility, and runtime risk management for Claude should map directly to their guidance.
NIST AI 100-2e2025 directs application designers to “design systems with the assumption that prompt injection attacks are possible if a model is exposed to untrusted input sources,” while OWASP’s LLM Top 10 recommends human-in-the-loop checkpoints for high-stakes agent actions and emphasizes that authorization should be enforced in downstream systems rather than by the LLM itself.
Compliance gaps the runtime layer has to close
Organizations deploying Claude must assess their responsibilities under applicable AI, privacy, and healthcare regulations. Runtime security and governance controls can support data protection, monitoring, and auditability, but compliance also depends on organizational processes, contractual arrangements, and regulatory requirements.
- EU AI Act: Deploying Claude for high-risk use cases (e.g., HR screening, credit assessment) triggers conformity assessments and related obligations, with full high-risk system requirements applying from August 2, 2026.
- GDPR: A Data Protection Impact Assessment is required for processing likely to pose a high risk to individuals’ rights and freedoms.
- HIPAA: Covered entities and business associates should confirm that an appropriate business associate agreement is in place, that the specific Claude service and features are covered, and that required safeguards are configured before processing protected health information.
Enterprise controls your runtime layer should cover
An enterprise Claude security program should address five complementary control areas, with responsibilities distributed across the model provider, application operator, enterprise security team, and connected systems:
- Input security – Defenses against prompt injection before models process untrusted instructions.
- Data protection – Runtime tokenization or redaction of sensitive information (PII, credentials, source code) before it leaves internal boundaries.
- Runtime defense – Bidirectional inspection of both prompts and responses; risk can enter or exit the system.
- Agentic controls – Agentic controls – Tool-level authorization, identity and workload attribution, MCP visibility, and pre-execution policy enforcement where supported. Non-human service identities should also be accounted for.
- Audit & compliance – Tamper-resistant, attributable logs of relevant AI interactions and agent actions, with coverage, retention, and access controls defined by the organization’s requirements.
WitnessAI covers these five areas with three modules: Observe discovers AI applications, agents, and MCP servers across the network; Control enforces intent-based policies with allow, warn, block, and route actions, and its Agentic Control capability (launched June 17, 2026) provides one control plane for every agent, tool, and MCP server, including a live MCP Catalog, allow-listing, and a full audit trail of agent actions; and Protect delivers bidirectional runtime defense with real-time data redaction and tokenization.
WitnessAI’s published materials describe an AI application catalog exceeding 4,000 applications, enterprise deployments across multiple countries, and support for more than 100 LLM types through applicable product integrations. Deployment options include integration with existing network security infrastructure.
Securing Claude with the right controls in place
As organizations move Claude from pilot to production, they should evaluate AI-specific visibility, intent-based governance, runtime protection, and auditability alongside model-provider safeguards. The appropriate controls depend on whether Claude is used through chat interfaces, coding tools, APIs, or autonomous agents.
WitnessAI brings AI visibility, governance, intent-based policy enforcement, and runtime protection together to help enterprises adopt AI securely across supported employee and agentic workflows. Book a demo to see how the platform applies to your Claude deployment.