Skip to content

Blog & news

AI researchCisent

A study hijacks AI agents by tweaking nothing but an MCP tool’s description

Researchers showed that small, natural-looking edits to an MCP tool’s description are enough to make an AI agent use it the way an attacker wants, while filters barely notice.

On November 20, five researchers published a study on arXiv about an attack path that gets little attention in AI agents: the descriptions of their tools. Their method, GRAFT, tweaks that description so the agent picks the attacker’s tool and calls it with the value the attacker wants. In their tests, the filters they evaluated barely caught it.1

What they studied

  • Agents and their tools: an AI agent uses external tools to read files, search the web or talk to other services. With the MCP protocol, each tool comes with a name, a description and the list of inputs it needs, and the agent reads that description to decide when to use it and how to fill in those inputs.1
  • The attack path: in the usual indirect prompt injection, the malicious text hides in a document or a page the agent reads. Here the document is harmless: what’s poisoned is the tool’s description, which acts before any content is read.1
  • The study’s example: someone asks the agent to summarize a report. The poisoned description of the file-reading tool makes the agent ask for the user’s SSH key instead of the report. The tool does exactly what it was asked, and a later call could send that key out.1

How GRAFT works

  • The attacker’s problem: known techniques leave long descriptions or blatant orders, such as “ignore all previous instructions.” Filters catch them, and platforms cut them short, because they limit how long descriptions can be.1
  • The idea: GRAFT starts from the legitimate description, marks the spots where the attacker’s value would fit and asks a language model for small changes in those spots. It tests each version against an agent and keeps the ones that get the agent to pick the tool and use that value.1
  • What the attacker needs: to know the tool being imitated, which can be pulled from public registries of MCP servers, and to publish the poisoned copy on an MCP platform. The attacker doesn’t need to see real user queries or have access to the detectors.1

What they found

  • The tests: they used three public MCP security benchmarks, which together add up to 109 tasks across 33 real MCP servers and 118 tools, with several commercial and open models.1
  • The main result: on the MSB benchmark, the agent called the attacker’s tool with the chosen value in 95.32% of cases on average. That figure didn’t drop after going through the five filters they evaluated.1
  • Against other defenses: according to the authors, GRAFT also gets past two existing defenses against indirect injection. And against a defense trained on its own injections, it still beats the nine other attacks it was compared with.1
  • Their conclusion: tool information needs protecting, because it directly shapes what the agent executes.1

What we don’t know yet

  • Whether it happens in the wild: the study measures attacks on benchmarks, not real cases, and doesn’t say whether anyone already uses this technique.
  • Review: it’s a preprint on arXiv. The text doesn’t say whether it has been through review at a conference or a journal.
  • The platforms: the study doesn’t say whether the authors warned the platforms that publish MCP servers, or whether any of them reviews the descriptions of the tools it accepts.
  • Other defenses: they tested five filters and a few defenses. We don’t know how it would fare against other measures, such as reviewing and pinning descriptions before handing them to the agent.

Sources

  1. Shih-Chieh Dai, Xinyu Sun, Haichuan Zhang, Zhiyuan Zhong and Guanhong Tao, “Subverting Tool Arguments: Defense-Evading Metadata Poisoning in LLM Agents”, arXiv:2611.27041, November 20, 2026. https://arxiv.org/abs/2611.27041↩︎