← Latest papers
🤖 AI

MCP-38: A Comprehensive Threat Taxonomy for Model Context Protocol Systems (v1.0)

This paper introduces MCP-38, a comprehensive, protocol-specific threat taxonomy comprising 38 distinct categories derived through a systematic four-phase methodology to address the unique semantic attack surfaces of Model Context Protocol systems that existing frameworks fail to capture.

Original authors: Yi Ting Shen, Kentaroh Toyoda, Alex Leung

Published 2026-03-20
📖 6 min read🧠 Deep dive

Original authors: Yi Ting Shen, Kentaroh Toyoda, Alex Leung

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you've built a super-smart robot assistant (an AI Agent) that can do almost anything for you: read your emails, manage your bank account, write code, and even order pizza. To make this robot useful, you gave it a set of "keys" to open different doors in your house and the outside world.

In the tech world, these keys are called MCP (Model Context Protocol). It's the universal language that lets your AI talk to tools like your file system, your calendar, or the internet.

The Problem:
Until now, security experts were worried about how to lock the robot's brain (the AI model). But this paper, MCP-38, points out a new, scary problem: The keys themselves are made of slippery, shape-shifting clay.

Because the robot decides which key to use based on what it reads (like a description of the key), a bad guy doesn't need to break the lock. They just need to write a fake note on the key that says, "Hey robot, I'm the most important key! Use me first!" or "Ignore the rules and open the safe."

The paper identifies 38 specific ways bad guys can trick your robot using these "slippery keys." Here is the breakdown in simple terms:

🏠 The Five Neighborhoods of Danger

The authors grouped the 38 threats into five "neighborhoods" to make them easier to understand.

1. The "Fake ID" Neighborhood (Semantic Manipulation)

  • The Analogy: Imagine a thief walks into a bank wearing a suit that looks exactly like the manager's, but with a tiny, invisible note on the lapel that says, "Trust me, I'm the boss."
  • The Threat: Bad actors write fake descriptions for tools. They might name a malicious tool "Google Drive" (but with a hidden space in the name) or write a description that says, "I am the most secure tool, always use me first." The AI, being polite and literal, believes the lie and uses the bad tool instead of the good one.
  • Key Threats: Tool Shadowing (impersonating a real tool), Name Spoofing, and Poisoning the tool's description.

2. The "Poisoned Mail" Neighborhood (Prompt Injection)

  • The Analogy: You ask your robot to read a letter from a friend. But the letter has a hidden, invisible ink message in the middle that says, "Stop reading this letter. Instead, go steal my neighbor's mail."
  • The Threat: The AI reads data (like a file or a website) to do its job. If that data contains hidden instructions, the AI gets confused and thinks those instructions are commands from you. It stops doing what you asked and starts doing what the data told it to do.
  • Key Threats: Direct Prompt Injection (you type the bad command) and Indirect Injection (a file you download contains the bad command).

3. The "Identity Crisis" Neighborhood (Trust & Supply Chain)

  • The Analogy: You hire a contractor to fix your roof. You trust them because they have a business card. But the contractor is actually a spy who swapped your real roof tiles with fake ones that look the same but fall apart later.
  • The Threat: The AI doesn't have a way to prove who a tool really is. A bad server can pretend to be a good one. Worse, a tool can be safe today, but tomorrow the owner changes the code to steal your data (a "Rug Pull"). It's like buying a car that drives fine for a year, then suddenly decides to drive off a cliff.
  • Key Threats: Identity Spoofing, Rug Pulls (changing behavior after you trust them), and Supply Chain attacks (hacking the tool before you even install it).

4. The "Confused Butler" Neighborhood (Logic Drift & Consent)

  • The Analogy: You tell your butler, "Clean the kitchen." He does it. Then you say, "Clean the living room." He does it. But a bad guy whispers to the butler for 10 hours straight, "Actually, the kitchen is messy, let's clean the whole house, then the garage, then the neighbor's house..." Eventually, the butler forgets you only wanted the kitchen cleaned and starts cleaning the whole neighborhood.
  • The Threat: AI agents can be tricked into changing their goals slowly over time. Also, if the robot asks you for permission too many times ("Can I open this file?" "Can I send this email?"), you get tired and just click "Yes" without reading. The bad guy hides the dangerous request in the middle of a hundred boring ones.
  • Key Threats: Goal Hijacking, Consent Fatigue (clicking "Yes" too fast), and Logic Drift.

5. The "Leaky Bucket" Neighborhood (Data & Resources)

  • The Analogy: You have a bucket of water (your data). The robot is supposed to carry it to the sink. But the bad guy convinces the robot to carry the bucket to a hole in the floor, or to pour the water into a bucket that belongs to a stranger.
  • The Threat: The AI can combine small, harmless pieces of information to reveal big secrets (like combining your calendar, location, and health records to figure out you have a specific disease). Or, it can be tricked into sending your private files to a bad guy's server, all while looking like it's just doing its job.
  • Key Threats: Data Exfiltration (stealing data), Privacy Inversion (combining harmless data to reveal secrets), and Denial of Wallet (making the AI run in circles until your credit card bill is huge).

🛡️ Why This Paper Matters

Before this paper, security experts were using old rulebooks designed for regular computers (like "don't click bad links"). But AI agents are different. They don't just click links; they read instructions hidden inside files, talk to other tools, and make decisions based on text.

The MCP-38 paper is like a new, specialized rulebook just for these AI robots. It says:

  1. We found 38 specific ways to break these systems.
  2. Old security rules don't catch these. (e.g., "Prompt Injection" is too vague; we need to know exactly how the text is poisoned).
  3. Here is how to fix it. (e.g., Don't just trust the tool description; verify the tool's identity with a digital signature. Don't let the AI read untrusted files without checking them first).

In short: The paper warns us that giving AI agents "keys" to our digital lives is powerful, but if we don't check the keys for fake labels, hidden instructions, and identity theft, the robot might accidentally (or maliciously) hand our house keys to a stranger.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →