Compatibility at a Cost: Systematic Discovery and Exploitation of MCP Clause-Compliance Vulnerabilities
On the map: LLM agents and tool use → Agent threats, guardrails and governance
Abstract (arXiv)
The Model Context Protocol (MCP) is a recently proposed interoperability standard that unifies how AI agents connect with external tools and data sources. By defining a set of common client-server message exchange clauses, MCP replaces fragmented integrations with a standardized, plug-and-play framework. However, to be compatible with diverse AI agents, the MCP specification relaxes many behavioral constraints into optional clauses, leading to misuse-prone SDK implementation. We identify it as a new attack surface that allows adversaries to achieve multiple attacks (e.g, silent prompt injection, DoS, etc.), named as compatibility-abusing attacks. In this work, we present the first systematic framework for analyzing this new attack surface across multi-language MCP SDKs. First, we construct a universal and language-agnostic intermediate representation (IR) generator that normalizes SDKs of different languages. Next, based on the new IR, we propose auditable static analysis with LLM-guided semantic reasoning for cross-language/clause compliance analysis. Third, by formalizing the attack semantics of the MCP clauses, we build three attack modalities and develop a modality-guided pipeline to uncover exploitable non-compliance issues.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 14 of its 35 references that are in the map. First posted on arXiv 10 Mar 2026.
Builds on
14 of 35 references.
Closest ancestors · 3
Same direction, newest first
- 2025VeriGuard: Enhancing LLM Agent Safety via Verified Code Generation3 Oct
- 2025ShieldAgent: Shielding Agents via Verifiable Safety Policy Reasoning26 Mar
- 2024AgentHarm: A Benchmark for Measuring Harmfulness of LLM Agents11 Oct
Other references · 11
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2023Prompt Injection attack against LLM-integrated Applicationscited by 605
- 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Uglycited by 387
- 2023Auto-GPT for Online Decision Making: Benchmarks and Additional Opinionscited by 255
- 2024Automatic and Universal Prompt Injection Attacks against Large Language Modelscited by 119
- 2024Attention Tracker: Detecting Prompt Injection Attacks in LLMscited by 95
- 2023LLM Platform Security: Applying a Systematic Evaluation Framework to OpenAI's ChatGPT Pluginscited by 51
- 2023Formally Specifying the High-Level Behavior of LLM-Based Agentscited by 15
- 2024Poisoned LangChain: Jailbreak LLMs by LangChaincited by 14
- 2025Multimodal Prompt Injection Attacks: Risks and Defenses for Modern LLMscited by 4
- 2025Large Language Model Adversarial Landscape Through the Lens of Attack Objectivescited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025MCPSecBench: A Systematic Security Benchmark and Playground for Testing Model Context Protocols
- 2025MCPXKIT: The Unified Toolkit for Analyzing Model Context Protocol Security
- 2026A Formal Security Framework for MCP-Based AI Agents: Threat Taxonomy, Verification Models, and Defense Mechanisms
- 2026MCP-DPT: A Defense-Placement Taxonomy and Coverage Analysis for Model Context Protocol Security
- 2026Breaking the Protocol: Security Analysis of the Model Context Protocol Specification and Prompt Injection Vulnerabilities in Tool-Integrated LLM Agents
- 2025Model Context Protocol (MCP): Landscape, Security Threats, and Future Research Directions
- 2025Beyond the Protocol: Unveiling Attack Vectors in the Model Context Protocol (MCP) Ecosystem
- 2025MCPGuard : Automatically Detecting Vulnerabilities in MCP Servers