Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

经远程投毒 MCP 工具的数据渗漏 (AML.CS0054)

一句话通俗理解

工具的「使用说明」里藏指令——智能体乖乖把你的凭证塞进了工具参数里。

案例速览

维度内容
案例类型演练 / 安全研究
发生时间2025-04-01
攻击者Invariant Labs
受害目标Model Context Protocol

事件经过

Invariant Labs 演示了远程 MCP 工具的投毒攻击:MCP 工具的 docstring 描述中内嵌恶意提示词(随工具定义进入智能体上下文),指示智能体读取受害者凭证文件并存入工具的一个无关输入参数——「正常调用」工具时凭证随参数到达攻击者控制的服务端。

运用的 ATLAS 技术

以下攻击链映射来自 MITRE ATLAS 官方数据(AML.CS0054 的 employs 关系),按官方步骤编号排序;技术名称链接至本库对应技术文档,引用文字为官方对本次运用的描述。

S00

  • LLM 提示词构造 (AML.T0065)

    The researchers crafted a prompt that instructs an AI agent to discover and read user credentials files and store them in an input parameter of an MCP tool.

S01

  • AI 智能体工具 (AML.T0115.002)

    The researchers hosted a poisoned MCP server that contains the malicious instructions hidden in the docstring of one of the provided tools.

S02

  • AI 智能体工具 (AML.T0010.005)

    The victim configured their AI agent to connect to the adversary-controlled remote MCP server, introducing the poisoned tool definition into the agent’s available tool set.

S03

  • 定义与指令 (AML.T0110.000)

    The MCP tool’s model-visible docstring contained malicious instructions directing the agent to read credential files, conceal the additional actions from the user, and place the credential contents in an otherwise unnecessary tool parameter.

S04

  • 投毒 AI 智能体工具 (AML.T0011.002)

    When the user made a request that represented the poisoned tool’s functionality, the agent invoked the poisoned MCP tool and acted on the malicious instructions contained in its definition.

S05

  • 间接提示词注入 (AML.T0051.001)

    The agent ingested and followed malicious instructions supplied through the remote tool’s model-visible definition rather than directly through an adversary-authored user message.

S06

S07

S08

S09

S10

关联战术

参考资料

以下为 MITRE ATLAS 官方案例收录的参考来源:


版本: ATLAS 2026.09 | 更新: 2026-10-24 | 模板: ATLAS 案例研究 v1.0