Skip to main content
Mallory
← Back to News
ai-platform-securityai-enabled-threat-activitydata-exfiltration-methodpackage-repository-poisoning

MCP Security Gaps Expose AI Agents to Prompt Injection and Supply-Chain Abuse

Emerging Technology Risk · 18 sources · Updated 4mo ago · First seen Mar 19, 2026

MCP Security Gaps Expose AI Agents to Prompt Injection and Supply-Chain Abuse

Security reporting and research warned that the Model Context Protocol (MCP) has opened a new attack surface for enterprise AI agents, allowing malicious content delivered through context windows, documentation, support tickets, GitHub issues, or untrusted MCP servers to trigger unauthorized actions without compromising the underlying model. Reported examples included WhatsApp data exfiltration, leakage of private repository data, abuse of a Supabase Cursor agent through crafted support tickets, and CVE-2025-6514, a high-severity OS command-injection flaw that could enable remote code execution via untrusted MCP servers.

A separate proof-of-concept targeting Andrew Ng’s Context Hub showed how poisoned API documentation served through an MCP server could silently steer coding agents into adding fake or malicious dependencies to generated projects, highlighting a software supply-chain risk in community-authored documentation pipelines. Across the coverage, researchers and vendors said perimeter controls and AI gateways are not enough because attackers or insiders can interact directly with MCP services; they urged organizations to treat MCP connectivity as privileged access, sanitize all context inputs, enforce policy and approval checks at the MCP server, restrict agent network and data access, and adopt zero-trust execution controls with auditable action receipts.

Why it matters

Impact assessment

MCP-connected enterprise AI agents are exposed to a high-impact trust-boundary and supply-chain risk that can drive unauthorized actions, sensitive data exfiltration, credential theft, and in some cases remote code execution. The affected population includes organizations using Microsoft 365 Copilot, Copilot Studio, Azure AI Foundry, Cursor-like coding agents, and any internal or third-party MCP servers, with exposure spanning finance, software development, cloud operations, and regulated data environments.

Supporting details

  • Scope is broad, not niche: MCP is described as a de facto standard and rapidly growing integration layer for enterprise AI agents.
  • Affected products and environments named in the reporting:
    • Microsoft 365 Copilot
    • Copilot Studio
    • Azure AI Foundry
    • Cursor editor and coding agents
    • GitHub MCP server integrations
    • Third-party MCP servers and community MCP tooling
  • Impact types documented across references:
    • Sensitive business data exfiltration, including invoice records and private repository contents
    • Credential theft, including AWS credentials and Kubernetes configuration data
    • Unauthorized external sharing and hidden outbound transmissions
    • Potential software supply-chain compromise through insertion of fake or malicious dependencies
    • Potential remote code execution via OS command injection
    • Operational and reputational damage from agent misuse under legitimate identities
  • Known exploitation and demonstrations in the wild or realistic proof-of-concept scenarios include:
    • Microsoft’s poisoned tool-description exfiltration scenario against enterprise agents
    • Invariant Labs’ 2025 tool-poisoning proof of concept that exfiltrated a private SSH key from Cursor
    • GitHub issue-based agent hijacking that leaked private repository data
    • WhatsApp history exposure via a malicious MCP server rug-pull demonstration
    • Supabase Cursor agent abuse through crafted support tickets
    • Mitiga’s fake interview repository attack that stole cloud credentials and performed reconnaissance in under two minutes
  • Severity is elevated by the fact that actions can appear legitimate because agents operate with approved tools, valid user permissions, and normal API paths.
  • Exposure is especially serious where agents have write access, terminal access, cloud credentials, business-system access, or autonomous multi-step execution enabled.
New surface, new adversariesTrack how attackers are adapting to this technology.
Track this risk
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

12 events · Mar 18, 2026 – Jul 23, 2026
  1. Jul 23, 20264mo ago

    Trojanized Nx npm packages abused AI coding agents to steal secrets

    In August 2025, attackers compromised @nx npm packages so they could detect installed AI coding agents, instruct them to search for secrets, and exfiltrate the results to public GitHub repositories. Kaspersky said the incident exposed thousands of secrets across hundreds of organizations.

    Real-world attacks on corporate AI agents | Kaspersky official blog
  2. Jun 30, 20265mo ago

    Microsoft described poisoned MCP tool metadata attack on enterprise AI agents

    Microsoft reported an attack pattern in which a trusted third-party MCP server's tool metadata is silently modified so an enterprise AI agent exfiltrates sensitive invoice data during a routine supplier query. The company said the technique builds on methods first disclosed by Invariant Labs in April 2025 and has been observed in 2026, framing it as an agentic supply-chain and tool-misuse risk.

    Securing AI agents: When AI tools move from reading to acting | Microsoft Security Blog
  3. Jun 25, 20265mo ago

    Akamai detailed security changes and new risks in upcoming MCP 2026-07-28 spec

    Akamai Technologies reported that the upcoming MCP 2026-07-28 specification will redesign the protocol for enterprise-scale, cloud-native deployments while addressing long-standing weaknesses such as stateful initialization and server-initiated prompts. The report said the update mandates OAuth 2.1 but also introduces new attack surfaces including client-state manipulation, malicious _meta object injection, header/body mismatches, sensitive data exposure in HTTP headers, XSS in MCP Apps, and a 'hit-and-run' denial-of-service technique.

    Model Context Protocol overhaul introduces new security challenges for developers | brief | SC Media
  4. Jun 19, 20265mo ago

    Mitiga disclosed poisoned coding-test AI agent credential-theft attack

    Mitiga reported that a fake software developer interview repository used hidden instructions in files such as CLAUDE.md, .cursor/rules, README.md, and MCP configuration to manipulate a Cursor-based AI coding agent into stealing AWS and Kubernetes credentials, enumerating infrastructure, and exfiltrating results. The attack relied on terminal access, MCP tools, and auto-run being enabled, and highlighted the risk of persistent cloud access through stolen long-lived CI/CD credentials.

    How a Poisoned Coding Test Turned an AI Agent Into an Attacker
  5. Jun 18, 20265mo ago

    CurXecute attack and CVE-2025-54135 highlighted in MCP risk reporting

    BankInfoSecurity cited CurXecute and CVE-2025-54135 as examples of MCP-related risk, describing how untrusted repository files and hidden AI configuration files could trigger malicious command execution or credential theft through AI coding workflows. This is a separate attack example from the Context Hub documentation-poisoning PoC already in the timeline.

    How to Reduce the Model Context Protocol Attack Surface
  6. Mar 25, 20268mo ago

    Researcher published Context Hub documentation poisoning findings

    The Register reports that researcher Mickey Shmueli published a proof of concept showing that malicious documentation merged into Andrew Ng's Context Hub could cause AI coding agents to insert fake or malicious dependencies into generated projects.

    Documentation can contain malicious instructions for agents • The Register
  7. Mar 23, 20268mo ago

    PoC repository for Context Hub supply-chain attack was published

    A GitHub repository documenting a proof of concept for silent dependency injection through poisoned Context Hub documentation was published, describing 240 isolated Docker runs against the MCP-based documentation pipeline.

    GitHub - mickmicksh/chub-supply-chain-poc: Silent dependency injection through AI documentation pipelines. 240 isolated Docker runs proving Context Hub's zero-sanitization MCP server lets poisoned docs compromise developer projects without warning. · GitHub
  8. Mar 18, 20269mo ago

    JFrog disclosed CVE-2025-6514 affecting MCP server interactions

    SC Media says JFrog disclosed CVE-2025-6514 in 2025, an OS command-injection flaw with a CVSS score of 9.6 that could enable remote code execution via untrusted MCP servers.

    MCP is the backdoor your zero-trust architecture forgot to close | perspective | SC Media
  9. Mar 18, 20269mo ago

    Supabase Cursor agent was abused through malicious support tickets in 2025

    According to SC Media, attackers in 2025 abused Supabase's Cursor agent using malicious support tickets, demonstrating indirect prompt injection through operational support channels.

    MCP is the backdoor your zero-trust architecture forgot to close | perspective | SC Media
  10. Mar 18, 20269mo ago

    Private repository data leakage via GitHub issues was reported in 2025

    SC Media references a 2025 incident where GitHub issue content was used to leak private repository data through agent workflows, showing how untrusted context could expose sensitive information.

    MCP is the backdoor your zero-trust architecture forgot to close | perspective | SC Media
  11. Mar 18, 20269mo ago

    Invariant Labs demonstrated WhatsApp data exfiltration via MCP in 2025

    SC Media cites a 2025 incident in which Invariant Labs demonstrated WhatsApp data exfiltration through MCP-related agent context manipulation, illustrating the emerging attack surface.

    MCP is the backdoor your zero-trust architecture forgot to close | perspective | SC Media
  12. Mar 18, 20269mo ago

    Anthropic introduced the Model Context Protocol

    The SC Media commentary says Anthropic introduced the Model Context Protocol in late 2024, establishing the integration layer later adopted across agentic AI platforms.

    MCP is the backdoor your zero-trust architecture forgot to close | perspective | SC Media
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Organizations

1 linked
Supabase
Do you run this?Follow how adversaries are adapting to this technology, and where it touches your stack today.
Track This Risk
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.