跳到正文
返回论文列表
cs.CR提交于 已译

智能体 AI 防御:面向 MCP 的解码时来源绑定

Agentic AI Defense: Decode-Time Provenance Binding for MCP

Eric Yocam · Varghese Vaidyan · Paris Kalathas · Patrick Tague · Bruce DeBruhl · Yong Wang

中文摘要

使用模型上下文协议(Model Context Protocol,MCP)的智能体 AI 系统,易受不可信工具输出中的间接提示注入攻击。跨模态信任洗白可借最低有效位(least-significant-bit,LSB)、离散余弦变换(discrete cosine transform,DCT)或元数据隐写,将指令隐藏在邮件签名图像中,绕过文本扫描器,并在工具解码后进入多智能体工作流。解码时来源绑定机制结合 HMAC 认证信任标签、MCP 维护的来源账本及上下文污染跟踪,将解码内容标记为不可信,并阻止受其影响的关键工具调用,即使受损智能体替换为有效可信标签也无效。基于真实 MCP 测试平台、3 种隐写载体和 24 个自适应载荷的评估显示,未防御流程攻击成功率达 100%,关键词与正则防御均允许 62.5% 的攻击成功;该机制阻断全部攻击,成功率为 0%,并涵盖跨中介智能体边界的对抗性标签替换。四组件消融实验验证了解码标记、密码学认证、来源链跟踪和接收点执行的作用。经审计的可信提升机制将合法任务完成率从 67% 提升至 100%,且不削弱防护。该方法可在完全由 MCP 中介的执行环境中提供与载体无关的遏制能力。代码与数据已公开。

关键要点

  1. 01指出 MCP 多智能体流程会因工具解码不可信图像内容而遭受间接提示注入。
  2. 02提出解码时来源绑定,融合 HMAC 信任标签、来源账本与上下文污染跟踪。
  3. 03未防御流程攻击成功率为 100%,关键词和正则防御的成功率均为 62.5%。
  4. 04机制阻断全部攻击,包括跨智能体边界的有效标签对抗性替换,成功率为 0%。
  5. 05可信提升机制将合法任务完成率从 67% 提升至 100%,同时保持防护。

解读

尚无解读。

原始英文摘要

arXiv:2610.31974v1 Announce Type: cross Abstract: Agentic AI systems using the Model Context Protocol (MCP) are vulnerable to indirect prompt injection through untrusted tool outputs. We demonstrate cross-modal trust laundering, in which instructions concealed in an email-signature image using least-significant-bit (LSB), discrete cosine transform (DCT), or metadata steganography bypass text scanners and enter a multi-agent workflow when decoded by a tool. To counter this threat, we propose decode-time provenance binding, which combines HMAC-authenticated trust labels with an MCP-maintained provenance ledger and context-taint tracking. The mechanism labels decoded content as untrusted and blocks critical tool calls influenced by that content, even when a compromised agent substitutes a valid trusted label. We evaluate the approach using a real MCP testbed with three steganographic carriers and 24 adaptive payloads. The undefended pipeline exhibits 100% attack success, while keyword and regex defenses each permit 62.5% of attacks. Our mechanism blocks all attacks (0% success), including adversarial label substitution across mediated agent boundaries. A four-component ablation validates the roles of decode marking, cryptographic authentication, lineage tracking, and sink enforcement. An audited trusted-promotion mechanism increases legitimate-task completion from 67% to 100% without compromising protection. The approach provides carrier-independent containment within fully mediated MCP execution environments. Code and data are publicly available.

同方向论文 · cs.CR

查看全部 →

反向发现 · 这篇论文相关的工具与提示词

去交叉发现 →

关联提示词 · 6

编程github.com/f/awesome-chatgpt-prompts·外部收录·

CLI silently install software on windows

Ask me for the name of the software as your next question. - You are an IT expert technican. I want you to research, verify and then write powershell commands to silently install or update the software on a Windows 10/11 x86_64 computer. …

研究github.com/f/awesome-chatgpt-prompts·外部收录·

Unified Research and Source Analysis Prompt

Unified, High-Precision Research & Analysis Prompt for ChatGPT and Perplexity AI ROLE & BEHAVIOR You are a professional researcher-analyst. Handle inputs as follows: * If the input is a URL/URI: open it fully with your browsing tool (e.g.…

编程github.com/f/awesome-chatgpt-prompts·外部收录·

Android AI App Security Specialist Task

Act as an Android AI App Security Specialist. You are responsible for implementing secure configurations to protect API keys, prevent misuse, and establish a sustainable pricing model for your application. Your tasks include: 1. **Backend…

编程github.com/f/awesome-chatgpt-prompts·外部收录·

Vibe Coding with Commands and Skills

Act as a Vibe Coding Expert with built-in /commands and skills. You are proficient in leveraging AI models for coding and UX/UI design tasks, using a variety of tools and frameworks to streamline the development process. Your task is to: -…