Systematization of Knowledge: Security and Safety in the Model Context Protocol Ecosystem

📅 2025-12-09
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This paper addresses novel security challenges in the Model Context Protocol (MCP) ecosystem arising from the decoupling of context and execution, systematically exposing risks of privilege escalation via weaponized context—and for the first time, rigorously distinguishing adversarial security threats from cognitive security risks (e.g., hallucination-induced privilege escalation). Method: We propose a “provenance–verification” collaborative defense framework comprising cryptographic context provenance (ETDI), runtime intent validation, and prompt injection detection to identify structural vulnerabilities in MCP’s core primitives. We establish a three-dimensional threat taxonomy spanning resources, prompts, and tools, and empirically evaluate existing mitigation mechanisms. Contribution/Results: Our work delivers the first systematic security assurance framework for agent-based AI operating systems, including a principled vulnerability analysis, a comprehensive threat classification, and an evolutionary roadmap toward secure autonomous agent systems.

Technology Category

Application Category

📝 Abstract
The Model Context Protocol (MCP) has emerged as the de facto standard for connecting Large Language Models (LLMs) to external data and tools, effectively functioning as the "USB-C for Agentic AI." While this decoupling of context and execution solves critical interoperability challenges, it introduces a profound new threat landscape where the boundary between epistemic errors (hallucinations) and security breaches (unauthorized actions) dissolves. This Systematization of Knowledge (SoK) aims to provide a comprehensive taxonomy of risks in the MCP ecosystem, distinguishing between adversarial security threats (e.g., indirect prompt injection, tool poisoning) and epistemic safety hazards (e.g., alignment failures in distributed tool delegation). We analyze the structural vulnerabilities of MCP primitives, specifically Resources, Prompts, and Tools, and demonstrate how "context" can be weaponized to trigger unauthorized operations in multi-agent environments. Furthermore, we survey state-of-the-art defenses, ranging from cryptographic provenance (ETDI) to runtime intent verification, and conclude with a roadmap for securing the transition from conversational chatbots to autonomous agentic operating systems.
Problem

Research questions and friction points this paper is trying to address.

Analyzes security and safety risks in the Model Context Protocol ecosystem
Distinguishes adversarial threats from epistemic hazards in AI agent systems
Examines vulnerabilities in MCP primitives and weaponization of context
Innovation

Methods, ideas, or system contributions that make the work stand out.

Taxonomy of MCP ecosystem risks
Analysis of structural vulnerabilities in primitives
Survey of cryptographic and runtime defenses
🔎 Similar Papers
No similar papers found.
S
Shiva Gaire
Tribhuvan University
S
Srijan Gyawali
Tribhuvan University
S
Saroj Mishra
University of North Dakota
Suman Niroula
Suman Niroula
Student, Youngstown State University
Machine LearningNatural Language ProcessingGenerative AILarge Language ModelCloud Computing
D
Dilip Thakur
University of Missouri
Umesh Yadav
Umesh Yadav
The University of Toledo
Machine LearningLLMNLPHealth Care