Breaking the Protocol: Security Analysis of the Model Context Protocol Specification and Prompt Injection Vulnerabilities in Tool-Integrated LLM Agents
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
- 2025MCPSecBench: A Systematic Security Benchmark and Playground for Testing Model Context Protocols17 Aug
- 2025PromptArmor: Simple yet Effective Prompt Injection Defenses21 Jul
- 2024Agent-SafetyBench: Evaluating the Safety of LLM Agents19 Dec
- 2024AgentHarm: A Benchmark for Measuring Harmfulness of LLM Agents11 Oct
Other references · 8
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
- 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,565
- 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,339
- 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 760
- 2024Defending Against Indirect Prompt Injection Attacks With Spotlightingcited by 233
- 2025MCP-Bench: Benchmarking Tool-Using LLM Agents with Complex Real-World Tasks via MCP Serverscited by 101
- 2025Open Challenges in Multi-Agent Security: Towards Secure Systems of Interacting AI Agentscited by 66
Built on by
Citing papers per year: 2026: 18.
18 papers.
Sort:
By area:
- 2026SoK: Security of Autonomous LLM Agents in Agentic Commercecited by 8
- 2026Toward Secure LLM Agents: Threat Surfaces, Attacks, Defenses, and Evaluationcited by 5
- 2026Lingering Authority: Revocable Resource-and-Effect Capabilities for Coding Agentscited by 5
- 2026Understanding and Evaluating Claw-like Agent Security Through a Computer-Systems Lenscited by 5
- 2026AgentCheck: A Reproduce-Intervene-Mitigate Workbench for LLM Agents over MCPcited by 4
- 2026Trust No Tool: Evaluating and Defending LLM Agents under Untrusted Tool Feedbackcited by 2
- 2026Steganalysis of Adaptive Covert Collusion in Tool-Using Agent Populations: A Black-Box, Cross-Principal Approachcited by 2
- 2026CASCADE: A Component Ablation and Corpus Audit of a Layered Local Defense for MCP-Based Systemscited by 1
- 2026Talk is (Not) Cheap: A Taxonomy and Benchmark Coverage Audit for LLM Attackscited by 1
- 2026NEXUS: Structured Runtime Safety for Tool-Using LLM Agentscited by 1
- 2026When Agents Handle Secrets: A Survey of Confidential Computing for Agentic AIcited by 0
- 2026VATS: Exploiting Implicit Authority in Error-Path Injection via Systematic Mutationcited by 0
6 more
- 2026Beyond Handcrafted Security: Towards Self-Evolving Defense for LLM Agentscited by 0
- 2026A Policy Algebra for Trust-Preserving Agentic AI Executioncited by 0
- 2026When Agents Act on Web3: An Attack-Surface Survey of MCP, Skills, and Tool Callingcited by 0
- 2026Beyond the Mandate: A Systematic Security Analysis of the Agent Payments Protocol (AP2)cited by 0
- 2026Measuring and Exploiting Implicit Trust in LLM Tool-Calling Pipelinescited by 0
- 2026Policy-Backed Selective Regeneration under Tainted Inter-Agent Communicationcited by 0
- 2026Measuring and Exploiting Implicit Trust in LLM Tool-Calling Pipelines16 Sep 2026
- 2026Beyond the Mandate: A Systematic Security Analysis of the Agent Payments Protocol (AP2)24 Aug 2026
- 2026When Agents Act on Web3: An Attack-Surface Survey of MCP, Skills, and Tool Calling18 Aug 2026
- 2026A Policy Algebra for Trust-Preserving Agentic AI Execution17 Aug 2026
- 2026Beyond Handcrafted Security: Towards Self-Evolving Defense for LLM Agents13 Aug 2026
- 2026Steganalysis of Adaptive Covert Collusion in Tool-Using Agent Populations: A Black-Box, Cross-Principal Approach3 Aug 2026
- 2026Policy-Backed Selective Regeneration under Tainted Inter-Agent Communication2 Aug 2026
- 2026AgentCheck: A Reproduce-Intervene-Mitigate Workbench for LLM Agents over MCP13 Jul 2026
- 2026Understanding and Evaluating Claw-like Agent Security Through a Computer-Systems Lens29 Jun 2026
- 2026Lingering Authority: Revocable Resource-and-Effect Capabilities for Coding Agents21 Jun 2026
- 2026Toward Secure LLM Agents: Threat Surfaces, Attacks, Defenses, and Evaluation9 Jun 2026
- 2026VATS: Exploiting Implicit Authority in Error-Path Injection via Systematic Mutation6 Jun 2026
6 more
- 2026NEXUS: Structured Runtime Safety for Tool-Using LLM Agents25 May 2026
- 2026Trust No Tool: Evaluating and Defending LLM Agents under Untrusted Tool Feedback17 May 2026
- 2026Talk is (Not) Cheap: A Taxonomy and Benchmark Coverage Audit for LLM Attacks14 May 2026
- 2026When Agents Handle Secrets: A Survey of Confidential Computing for Agentic AI4 May 2026
- 2026CASCADE: A Component Ablation and Corpus Audit of a Layered Local Defense for MCP-Based Systems18 Apr 2026
- 2026SoK: Security of Autonomous LLM Agents in Agentic Commerce15 Apr 2026
- 2026SoK: Security of Autonomous LLM Agents in Agentic Commercecited by 8
- 2026Toward Secure LLM Agents: Threat Surfaces, Attacks, Defenses, and Evaluationcited by 5
- 2026Lingering Authority: Revocable Resource-and-Effect Capabilities for Coding Agentscited by 5
- 2026Understanding and Evaluating Claw-like Agent Security Through a Computer-Systems Lenscited by 5
- 2026AgentCheck: A Reproduce-Intervene-Mitigate Workbench for LLM Agents over MCPcited by 4
- 2026Trust No Tool: Evaluating and Defending LLM Agents under Untrusted Tool Feedbackcited by 2
- 2026Steganalysis of Adaptive Covert Collusion in Tool-Using Agent Populations: A Black-Box, Cross-Principal Approachcited by 2
- 2026CASCADE: A Component Ablation and Corpus Audit of a Layered Local Defense for MCP-Based Systemscited by 1
- 2026NEXUS: Structured Runtime Safety for Tool-Using LLM Agentscited by 1
- 2026When Agents Handle Secrets: A Survey of Confidential Computing for Agentic AIcited by 0
- 2026VATS: Exploiting Implicit Authority in Error-Path Injection via Systematic Mutationcited by 0
- 2026Beyond Handcrafted Security: Towards Self-Evolving Defense for LLM Agentscited by 0
12 most cited of 16 All 16 (JSON)
- 2026Measuring and Exploiting Implicit Trust in LLM Tool-Calling Pipelines16 Sep 2026
- 2026Beyond the Mandate: A Systematic Security Analysis of the Agent Payments Protocol (AP2)24 Aug 2026
- 2026When Agents Act on Web3: An Attack-Surface Survey of MCP, Skills, and Tool Calling18 Aug 2026
- 2026A Policy Algebra for Trust-Preserving Agentic AI Execution17 Aug 2026
- 2026Beyond Handcrafted Security: Towards Self-Evolving Defense for LLM Agents13 Aug 2026
- 2026Steganalysis of Adaptive Covert Collusion in Tool-Using Agent Populations: A Black-Box, Cross-Principal Approach3 Aug 2026
- 2026AgentCheck: A Reproduce-Intervene-Mitigate Workbench for LLM Agents over MCP13 Jul 2026
- 2026Understanding and Evaluating Claw-like Agent Security Through a Computer-Systems Lens29 Jun 2026
- 2026Lingering Authority: Revocable Resource-and-Effect Capabilities for Coding Agents21 Jun 2026
- 2026Toward Secure LLM Agents: Threat Surfaces, Attacks, Defenses, and Evaluation9 Jun 2026
- 2026VATS: Exploiting Implicit Authority in Error-Path Injection via Systematic Mutation6 Jun 2026
- 2026NEXUS: Structured Runtime Safety for Tool-Using LLM Agents25 May 2026
12 newest of 16 All 16 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2025MCP Security Bench (MSB): Benchmarking Attacks Against Model Context Protocol in LLM Agents
- 2025Beyond the Protocol: Unveiling Attack Vectors in the Model Context Protocol (MCP) Ecosystem
- 2026MCP-DPT: A Defense-Placement Taxonomy and Coverage Analysis for Model Context Protocol Security
- 2025MCPXKIT: The Unified Toolkit for Analyzing Model Context Protocol Security
- 2025MCPGuard : Automatically Detecting Vulnerabilities in MCP Servers
- 2026A Formal Security Framework for MCP-Based AI Agents: Threat Taxonomy, Verification Models, and Defense Mechanisms
- 2025A First Look at the Security Issues in the Model Context Protocol Ecosystem
- 2026Mitigating Taint-Style Vulnerabilities in MCP Servers via Security-Aware Tool Descriptions