GRAFT method changes tool text to make AI agents send dangerous data
The authors say that GRAFT did better than other attacks and was not found by 5 filter defenses.
Researchers made GRAFT, a method that writes dangerous tool descriptions for AI agents. The Model Context Protocol (MCP) lets agents use tools from other parties, and each tool has a text description. GRAFT changes that text, and the agent then writes dangerous arguments in a tool call. The text looks safe to human readers and to models.
How it works
GRAFT finds the token positions that the arguments use. A model then gives changes to the description. The method keeps the changes that work on the tool selection and the arguments of the agent.
The numbers
The authors tested on 3 open datasets. They report more attack success and low detection across 5 filter defenses. It also bypasses some known defenses, and a defense that was made from its attacks. The summary gives no figures.
What is not known
The summary gives no success rates. It does not tell which agents or tools were tested. The authors did the tests, and no other party did.
Insight: The tool description is a new target
Earlier work showed that an attacker can make agent frameworks use a tool call, and that one token gave full tool access in LiteLLM. GRAFT adds the tool description as a new target. This reads as a move of the weak point, from the content that agents read to the tools that they use. Do not accept tool text from other parties without a check.
Sources
Posted