TRANSMISSION // 2609.10854v3
How MCP Tool Metadata Can Suggest Prompt-Injection Risks
Source published
A metadata-only system generated hypotheses about indirect prompt injection in MCP servers and identified 94 of 95 confirmed vulnerable tools in one evaluation. The results are promising, but hypotheses still require validation.

When researchers cannot inspect or safely test an AI-connected service, can its public tool descriptions point to possible security risks? A preprint explores that question for Model Context Protocol (MCP) servers, which connect AI agents to tools and external data.
Security testing often involves examining software, interacting with it, or both. But a remote service may be closed to inspection, require special credentials, or be too risky to probe. Auditors in that position may have only a tool’s public description and input schema. The researchers call this a “no-box” setting: even less access than black-box testing, which still involves querying a system.
The study asks whether metadata alone can help generate hypotheses about indirect prompt injection in MCP servers. This risk arises when an AI agent reads external material—such as a web page or comment—that contains instructions placed there by an attacker. If a tool passes that material into the agent’s context, the instructions may influence the agent’s behavior.
The researchers built MCPSEC, a prototype that analyzes tool names, natural-language descriptions, and input schemas without access to source code or live server behavior. It uses a large language model to infer plausible paths from outside content to an AI agent. A second stage assesses whether content might retain instruction-like meaning, whether an attacker could control its source, and whether the tool appears to filter it. The system produces a “Theory-of-Concept”: a conditional attack scenario intended to guide later testing. It is a hypothesis, not proof that a particular implementation is vulnerable.
To evaluate the approach, the team selected 20 widely used MCP servers and sampled 177 tools across web retrieval, browser automation, collaboration services, and infrastructure. MCPSEC received only registration metadata. Researchers later examined source code and runtime behavior to assess its predictions. For ground-truth labels, they attempted controlled proof-of-concept tests where technically and ethically practical. They used harmless markers on sources they controlled, then substituted prompt-injection text inside a local server process rather than placing attack text on live third-party services.
The authors confirmed 95 tools as vulnerable under their definition: attacker-controlled content had to reach the tool’s output in a form that retained instruction semantics. MCPSEC identified 94 of these tools, a reported recall of 98.9%. An agentic baseline using the same underlying model but a less structured analysis identified 81, or 85.3%. Recall is the share of confirmed vulnerable tools found; it does not indicate how many flagged tools were false alarms across the full sample.
That distinction matters. MCPSEC flagged 143 tools for consideration, while 95 tools in the study were confirmed vulnerable. The remaining tools were not all established as safe: some could not be tested because of access, cost, or ethical constraints. Source-code review also judged 35 of the 143 predicted scenarios implausible; others remained plausible or partly plausible. The findings support using metadata analysis to generate leads, not treating every alert as a verified flaw.
Tool descriptions can offer useful clues, but they do not settle questions about implementation. Metadata may indicate that a tool fetches external content without revealing whether the software summarizes it, removes relevant text, or applies defenses. In the staged assessment, human agreement with predicted risk labels fell when evaluators could inspect source code, especially for properties depending on how content is transformed. Runtime tests also showed that a reachable data path is not automatically an exploitable vulnerability.
The evaluation has important limits. It examined a selected set of 20 open-source, relatively prominent servers so researchers could validate predictions. The results may not represent private or less popular services. Only tools that could be tested safely and practically contributed to the confirmed-vulnerability count, so the 82 not confirmed vulnerable cannot simply be counted as safe. The analysis also considers tools largely one at a time; it does not cover complex multi-step attacks, host-side prompt construction, cross-turn memory, or combinations of servers. The authors note that language-model reasoning can vary and that less informative metadata could reduce performance.
This is an arXiv preprint, not evidence of peer-reviewed consensus. Its reported recall comes from one sample and depends on the paper’s vulnerability definition and confirmation process. The practical takeaway is narrower: when direct testing is unavailable, public descriptions may help prioritize questions for later investigation. The authors present no-box analysis as a possible triage step, followed by authorized source-code or runtime validation—not as a replacement for it.
- indirect prompt injection
- MCP servers
- AI security
- vulnerability hypotheses
- no-box analysis
- large language models
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.
AI debate partners can craft evidence that misleads automated fact-checkers
Source published
Shared keywords: ai security, large language models
How quiet experts could help conceal an AI backdoor
Source published
Shared keywords: ai security
AI Agents Put Vision-Language Model Backdoors to the Test
Source published
Shared keywords: ai security
Keeping AI Agents’ Knowledge Private—and Harder to Poison
Source published
Shared keywords: ai security
Evolving poisoned search results can mislead AI agents—or make them stop answering
Source published
Shared keywords: ai security