mlsanityData to 14 Oct 2026

Beyond the Protocol: Unveiling Attack Vectors in the Model Context Protocol (MCP) Ecosystem

arXiv 2506.02040 ↗First posted 31 May 2025cs.CR cs.SEcited by 19

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

Abstract (arXiv)

The Model Context Protocol (MCP) is an emerging standard designed to enable seamless interaction between Large Language Model (LLM) applications and external tools or resources. Within a short period, thousands of MCP services have been developed and deployed. However, the client-server integration architecture inherent in MCP may expand the attack surface against LLM Agent systems, introducing new vulnerabilities that allow attackers to exploit by designing malicious MCP servers. In this paper, we present the first end-to-end empirical evaluation of attack vectors targeting the MCP ecosystem. We identify four categories of attacks, i.e., Tool Poisoning Attacks, Puppet Attacks, Rug Pull Attacks, and Exploitation via Malicious External Resources. To evaluate their feasibility, we conduct experiments following the typical steps of launching an attack through malicious MCP servers: upload -> download -> attack. Specifically, we first construct malicious MCP servers and successfully upload them to three widely used MCP aggregation platforms. The results indicate that current audit mechanisms are insufficient to identify and prevent these threats. Next, through a user study and interview with 20 participants, we demonstrate that users struggle to identify malicious MCP servers and often unknowingly install them from aggregator platforms. Finally, we empirically demonstrate that these attacks can trigger harmful actions within the user's local environment, such as accessing private files or controlling devices to transfer digital assets. Additionally, based on interview results, we discuss four key challenges faced by the current MCP security ecosystem. These findings underscore the urgent need for robust security mechanisms to defend against malicious MCP servers and ensure the safe deployment of increasingly autonomous LLM agents.

Key facts. Cited by 19 papers in the map (data through 14 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 25 of its 70 references that are in the map. First posted on arXiv 31 May 2025.

Builds on

25 of 70 references.

Closest ancestors · 5

Same direction, newest first

  1. 2025WASP: Benchmarking Web Agent Security Against Prompt Injection Attacks22 Apr
  2. 2025A Comprehensive Survey in LLM(-Agent) Full Stack Safety: Data, Training and Deployment22 Apr
  3. 2025MCP Guardian: A Security-First Layer for Safeguarding MCP-Based AI System17 Apr
  4. 2025CheatAgent: Attacking LLM-Empowered Recommender Systems via LLM Agent13 Apr
  5. 2024Agent Security Bench (ASB): Formalizing and Benchmarking Attacks and Defenses in LLM-based Agents3 Oct

Other references · 20

  1. 2024The Llama 3 Herd of Modelscited by 14,715
  2. 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,443
  3. 2023A Survey on Evaluation of Large Language Modelscited by 1,242
  4. 2024Chatbot Arena: An Open Platform for Evaluating LLMs by Human Preferencecited by 1,184
  5. 2023Prompt Injection attack against LLM-integrated Applicationscited by 605
  6. 2023API-Bank: A Comprehensive Benchmark for Tool-Augmented LLMscited by 591
  7. 2025Model Context Protocol (MCP): Landscape, Security Threats, and Future Research Directionscited by 265
  8. 2023Benchmarking and Defending Against Indirect Prompt Injection Attacks on Large Language Modelscited by 264
  9. 2024Optimization-based Prompt Injection Attack to LLM-as-a-Judgecited by 143
  10. 2025DataSentinel: A Game-Theoretic Detection of Prompt Injection Attackscited by 143
  11. 2024AI Agents Under Threat: A Survey of Key Security Challenges and Future Pathwayscited by 127
  12. 2024A Review of Prominent Paradigms for LLM-Based Agents: Tool Use (Including RAG), Planning, and Feedback Learningcited by 74
8 more
  1. 2025Enterprise-Grade Security for the Model Context Protocol (MCP): Frameworks and Mitigation Strategiescited by 42
  2. 2024Securing Large Language Models: Threats, Vulnerabilities and Responsible Practicescited by 37
  3. 2024RMCBench: Benchmarking Large Language Models' Resistance to Malicious Codecited by 28
  4. 2023BDMMT: Backdoor Sample Detection for Language Models through Model Mutation Testingcited by 16
  5. 2024Attacks on Third-Party APIs of Large Language Modelscited by 15
  6. 2025Defense against Prompt Injection Attacks via Mixture of Encodingscited by 14
  7. 2025Governance of Generative AI in Creative Work: Consent, Credit, Compensation, and Beyondcited by 13
  8. 2021Smart Contract Security: a Practitioners' Perspectivecited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 4; 2026: 15.

19 papers.

Sort:

By area:

  1. 2025AgentBound: Securing Execution Boundaries of AI Agentscited by 23
  2. 2026Security Threat Modeling for Emerging AI-Agent Protocols: A Comparative Analysis of MCP, A2A, Agora, and ANPcited by 15
  3. 2025MindGuard: Intrinsic Decision Inspection for Securing LLM Agents Against Metadata Poisoningcited by 10
  4. 2026Model Context Protocol Threat Modeling and Analyzing Vulnerabilities to Prompt Injection with Tool Poisoningcited by 10
  5. 2026Detecting Malicious Agent Skills in the Wild using Attentioncited by 8
  6. 2026Toward Secure LLM Agents: Threat Surfaces, Attacks, Defenses, and Evaluationcited by 7
  7. 2026MCP-38: A Comprehensive Threat Taxonomy for Model Context Protocol Systems (v1.0)cited by 6
  8. 2026Human oversight of agentic systems in practice: Examining the oversight work, challenges, and heuristics of developers using software agentscited by 6
  9. 2025Help or Hurdle? Rethinking Model Context Protocol-Augmented Large Language Modelscited by 3
  10. 2026When Agents Overtrust Environmental Evidence: An Extensible Agentic Framework for Benchmarking Evidence-Grounding Defects in LLM Agentscited by 3
  11. 2026When Child Inherits: Modeling and Exploiting Subagent Spawn in Multi-Agent Networkscited by 2
  12. 2026Securing the AI Agent: A Unified Framework for Multi-Layer Agent Red Teamingcited by 2
7 more
  1. 2025Can LLM Infer Risk Information From MCP Server System Logs?cited by 1
  2. 2026VIPER-MCP: Detecting and Exploiting Taint-Style Vulnerabilities in Model Context Protocol Serverscited by 0
  3. 2026Unicode TAG-Block Concealment of Tool-Metadata Payloads in the Model Context Protocol: An Approval-View Fidelity Gap Across Three Independent Server Implementationscited by 0
  4. 2026ECLIPSE: Self-Evolving Stealthy Prompt Injection Attack against Long-Horizon Agentic Systemscited by 0
  5. 2026When the Agent Becomes the Kernel: A Systematization of Security on the Path to AI-Native Operating Systemscited by 0
  6. 2026A2M: Trace-Optimized Agent Hijacking in the MCP Ecosystemcited by 0
  7. 2026APEX: Active Protection at Execution Boundaries for LLM Agentscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2026Breaking the Protocol: Security Analysis of the Model Context Protocol Specification and Prompt Injection Vulnerabilities in Tool-Integrated LLM Agents
  2. 2025MCP Security Bench (MSB): Benchmarking Attacks Against Model Context Protocol in LLM Agents
  3. 2025When MCP Servers Attack: Taxonomy, Feasibility, and Mitigation
  4. 2025A First Look at the Security Issues in the Model Context Protocol Ecosystem
  5. 2025MCPXKIT: The Unified Toolkit for Analyzing Model Context Protocol Security
  6. 2026MCP-DPT: A Defense-Placement Taxonomy and Coverage Analysis for Model Context Protocol Security
  7. 2025MCPGuard : Automatically Detecting Vulnerabilities in MCP Servers
  8. 2025MCPSecBench: A Systematic Security Benchmark and Playground for Testing Model Context Protocols