Skip to main content
QUICK REVIEW

[论文解读] MCP-ITP: An Automated Framework for Implicit Tool Poisoning in MCP

Ruiqi Li, Zhiqiang Wang|arXiv (Cornell University)|Jan 12, 2026
Network Security and Intrusion DetectionComputer Science被引用 0
一句话总结

MCP-ITP 在 MCPTox 数据集上对 12 个 LLM 代理实现隐式污染 MCP 工具的自动化生成,以引导代理使用高权限工具,最大化攻击成功率并规避检测。

ABSTRACT

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%.

研究动机与目标

  • 在模型上下文协议(MCP)中调查隐式工具投毒作为潜在的隐身威胁。
  • 开发一个自动化框架以生成即使未被调用也能影响工具选择的被污染工具。
  • 在多样化的 LLM 代理上评估攻击效果及对检测机制的规避能力。

提出的方法

  • 将被污染的工具构造形式化为一个黑箱优化问题。
  • 将被污染的工具描述分解为伪装(R)和投毒(S)两部分。
  • 利用攻击者 LLM、检测器 LLM 以及评估者 LLM 进行影子查询,迭代优化 S。
  • 采用树状攻击搜索生成候选 S 序列并选择表现最佳者。
  • 在 MCPTox 上对 12 个代理评估 ASR(攻击成功率)和 MDR(恶意工具检测率)。

实验结果

研究问题

  • RQ1在 MCP 中是否可以使用黑箱优化实现自动化的隐式工具投毒?
  • RQ2MCP-ITP 在在多样化的 LLM 上提升 ASR 的同时尽量降低 MDR 的效果如何?
  • RQ3描述伪装(R)和评估模型的选择对攻击成功和可检测性的影响是什么?

主要发现

  • MCP-ITP 在多项场景显著优于手工基线,对 GPT-3.5-turbo 的 ASR 最高达到 84.2%。
  • MCP-ITP 在某些检测器下将 MDR 降至最低 0.3%。
  • 迭代优化在不同模型上的 ASR 有所提升,具备推理能力的模型增益更大。
  • 在被污染的工具描述中加入伪装组件 R 能提升高能力模型的 ASR。
  • 评估模型的强度影响收敛与泛化,较强的评估者有时会导致更早停止和次优收敛。
  • 在 12 个代理中,MCP-ITP 常将调用从原始工具转移到高权限目标工具,而并非直接执行被污染的工具。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。