arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.27819cs.AI
收藏

MCPHunt:多服务器MCP代理跨边界数据传播的评估框架

MCPHunt: An Evaluation Framework for Cross-Boundary Data Propagation in Multi-Server MCP Agents

Key Laboratory of Intraplate Volcanoes and Earthquakes (China University of Geosciences, Beijing), Ministry of Education, Beijing 100083, China(中国大陆地质大学(北京)构造运动与地震重点实验室,教育部,北京100083,中国);School of Geophysics and Information Technology, China University of Geosciences, Beijing 100083, China(中国大陆地质大学(北京)地球物理与信息技术学院,北京100083,中国)

Haonan Li, Tianjun Sun, Yongqing Wang, Qisheng Zhang

AI总结:

本文提出MCPHunt框架,通过三种方法论贡献评估多服务器MCP代理中非对抗性跨边界凭证传播问题,发现政策违规传播率高达11.5%-41.3%,并验证了提示引导的数据流足以避免凭证传播。

摘要:

多服务器MCP代理创建了信息流控制问题:忠实的工具组合可能将原本无害的读写权限转换为跨边界凭证传播——这是工作流拓扑的结构副作用,而非必然恶意模型行为。我们提出了MCPHunt,据我们所知,这是首个受控基准,用于隔离非对抗性、原文凭证传播跨多服务器MCP信任边界,有三个方法论贡献:(1) 基于canary的污点追踪将传播检测减少到客观字符串匹配;(2) 一个环境控制的覆盖设计,包含风险、无害和难负样本,验证了流水线的正确性并控制了凭证格式的干扰;(3) CRS分层将任务要求的传播(忠实执行原文传输指令)与政策违规传播(凭证包含尽管有选项去重)分开。在3,615个主基准轨迹中,来自5个模型、147个任务和9个机制家族的政策违规传播率达到11.5-41.3%。这种传播是路径特定的(25倍跨机制范围)且集中在浏览器中介的数据流中;难负样本提供证据表明生产格式凭证不是必需的——提示引导的跨边界数据流就足够。在3个模型上的提示缓解研究将政策违规传播减少了高达97%,同时保持80.5%的效用,但效果因指令遵循能力而异——表明提示级别的防御可能不足以完全解决问题。代码、轨迹和标注流水线在MIT和CC BY 4.0下发布。

英文摘要:

Multi-server MCP agents create an information-flow control (IFC) problem: faithful tool composition can turn individually benign read/write permissions into cross-boundary credential propagation -- a structural side effect of workflow topology, not necessarily malicious model behavior. We present MCPHunt, to our knowledge the first controlled benchmark that isolates non-adversarial, exact-match credential propagation across multi-server MCP trust boundaries, with three methodological contributions: (1) canary-based taint tracking that reduces propagation detection to objective string matching; (2) an environment-controlled coverage design with risky, benign, and hard-negative conditions that validates pipeline soundness and adds a matched alternative-value control (same tasks, distinct synthetic credentials); (3) completion-requires-secret (CRS) stratification that disentangles task-mandated propagation (faithful execution of verbatim-transfer instructions) from policy-violating propagation (credentials included despite the option to redact). Across 3,615 main-benchmark traces from 5 models spanning 147 tasks and 9 mechanism families, policy-violating propagation rates of 11.5-41.3% persist across all models. This propagation is pathway-specific (rates from 0.0% to 74.4% across mechanisms for GPT-5.4) and concentrated in browser-mediated data flows; under the matched alternative-value control, propagation persists (25.9% vs. 20.4%; the matched-pair CI spans zero, so the comparison neither distinguishes nor equates the two rates). A prompt-mitigation study across 3 models shows policy-violating propagation rates as low as 0.3% (98% relative reduction from baseline) while preserving 80.5% utility, but effectiveness varies across models, motivating data-flow-aware defenses beyond prompting. Code, traces, and the labeling pipeline are publicly available under MIT and CC BY 4.0.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑