有毒剧本:揭秘知识投毒对AI安全代理的影响
Poisoned Playbooks: Demystifying Knowledge Poisoning Effects on AI Security Agents
AI总结:
研究揭示通过RAG注入单条有毒安全知识可系统性改变AI安全代理行为,提出验证边界(VB)分类法,并评估验证提示与多源检索的防御效果。
摘要:
AI安全代理越来越依赖检索增强生成(RAG)来使用外部安全知识进行漏洞分析和利用推理。这带来了新的风险:有毒的write-up可以被操作化为不正确的利用行为。然而,先前关于RAG投毒的研究主要研究问答设置中的答案破坏,对采取行动的安全代理知之甚少。本文旨在通过针对现实世界挑战和AI代理精心设计的毒物来揭示此类特征。首先,我们展示了如何将一条精心设计的单条有毒write-up注入到公共风格的安全知识源中(我们称之为有毒剧本),从而改变基于RAG的AI安全代理的行为。在11个CTF挑战、3个前沿LLM家族、2个模型代际和11个现实世界CVE中,我们发现毒物采纳是系统性的而非随机的。为了解释这种模式,我们引入了验证边界(VB),这是一个基于代理可以用来反驳检索到的声明的证据的3级经验分类。最后,我们评估了验证提示和多源检索,表明两者在存在更强证据时都有帮助,但在稀疏证据和零日条件下会减弱。
英文摘要:
AI security agents increasingly rely on Retrieval-Augmented Generation (RAG) to use external security knowledge for vulnerability analysis and exploit reasoning. This creates a new risk: poisoned write-ups can be operationalized into incorrect exploit behavior. Yet, prior work on RAG poisoning has mostly studied answer corruption in QA settings, much less is known about action-taking security agents. This paper aims to reveal such characteristics with crafted poisons about real-world challenges and AI agents. First, we demonstrate how a crafted single poisoned write-up injected into public-style security knowledge sources which we denote as Poisoned Playbooks, alters the behavior of RAG-based AI security agents. Across 11 CTF challenges, 3 frontier LLM families, 2 model generations, and 11 real-world CVEs, we find that poison adoption is systematic rather than random. To explain this pattern, we introduce the Verification Boundary (VB), a 3-level empirical classification based on what evidence the agent can use to refute a retrieved claim. Finally, we evaluate verification prompting and multi-source retrieval, showing that both help when stronger evidence exists, but weaken under sparse-evidence and zero-day conditions.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。