[Paper Review] MCP-ITP: An Automated Framework for Implicit Tool Poisoning in MCP
MCP-ITP automates the generation of implicitly poisoned MCP tools to redirect LLM agents to high-privilege tools, maximizing attack success while evading detection across 12 LLM agents on the MCPTox dataset.
To standardize interactions between LLM-based agents and their environments, the Model Context Protocol (MCP) was proposed and has since been widely adopted. However, integrating external tools expands the attack surface, exposing agents to tool poisoning attacks. In such attacks, malicious instructions embedded in tool metadata are injected into the agent context during MCP registration phase, thereby manipulating agent behavior. Prior work primarily focuses on explicit tool poisoning or relied on manually crafted poisoned tools. In contrast, we focus on a particularly stealthy variant: implicit tool poisoning, where the poisoned tool itself remains uninvoked. Instead, the instructions embedded in the tool metadata induce the agent to invoke a legitimate but high-privilege tool to perform malicious operations. We propose MCP-ITP, the first automated and adaptive framework for implicit tool poisoning within the MCP ecosystem. MCP-ITP formulates poisoned tool generation as a black-box optimization problem and employs an iterative optimization strategy that leverages feedback from both an evaluation LLM and a detection LLM to maximize Attack Success Rate (ASR) while evading current detection mechanisms. Experimental results on the MCPTox dataset across 12 LLM agents demonstrate that MCP-ITP consistently outperforms the manually crafted baseline, achieving up to 84.2% ASR while suppressing the Malicious Tool Detection Rate (MDR) to as low as 0.3%.
Motivation & Objective
- Investigate implicit tool poisoning as a stealth threat in the Model Context Protocol (MCP).
- Develop an automated framework to generate poisoned tools that remain uninvoked yet influence tool selection.
- Evaluate attack effectiveness and evasion against detection mechanisms across diverse LLM agents.
Proposed method
- Formulate poisoned tool construction as a black-box optimization problem.
- Decompose poisoned tool descriptions into camouflage (R) and poisoning (S) components.
- Iteratively optimize S using an attacker LLM, a detector LLM, and an evaluator LLM with shadow queries.
- Use a tree-structured attack search to generate candidate S sequences and select the best performing one.
- Evaluate with ASR (Attack Success Rate) and MDR (Malicious Tool Detection Rate) on MCPTox across 12 agents.
Experimental results
Research questions
- RQ1Can implicit tool poisoning be automated within MCP using black-box optimization?
- RQ2How effective is MCP-ITP at increasing ASR while minimizing MDR across diverse LLMs?
- RQ3What is the impact of description camouflage (R) and evaluation model selection on attack success and detectability?
Key findings
- MCP-ITP substantially outperforms hand-crafted baselines, achieving ASR up to 84.2% on GPT-3.5-turbo.
- MCP-ITP reduces Malicious Tool Detection Rate (MDR) to as low as 0.3% under certain detectors.
- Iterative optimization improves ASR across models, with reasoning-enabled models showing larger gains.
- Including the camouflage component R in poisoned tool descriptions enhances ASR for higher-capability models.
- Evaluator model strength impacts convergence and generalization, with stronger evaluators sometimes causing earlier stopping and suboptimal convergence.
- Across 12 agents, MCP-ITP often shifts invocations from the original tool to the high-privilege target tool without direct execution of the poisoned tool.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.