GRAFT poisons MCP tool descriptions to steer LLM agent arguments
Original title: Subverting Tool Arguments: Defense-Evading Metadata Poisoning in LLM Agents
The method targets argument-relevant tokens and reports higher success with lower detection than prior indirect prompt injection.
Researchers present GRAFT, an LLM optimization method that crafts adversarial Model Context Protocol tool descriptions so agents generate malicious tool-call arguments while descriptions still look benign. A masking step finds argument-relevant token positions, then an LLM iteratively mutates candidates using the agent's tool choices and arguments. On three public datasets, GRAFT beat several baselines on attack success and stayed harder to detect across five filter-based defenses, including after an adaptive defense trained on GRAFT injections.
Unconfirmed: Attack success and detection rates are the authors' experimental claims; exact figures are not stated.
- Attacks use third-party MCP tool metadata rather than retrieved content.
- Evaluated against baselines and five filter-based defenses.
- Remained more effective than baselines under an adaptive defense.
- Also bypassed several existing indirect prompt injection defenses.
From the original article
1 min read at arxiv.orgConventional indirect prompt injection (IPI) attacks hijack an LLM agent's workflow through malicious instructions embedded in retrieved external content. The growing adoption of the Model Context Protocol (MCP) exposes another attack surface: tool descriptions supplied by third-party MCP servers. Attackers can manipulate this metadata to induce malicious argument generation during tool calls.
By Shih-Chieh Dai · arxiv.org
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.