模型上下文协议(MCP)取代了静态、由开发者控制的API集成,转而采用更加动态、由用户驱动的代理系统,这也引入了新的安全风险。随着MCP在社区服务器和主要平台上的广泛应用,组织面临现有AI治理框架(如NIST AI RMF和ISO/IEC 42001)尚未详细涵盖的威胁。我们聚焦于三种利用MCP灵活性的攻击者类型:嵌入恶意指令到否则合法数据中的内容注入攻击者;分发被篡改服务器的供应链攻击者;以及因越权而成为无意敌人的代理。基于早期事件和概念验证攻击,我们描述了MCP如何通过数据驱动的外泄、工具污染和跨系统权限提升增加攻击面。对此,我们提出了一套实用的控制措施,包括基于用户的认证与受限制的授权、跨代理工作流的溯源追踪、容器化沙箱与输入输出检查、内联策略执行与数据泄露防护和异常检测,以及通过私有注册表或网关层实现的集中治理。目标是帮助组织确保未经审查的代码不会在沙箱外运行,工具不会超出其预期范围使用,数据外泄尝试可被检测到,且所有操作均可进行端到端审计。最后,我们概述了关于可验证注册表、这些动态系统的形式方法以及隐私保护的代理操作等开放性研究问题。
英文摘要:
The Model Context Protocol (MCP) replaces static, developer-controlled API integrations with more dynamic, user-driven agent systems, which also introduces new security risks. As MCP adoption grows across community servers and major platforms, organizations encounter threats that existing AI governance frameworks (such as NIST AI RMF and ISO/IEC 42001) do not yet cover in detail. We focus on three types of adversaries that take advantage of MCP s flexibility: content-injection attackers that embed malicious instructions into otherwise legitimate data; supply-chain attackers who distribute compromised servers; and agents who become unintentional adversaries by over-stepping their role. Based on early incidents and proof-of-concept attacks, we describe how MCP can increase the attack surface through data-driven exfiltration, tool poisoning, and cross-system privilege escalation. In response, we propose a set of practical controls, including per-user authentication with scoped authorization, provenance tracking across agent workflows, containerized sandboxing with input/output checks, inline policy enforcement with DLP and anomaly detection, and centralized governance using private registries or gateway layers. The aim is to help organizations ensure that unvetted code does not run outside a sandbox, tools are not used beyond their intended scope, data exfiltration attempts are detectable, and actions can be audited end-to-end. We close by outlining open research questions around verifiable registries, formal methods for these dynamic systems, and privacy-preserving agent operations.
Options, Not Clicks: Lattice Refinement for Consent-Driven MCP Authorization
University of California, Los Angeles(加州大学洛杉矶分校);University of California, San Diego(加州大学圣地亚哥分校);University of Texas at Arlington(德克萨斯大学阿灵顿分校);University of California, Santa Barbara(加州大学圣芭芭拉分校)
When the Manual Lies: A Realistic Benchmark to Evaluate MCP Poisoning Attacks for LLM Agents
Institute of Information Engineering, Chinese Academy of Sciences, Beijing, China(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences, Beijing, China(中国科学院大学网络安全学院)
Systematization of Knowledge: Security and Safety in the Model Context Protocol Ecosystem
Tribhuvan University(特里布文大学);University of North Dakota(北达科他大学);Youngstown State University(亚当斯州立大学);University of Missouri(密苏里大学);University of Toledo(托莱多大学)
Open Challenges in Multi-Agent Security: Towards Secure Systems of Interacting AI Agents
Oxford Witt Lab, University of Oxford(牛津Witt实验室,牛津大学);Department of Engineering Science, University of Oxford(牛津大学工程科学系);Association for Computing Machinery (ACM)(计算机协会(ACM));Independent(独立);MATS Research(MATS研究);CyLab Security & Privacy Institute, Carnegie Mellon University(CyLab安全与隐私研究所,卡内基梅隆大学);Qualcomm Inc.(高通公司);Oxford Martin AI Governance Initiative(牛津马丁人工智能治理倡议);Carnegie Mellon University(卡内基梅隆大学);MIT Media Lab(麻省理工媒体实验室);SAP SE(SAP德国分公司);OWASP GenAI Security Project - Agentic Security Initiative(OWASP生成式AI安全项目-代理安全倡议);Contramont Research(Contramont研究);The Alan Turing Institute(艾伦·图灵研究所);Department of Economics, New York University(纽约大学经济系);Zenity(Zenity公司);King’s College London(伦敦国王学院);Arizona State University(亚利桑那州立大学);Torr Vision Group, University of Oxford(托尔视觉组,牛津大学);Deep Cyber Ltd(Deep Cyber有限公司)