arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2511.20920cs.CR
收藏

保障模型上下文协议(MCP):风险、控制与治理

Securing the Model Context Protocol (MCP): Risks, Controls, and Governance

Vanta;MintMCP;Darktrace

Herman Errico, Jiquan Ngiam, Shanita Sojan

AI总结:

本文研究MCP协议的安全风险,提出基于用户认证、溯源追踪、容器沙箱和集中治理的控制措施,旨在防范未经审查的代码和数据外泄,确保系统安全与合规。

摘要:

模型上下文协议(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.

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

↑