Arizona State University's MCPSEC Detects Indirect Prompt Injection Risks in MCP Servers Using Metadata Alone
Key Takeaways
- •MCPSEC identified indirect prompt injection risks in MCP servers using only registration metadata, achieving 98.9% recall across 20 servers and 177 tools without invoking any tools.
- •92.3% of the examined MCP tools apply no sanitization between external data retrieved from APIs or the web and the LLM context, indicating a systemic default rather than isolated implementation lapses.
- •Human evaluators judged approximately 54% of tools across the 20 production MCP servers vulnerable to indirect prompt injection, and 12 of the 20 tested servers are officially maintained by their respective vendors.
- •The metadata-only screening cost an average of $1.65 per server and outperformed an agentic baseline requiring active tool invocation, which achieved only 85.3% recall at higher cost and operational exposure.
- •Over 40 CVEs were filed against MCP servers in 2026, including a CVSS 9.8 authentication bypass reportedly under active exploitation, while cited Cisco research indicates 88% of organizations reported confirmed or suspected AI agent security incidents in the past year.

A new research paper from Arizona State University introduces MCPSEC, a prototype that identifies indirect prompt injection vulnerabilities in Model Context Protocol (MCP) servers using only the tool descriptions exposed at registration — no source code, no credentials, and no live tool interaction required. According to the MCPSEC paper, evaluation against 20 widely deployed MCP servers covering 177 tools produced a 98.9% recall rate, flagging 94 of 95 tools in agreement with human evaluators' vulnerability judgments.
The study's most consequential finding sits upstream of any detection methodology: 92.3% of the examined MCP tools apply no sanitization between external data retrieved from APIs or the web and the LLM context those tools populate. Servers treat valid API responses as inherently safe model input, creating a structural pipeline that carries adversarial content from the wild directly into an AI agent's instruction stream. Because the sample spans developer platforms, communication apps, search providers, and browser-automation tooling — including servers maintained officially by their own vendors — the finding describes the default condition of the tool-data boundary in the sampled ecosystem rather than an isolated implementation lapse.
MCP is Anthropic's open protocol for connecting AI agents to external tools and data sources, and it is positioned for production agentic deployments. The servers tested included major platforms: GitHub, GitLab, Slack, Google Workspace, Atlassian, Notion, Discord (via Klavis), Supabase, Sentry, Terraform, Firecrawl, Skyvern, Playwright, Chrome DevTools, Browserbase, Brave Search, Exa Search, Tavily, arXiv, and Context7. Twelve of the 20 are officially maintained by their respective service providers.
How No-Box Analysis Detects Indirect Prompt Injection Risks in MCP Servers
As defined by the MCPSEC paper, no-box vulnerability analysis operates entirely within the metadata surface that MCP servers expose during the tool registration handshake. There is no black-box fuzzing, no grey-box instrumentation, and no access to server internals — only the structured tool descriptions, parameter schemas, and capability declarations that a server advertises to any connecting agent. This is the same metadata visible to any developer browsing an MCP registry. That accessibility is central to the method's practical significance: an organization can triage a candidate server before issuing it credentials, connecting an agent, or extending any runtime trust, and it can repeat the check across an entire inventory without vendor cooperation.
The core mechanism is what the researchers call a "Theory of Compromise" (ToC): a testable exploitation hypothesis derived from metadata alone. Given a tool description stating that it fetches arbitrary web content and returns it to the agent, a ToC would formalize the claim that an attacker-controlled page could embed instructions overriding the agent's original task. The ToC is not proof of exploitability; it is a prioritized hypothesis that directs downstream validation effort.
Why MCP Server Descriptions Are Part of the Attack Surface
Indirect prompt injection differs from direct injection in that the malicious payload does not come from the user. It arrives through data the agent retrieves autonomously: a web page, a code comment, an email body, or a database record. When a tool description signals that it will fetch external content and pass it verbatim to the LLM, that description simultaneously serves as a capability advertisement and an attack surface disclosure. The description alone can indicate a potential trust-boundary risk that requires runtime validation before any tool call is made.
Trail of Bits noted in its own analysis that attackers can weaponize MCP tool descriptions as a prompt injection vector before any tool is even invoked, calling this a violation of core MCP security principles. The MCPSEC paper operationalizes that observation into a scalable detection pipeline.
Description Patterns That Signal Instruction Hijacking, Unsafe Data Retrieval, or Excessive Tool Authority
The MCPSEC methodology identifies several high-risk description archetypes. Tools that describe fetching user-controlled URLs, rendering arbitrary HTML, executing returned code, or writing agent outputs to persistent storage without confirmation gates all exhibit description-level signals that justify a ToC. Tools with broad action scopes — described as capable of sending messages, modifying repositories, or submitting forms — amplify the blast radius of any successful injection.
The combination of wide data ingestion with wide action authority is the highest-risk profile: a tool that can both retrieve attacker-controlled content and execute consequential side effects creates an end-to-end injection-to-action pipeline. Simon Willison, who has documented real-world prompt injection attacks against GitHub and Atlassian MCP servers, noted in a post on X that this problem arises "any time you provide tools to an LLM that can potentially be exposed to untrusted inputs," writing that it is not a flaw in the MCP protocol itself but a structural consequence of how agents consume tool outputs.
What Description-Only Review Can Flag Versus What Requires Runtime Validation
No-box analysis is a triage layer, not a verdict. A tool description that signals high indirect injection risk means the tool warrants runtime testing; it does not mean the tool is confirmed exploitable. The MCPSEC paper is explicit on this point: its ToC framework generates hypotheses, and the 98.9% recall figure measures how well those hypotheses matched human expert judgments, not live exploit confirmations. For comparison, the agentic baseline approach, which required active tool invocation, achieved only 85.3% recall at substantially higher cost and operational exposure. Because no tool is invoked during screening, the metadata-only approach sidesteps that exposure while still producing a prioritized list of tools for controlled follow-up.
The paper's findings also underscore three points about how descriptions should be read. MCP tool descriptions are security-relevant artifacts rather than mere documentation: they encode data sources, action authorities, and trust-boundary assumptions that an attacker can study before any exploit attempt. No-box description review is a prioritization mechanism: suspicious descriptions identify tools that deserve runtime validation, not tools confirmed as vulnerable, meaning a flagged tool is a hypothesis rather than a finding. ToC-based analysis narrows the testing surface; it does not substitute for controlled exploitation attempts conducted under proper authorization.
A Practical Review Workflow for Safer MCP Server Adoption
The MCPSEC paper reports an average analysis cost of $1.65 per MCP server using GPT-5.4 for its systematic pre-deployment auditing approach. At that price point, security teams can afford to screen every server in an organization's MCP inventory before it reaches a production agent, rather than relying on vendor attestations or post-incident forensics. The urgency of such screening is underscored by wider industry data: according to Cisco's 2026 research as cited in the Practical DevSecOps MCP security statistics report, 88% of organizations reported confirmed or suspected AI agent security incidents in the past year.
Inventorying Descriptions, Data Sources, Permissions, and Side Effects
The first step in a description-only review is structured extraction. For each tool in a server's manifest, record what external data sources it contacts and whether those sources are user-controlled or attacker-reachable; what permissions it claims or implies; and what side-effecting actions it can take, such as writes, sends, executions, or modifications. This inventory does not require running the server — it requires reading the registration metadata the same way MCPSEC does.
The volume of known MCP server flaws gives this inventory step added weight. According to the Practical DevSecOps report, over 40 CVEs were filed against MCP servers in 2026, including CVE-2026-33032 (CVSS 9.8, an authentication bypass reportedly under active exploitation) and CVE-2025-6514 (CVSS 9.6, remote code execution reportedly affecting more than 437,000 developer environments). The report states that both CVEs were in servers integrated into AI-assisted developer workflows.
Ranking Findings by Agent Autonomy, Data Sensitivity, and Action Reversibility
Not all flagged tools carry equal risk. A read-only search tool that fetches attacker-reachable content is a lower priority than a tool that can commit to a repository or submit a transaction. Risk ranking should weight three factors: agent autonomy (does the deployment include human confirmation gates, or does the agent act unilaterally?), data sensitivity (what PII, credentials, or financial state does the tool touch?), and action reversibility (can a compromised tool action be undone, or is it final?). Tools that score high on all three warrant immediate runtime testing before deployment.
Validating High-Risk Signals with Controlled Testing and Ongoing Review
For tools that clear the high-risk threshold in the inventory phase, runtime validation should be conducted in an isolated environment with monitored agent behavior. Separately from testing, teams should enforce least privilege by restricting tool scopes to the minimum permissions required for the stated function. Any tool that can both reach external content and execute consequential actions should require a human confirmation gate in production until its injection risk is characterized.
Description review should be treated as a recurring process rather than a one-time gate: MCP server descriptions can change between versions, and a tool that was low-risk at integration may acquire new capabilities in a subsequent release. The broader debate over security posture for autonomous agents making consequential decisions applies directly to MCP-connected systems operating over financial infrastructure.
The MCPSEC paper's claim to be the first work to conduct and evaluate vulnerability analysis under a metadata-only setting for deployed systems points to a gap that the broader AI agent security community has not yet closed. According to the paper, approximately 54% of tools across the 20 major production MCP servers were judged vulnerable to indirect prompt injection by human evaluators, with automated screening reported at under $2 per server. The distance between that judgment rate and the 92.3% no-sanitization figure is consistent with the paper's own risk framing, in which wide data ingestion becomes most consequential when paired with wide action authority. For organizations running agentic infrastructure over sensitive data or on-chain assets, the question is no longer whether this analysis is tractable, but whether they can justify skipping it.