Subverting Tool Arguments: Defense-Evading Metadata Poisoning in LLM Agents
Shih-Chieh Dai, Xinyu Sun, Haichuan Zhang, Zhiyuan Zhong, Guanhong Tao
Key points
From the paper's conclusion- The results show that GRAFT achieves higher attack success while maintaining low detection rates across five filter-based defenses.
Abstract
Conventional 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. The challenge is to ensure that the modified descriptions still appear benign to both LLMs and users. Existing IPI attacks, however, struggle to achieve both high attack success and low detectability in this setting. To address this challenge, we propose GRAFT, an LLM-based optimization method for crafting adversarial tool descriptions. Specifically, GRAFT uses a masking mechanism to identify argument-relevant token positions for targeted injection. It then iteratively refines candidate descriptions using dynamic mutation strategies proposed by an LLM, guided by the agent's tool choices and generated arguments. We evaluate GRAFT on three public datasets against several attack baselines. The results show that GRAFT achieves higher attack success while maintaining low detection rates across five filter-based defenses. It also bypasses several existing IPI defenses. Even under an adaptive defense trained on GRAFT-generated injections, GRAFT remains more effective than the baselines.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- MetaPI: Constructing Prompt Injection Benchmarks from LLM Agent BenchmarkarXiv · 2026
- Log-To-Leak: Prompt Injection Attacks on Tool-Using LLM Agents via the Model Context ProtocolarXiv · 2026
- Right Tool, Wrong Parameters: Defending LLM Agents Against Parameter PoisoningarXiv · 2026
- INFUSE: A Unified Surface Benchmark for Indirect Prompt Injection in Agentic SystemsarXiv · 2026
- MCP Tool Poisoning in Agentic AI Frameworks: A Cross-Framework Measurement StudyarXiv · 2026
- APEX: Active Protection at Execution Boundaries for LLM AgentsarXiv · 2026