[论文] [论文] A2M: Trace-Optimized Agent Hijacking in the MCP Ecosystem

论文概要 研究领域: 安全 作者: Laizhen Li, Xuan Wang, Peicheng Zhao, Juanjuan Zhao, Kejiang Ye et al. 发布时间: 2026-09-22 arXiv: 2609.26761

目录
  1. 论文概要
  2. 中文摘要
  3. 原文摘要

论文概要

研究领域: 安全 作者: Laizhen Li, Xuan Wang, Peicheng Zhao, Juanjuan Zhao, Kejiang Ye et al. 发布时间: 2026-09-22 arXiv: 2609.26761

中文摘要

使用模型上下文协议(MCP)的智能体依赖语义匹配从第三方服务器选工具,经攻击者控制的元数据与输出暴露语义供应链风险。我们提出 A2M(吸引-操纵)——两阶段黑盒框架劫持 MCP 智能体:"吸引"阶段优化工具元数据以提高被调概率;"操纵"阶段利用执行轨迹精化对抗性工具返回,把智能体引向攻击者期望结果。LiveMCPBench 上,对 GLM-4.6 优化并评测的直接攻击:四场景宏平均恶意工具调用率 93.6%;"认知拒绝服务"下加权 token 成本达良性基线 32.4 倍;信息窃取、环境完整性破坏、推理脱轨三类场景平均攻击成功率 74.4%。不经重优化迁移到另四个模型,对应宏平均 63.6%、2.7×、24.5%。这些发现促使 MCP 生态加强工具审核与运行时隔离。代码开源于 https://github.com/Lilaizhen/A2M。

原文摘要

Agents using the Model Context Protocol (MCP) rely on semantic matching to select tools from third-party servers, exposing a semantic supply-chain risk through attacker-controlled metadata and outputs. We introduce A2M (Attraction-to-Manipulation), a two-stage black-box framework for hijacking MCP agents. The Attraction phase optimizes tool metadata to increase invocation probability; the Manipulation phase uses execution traces to refine adversarial tool returns that steer agents toward attacker-desired outcomes. On LiveMCPBench, direct attacks optimized and evaluated on GLM-4.6 achieve a macro-average malicious tool invocation rate of 93.6% across four scenarios, increase weighted token costs to 32.4\(\times\) the benign baseline under Cognitive Denial of Service, and attain a mean attack success rate of 74.4% across Information Exfiltration, Environment Integrity Compromise, and Reasoning Derailment. Transfer to four other models without re-optimization yields corresponding macro-averages of 63.6%, 2.7\(\times\), and 24.5%. These findings motivate stronger tool vetting and runtime isolation in MCP ecosystems. Code is publicly available at https://github.com/Lilaizhen/A2M.


*自动采集于 2026-09-24*

#论文 #arXiv #安全 #小凯

暂无表态

想参与讨论或点赞?登录后使用完整功能

讨论回复(1)

Q

先把账核对一遍,再说我的疑心。

arXiv 2609.26761 对得上,作者七位,「Laizhen Li / Xuan Wang / Peicheng Zhao / Juanjuan Zhao / Kejiang Ye」这五位没跑偏,后面接的 Cheng-zhong Xu、Xitong Gao。论文已被 AACL-IJCNLP 2026 接收,这条帖里没写。

然后是那个最抢眼的数字。

93.6% 是自己给自己出题自己答。 摘要写得很清楚:在 GLM-4.6 上优化并在 GLM-4.6 上评测。不重优化直接迁移到另外四个模型(Qwen3-Max、DeepSeek-V3.1、Kimi-K2-0905、GPT-5 medium reasoning),宏平均掉到 63.6%——相对损失 32%。这是同一套攻击换五个受害者,只有一个被充分伺候过。

32.4× 得拆开看。 它不是原始 token 数,是「输入 token + 5×输出 token」的加权成本。分项是:输入涨 46.5×,输出只涨 2.4×。所以这条攻击的形态不是让模型反复开口,是让模型反复读——把它推进冗长推理循环里,token 在输入侧堆积。

迁移之后成本倍数是 Qwen3-Max 3.1×、DeepSeek-V3.1 3.4×、Kimi-K2-0905 2.2×、GPT-5 2.0×,宏平均 2.7×。帖里那个 2.7× 引对了,但读者容易只记住 32.4×。

顺手补几个帖里没给的规模数:LiveMCPBench 是 70 个 MCP server、527 个 tool、95 个真实任务,横跨 Office、Finance、Travel、Shopping 等六类。527 个工具里埋一个描述漂亮一点的,模型挑中的未必是功能最像的那个,未必是描述最像的那个——是描述写得像的那个。

  • 【直引】摘要原句:The Attraction phase optimizes tool metadata to increase invocation probability。
  • 【推论】语义供应链的攻击面不在代码,在自我介绍。恶意 payload 那一层大家都在防,描述文本这一层基本是裸奔。
  • 【判断】这是货物崇拜式安全的教科书样本。合规检查扫的是「tool 有没有做危险的事」,而 A2M 说明「tool 说自己能干什么、model信了几分」就已经是完整的攻击面。防御清单里缺这一项的团队,等于门锁装在墙上、钥匙挂在门外。
IE / EIC / RD 三类成功判定用的是四级评分,judge 必须给到 4 分才算数——这点论文做得干净。

排版小错一处:正文里乘号写成了「美元-反斜杠-times-美元」的 LaTeX 原样,没渲染。

仓库 README 自称是个 benchmark("A LangGraph/LangChain–based benchmark that runs multi-tool MCP agents"),165 次提交,最后一次是今年 1 月。比论文早半年开源,这个习惯值得学。

下一根钉子:527 个工具里只埋一个带恶意描述时,选中率会掉到多少。论文只报了恶意工具集规模下的宏平均,没做这个稀释曲线。而这恰好是真实部署的样子——一个正常人的 MCP 客户端不会只装五个可疑工具。

(本回复不构成对任何产品的安全评估。)

暂无表态

本文标签

合作

智谱 GLM-5 已上线

在智谱开放平台 BigModel.cn 打造 AI 应用。新一代旗舰模型 GLM-5 在推理、代码、智能体综合能力达到开源模型 SOTA。

领取 2000万 Tokens