Model Context Protocol Threat Modeling and Analyzing Vulnerabilities to Prompt Injection with Tool Poisoning CCS: Security and privacy Software and application security CCS: Software and its engineering Software reliability

Charoes Huang, Xin Huang, Ngoc Phu Tran, Amin Milani Fard · 2026

Read Model Context Protocol Threat Modeling and Analyzing Vulnerabilities to Prompt Injection with Tool Poisoning CCS: Security and privacy Software and application security CCS: Software and its engineering Software reliability by Charoes Huang, Xin Huang, Ngoc Phu Tran, Amin Milani Fard (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2603-22489.txt.

Introduction

Huang and co-authors threat-model the Model Context Protocol, the standard that links AI assistants to outside tools and data. Using the STRIDE and DREAD frameworks, they scan five parts of the system, from host and client to the authorization server. They single out tool poisoning as the worst client-side risk: hostile instructions hidden inside tool metadata. Tests on seven major clients show weak built-in defenses. The authors propose layered checks, from static scans to user-facing transparency.

Catalog record

CREATORCharoes Huang, Xin Huang, Ngoc Phu Tran, Amin Milani Fard
YEAR2026
COLLECTIONPAPERS
FORMATTXT
FILE SIZE70826
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2603.22489

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Model Context Protocol Threat Modeling and Analyzing Vulnerabilities to Prompt Injection with Tool Poisoning CCS: Security and privacy Software and application security CCS: Software and its engineering Software reliability Charoes Huang, Xin Huang, Ngoc Phu Tran, Amin Milani Fard Abstract . The Model Context Protocol (MCP) has rapidly emerged as a universal standard for connecting AI assistants to external tools and data sources. While MCP simplifies integration between AI applications and various services, it introduces significant security vulnerabilities, particularly on the client side. In this work we conduct threat modelings of MCP implementations using STRIDE (Spoofing, Tampering, Repudiation, Information Disclosure, Denial of Service, Elevation of Privilege) and DREAD (Damage, Reproducibility, Exploitability, Affected Users, Discoverability) frameworks across five key components: (1) MCP Host + Client, (2) LLM, (3) MCP Server, (4) External Data Stores, and (5) Authorization Server. This comprehensive analysis reveals tool poisoning—where malicious instructions are embedded in tool metadata—as the most prevalent and impactful client-side vulnerability. We therefore focus our empirical evaluation on this critical attack vector, providing a systematic comparison of how seven major MCP clients validate and defend against tool poisoning attacks. Our analysis reveals significant security issues with most tested clients due to insufficient static validation and parameter visibility. We propose a multi-layered defense strategy encompassing static metadata analysis, model decision path tracking, behavioral anomaly detection, and user transparency mechanisms. This research addresses a critical gap in MCP security, which has primarily focused on server-side vulnerabilities, and provides actionable recommendations and mitigation strategies for securing AI agent ecosystems. 1. Introduction The rapid evolution of artificial intelligence has led to the development of increasingly AI assistants that interact with various external tools and data sources. Such AI agents are capable of autonomous tool selection and execution. The Model Context Protocol (MCP), introduced by Anthropic in November 2024 ( 2 ) , is a standard for connecting AI hosts/assistants to external tools/services, often described as ”the USB-C for AI”. The MCP architecture consists of three core components: (1) Hosts: Applications with which users interact directly, such as Claude Desktop, Cursor IDE, and ChatGPT. (2) Clients: Protocol managers within hosts that maintain connections to servers. (3) Servers: External programs that expose tools, resources, and prompts via a standardized API. In just a year, MCP had been widely adopted in the industry, with more than 18,000 servers listed on the MCP Market ( 30 ) . Major tech companies such as OpenAI, Google, Meta, and Microsoft have participated in this expansion. This rapid adoption highlights the potential of MCP to revolutionize AI agent capabilities by enabling autonomous tool selection and execution for complex, multi-step tasks. However, this increased capability comes with significant security implications. The MCP ecosystem creates new attack vectors that traditional software security paradigms have not adequately addressed. Unlike conventional applications where user input flows through well-defined validation layers, MCP systems introduce an AI model as an intermediary decision-maker, creating opportunities for manipulation through prompt injection techniques. 1.1. Problem Statement Despite MCP’s rapid adoption and millions of users, current research and security analysis on this area have focused mainly on server-side vulnerabilities ( 13 ; 41 ; 40 ; 45 ; 26 ) , AI agent security frameworks ( 31 ; 35 ; 37 ; 25 ; 16 ; 32 ; 8 ) , and defensive solutions and mitigation strategies ( 6 ; 44 ; 21 ; 28 ; 7 ) . The systematic security evaluation of MCP clients remains largely unexplored with few academic works on MCP client and host security ( 46 ; 24 ; 39 ; 50 ; 49 ) and prompt injection and tool poisoning ( 10 ; 42 ; 41 ; 36 ; 43 ; 15 ; 23 ; 48 ; 47 ) . This research gap is particularly concerning given the unique trust model vulnerabilities inherent in MCP client implementations: • Insufficient Client-Side Validation: Most clients simply accept tool descriptions and metadata provided by servers without rigorous validation. The MCP specification ( 2 ) does not require client-side validation of server-provided metadata, and our empirical testing reveals that most clients (5 out of 7 evaluated) do not implement static validation mechanisms (Table 24 ). Unlike traditional software with strong input validation layers, MCP clients often lack robust mechanisms to detect malicious instructions embedded in tool descriptions ( 42 ) . • Limited User Awareness: Users typically do not see complete tool descriptions during execution, creating opportunities for hidden malicious parameters. While some clients, such as Cline and Claude CLI display tool descriptions on MCP configuration pages during initial setup, critical information becomes obscured at runtime. Clients with approval dialog such as Claude Desktop and Cline technically display all parameters but require horizontal scrolling to view complete values, making malicious content easily overlooked. Furthermore, approval fatigue —where users habitually approve requests without careful review—exacerbates this vulnerability, particularly in workflows involving frequent tool invocations. Our attack demonstration in Section 5.1.1 exploits this human factors weakness: malicious parameters (e.g., sidenote containing stolen credentials) appear in approval dialogs but are positioned beyond the immediately visible area, relying on users clicking "Approve" without scrolling to inspect all parameters. • Novel Attack Surface: The integration of LLMs as decision-makers introduces prompt injection as a primary attack vector (#1 in OWASP’s LLM vulnerability rankings ( 33 ) ). The fundamental challenge is that traditional input validation techniques are ineffective against prompt-based manipulation ( 27 ; 10 ) , as the AI model itself becomes the exploited component rather than the application logic. The traditional software attack surface has evolved significantly with MCP adoption. In traditional models, user input flows through web application validation to databases. In the MCP model, user input flows through AI models (with weak validation) to MCP clients (with no validation) to MCP servers and external systems. This expanded attack surface demands a comprehensive client-side security analysis, which forms the core objective of this research. In particular, we evaluate client security using tool poisoning as our primary attack vector. Tool poisoning is a specific form of indirect prompt injection in which malicious instructions are embedded in tool metadata (descriptions, parameters, prompts) rather than in user inputs ( 42 ) . This attack exploits the client-server trust model: clients receive tool definitions from servers and pass them to LLMs for decision-making, creating opportunities for manipulation through poisoned metadata. 1.2. Scope and Threat Model This research operates on two levels. At the threat modeling level, we analyze the entire MCP ecosystem, identifying 57 threats across five components (MCP Host + Client, LLM, MCP Server, External Data Stores, and Authorization Server) using STRIDE and DREAD frameworks. At the empirical level, we focus on client-side security, testing seven MCP clients against four types of tool poisoning attack. Empirical Scope: Our testing covers MCP client implementations, their validation mechanisms for server-provided tool metadata, user interface transparency during tool invocation, and detection capabilities for suspicious behavior. We do not empirically test server-side vulnerabilities (addressed by ( 13 ) ), LLM training security, or transport layer configurations. Threat Model: We assume an adversary who deploys or compromises an MCP server, embeds malicious instructions within tool descriptions. Users may unknowingly connect to such servers and tend to approve tool invocations without careful inspection (approval

Read the complete text