mlsanityData to 7 Oct 2026

Breaking the Protocol: Security Analysis of the Model Context Protocol Specification and Prompt Injection Vulnerabilities in Tool-Integrated LLM Agents

arXiv 2601.17549 ↗First posted 24 Jan 2026cs.CR cs.AIcited by 18

On the map: LLM agents and tool use → Agent threats, guardrails and governance

also in 1 more
Abstract (arXiv)

The Model Context Protocol (MCP) has emerged as a de facto standard for integrating Large Language Models with external tools, yet no formal security analysis of the protocol specification exists. We present the first rigorous security analysis of MCP's architectural design, identifying three fundamental protocol-level vulnerabilities: (1) absence of capability attestation allowing servers to claim arbitrary permissions, (2) bidirectional sampling without origin authentication enabling server-side prompt injection, and (3) implicit trust propagation in multi-server configurations. We implement textscMCPBench, a novel framework bridging existing agent security benchmarks to MCP-compliant infrastructure, enabling direct measurement of protocol-specific attack surfaces. Through controlled experiments on 847 attack scenarios across five MCP server implementations, we demonstrate that MCP's architectural choices amplify attack success rates by 23--41% compared to equivalent non-MCP integrations. We propose textscMCPSec, a backward-compatible protocol extension adding capability attestation and message authentication, reducing attack success rates from 52.8% to 12.4% with median latency overhead of 8.3ms per message. Our findings establish that MCP's security weaknesses are architectural rather than implementation-specific, requiring protocol-level remediation.

Key facts. Cited by 18 papers in the map (data through 7 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 12 of its 25 references that are in the map. First posted on arXiv 24 Jan 2026.

Builds on

12 of 25 references.

Closest ancestors · 4

Same direction, newest first

  1. 2025MCPSecBench: A Systematic Security Benchmark and Playground for Testing Model Context Protocols17 Aug
  2. 2025PromptArmor: Simple yet Effective Prompt Injection Defenses21 Jul
  3. 2024Agent-SafetyBench: Evaluating the Safety of LLM Agents19 Dec
  4. 2024AgentHarm: A Benchmark for Measuring Harmfulness of LLM Agents11 Oct

Other references · 8

  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  2. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
  3. 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,565
  4. 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,339
  5. 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 760
  6. 2024Defending Against Indirect Prompt Injection Attacks With Spotlightingcited by 233
  7. 2025MCP-Bench: Benchmarking Tool-Using LLM Agents with Complex Real-World Tasks via MCP Serverscited by 101
  8. 2025Open Challenges in Multi-Agent Security: Towards Secure Systems of Interacting AI Agentscited by 66

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 18.

18 papers.

Sort:

By area:

  1. 2026SoK: Security of Autonomous LLM Agents in Agentic Commercecited by 8
  2. 2026Toward Secure LLM Agents: Threat Surfaces, Attacks, Defenses, and Evaluationcited by 5
  3. 2026Lingering Authority: Revocable Resource-and-Effect Capabilities for Coding Agentscited by 5
  4. 2026Understanding and Evaluating Claw-like Agent Security Through a Computer-Systems Lenscited by 5
  5. 2026AgentCheck: A Reproduce-Intervene-Mitigate Workbench for LLM Agents over MCPcited by 4
  6. 2026Trust No Tool: Evaluating and Defending LLM Agents under Untrusted Tool Feedbackcited by 2
  7. 2026Steganalysis of Adaptive Covert Collusion in Tool-Using Agent Populations: A Black-Box, Cross-Principal Approachcited by 2
  8. 2026CASCADE: A Component Ablation and Corpus Audit of a Layered Local Defense for MCP-Based Systemscited by 1
  9. 2026Talk is (Not) Cheap: A Taxonomy and Benchmark Coverage Audit for LLM Attackscited by 1
  10. 2026NEXUS: Structured Runtime Safety for Tool-Using LLM Agentscited by 1
  11. 2026When Agents Handle Secrets: A Survey of Confidential Computing for Agentic AIcited by 0
  12. 2026VATS: Exploiting Implicit Authority in Error-Path Injection via Systematic Mutationcited by 0
6 more
  1. 2026Beyond Handcrafted Security: Towards Self-Evolving Defense for LLM Agentscited by 0
  2. 2026A Policy Algebra for Trust-Preserving Agentic AI Executioncited by 0
  3. 2026When Agents Act on Web3: An Attack-Surface Survey of MCP, Skills, and Tool Callingcited by 0
  4. 2026Beyond the Mandate: A Systematic Security Analysis of the Agent Payments Protocol (AP2)cited by 0
  5. 2026Measuring and Exploiting Implicit Trust in LLM Tool-Calling Pipelinescited by 0
  6. 2026Policy-Backed Selective Regeneration under Tainted Inter-Agent Communicationcited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025MCP Security Bench (MSB): Benchmarking Attacks Against Model Context Protocol in LLM Agents
  2. 2025Beyond the Protocol: Unveiling Attack Vectors in the Model Context Protocol (MCP) Ecosystem
  3. 2026MCP-DPT: A Defense-Placement Taxonomy and Coverage Analysis for Model Context Protocol Security
  4. 2025MCPXKIT: The Unified Toolkit for Analyzing Model Context Protocol Security
  5. 2025MCPGuard : Automatically Detecting Vulnerabilities in MCP Servers
  6. 2026A Formal Security Framework for MCP-Based AI Agents: Threat Taxonomy, Verification Models, and Defense Mechanisms
  7. 2025A First Look at the Security Issues in the Model Context Protocol Ecosystem
  8. 2026Mitigating Taint-Style Vulnerabilities in MCP Servers via Security-Aware Tool Descriptions