arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.26479cs.CRcs.AIcs.CLcs.LG
收藏

LLM智能体中针对提示注入的带外防御的自适应评估

Adaptive Evaluation of Out-of-Band Defenses Against Prompt Injection in LLM Agents

LaunchSafe Research(LaunchSafe研究院)

Praneeth Narisetty, Shiva Nagendra Babu Kore, Uday Kumar Reddy Kattamanchi, Jayaram Kumarapu

AI总结:

本文组织带外防御(如CaMeL、Progent)为经典完整性保护与引用监视实例,并在AgentDojo上对Qwen2.5-7B代理进行自适应评估,结果显示Progent将攻击成功率从25.8%降至4.2%,手工自适应攻击未提升成功率。

摘要:

近期工作(2024至2026年)已就防御使用工具的LLM智能体免受间接提示注入的策略达成共识:不是训练模型拒绝恶意指令,而是在模型外部通过确定性策略强制执行安全性,以中介智能体的行动。诸如CaMeL、FIDES、Progent、RTBAS和FORGE等系统通过能力、信息流标签和引用监视器实现这一点,并且多个系统报告在AgentDojo基准测试上几乎消除了攻击。我们做出两项贡献。首先,我们将这些带外防御组织为经典完整性保护(Biba)、引用监视和最小权限的实例,从而对其覆盖与未覆盖的内容进行结构化比较。其次,我们警告说,每一个防御都仅在静态基准(一组固定的注入尝试)上得到验证,而正是同样的方法论曾使带内防御看起来强大,直到自适应、防御感知的攻击以超过90%的成功率突破了其中十二个;我们指定了自适应评估所需的威胁模型和协议。然后,我们在AgentDojo上,使用一个自托管在单个H200上的开放权重智能体(Qwen2.5-7B)——其作者未测试过的设置——作为Progent自身自适应攻击分析的独立复现和扩展来运行该协议。平均三次运行,防御成立:Progent将平均攻击成功率大致降低了六倍(从25.8%降至4.2%),而手工制作的自适应攻击并未提高成功率(2.6%)。这是一个在弱模型上使用单个黑盒攻击模板的小规模数据点;更强的优化(白盒GCG)攻击仍然开放。该结果与确定性带外强制措施对自适应攻击者而言比带内检测更难攻击的假设一致,但并未证实该假设。

英文摘要:

Recent work (2024 to 2026) has converged on a strategy for defending tool-using LLM agents against indirect prompt injection: rather than training the model to refuse malicious instructions, enforce security outside the model with a deterministic policy that mediates the agent's actions. Systems such as CaMeL, FIDES, Progent, RTBAS, and FORGE realize this with capabilities, information-flow labels, and reference monitors, and several report near-elimination of attacks on the AgentDojo benchmark. We make two contributions. First, we organize these out-of-band defenses as instances of classical integrity protection (Biba), reference monitoring, and least privilege, yielding a structured comparison of what they do and do not cover. Second, we warn that every one of them is validated only on static benchmarks (a fixed set of injection attempts), the same methodology that made in-band defenses look strong until adaptive, defense-aware attacks broke twelve of them at over 90% success; we specify the threat model and protocol an adaptive evaluation requires. We then run that protocol as an independent reproduction and extension of Progent's own adaptive-attack analysis, on AgentDojo, with an open-weight agent (Qwen2.5-7B) self-hosted on a single H200, a setting its authors did not test. Averaged over three runs, the defense held: Progent cut mean attack success roughly sixfold (25.8% to 4.2%), and a hand-crafted adaptive attack did not raise it (2.6%). This is one small-scale data point on a weak model with a single black-box attack template; a stronger optimized (white-box GCG) attack remains open. The result is consistent with, but does not establish, the hypothesis that deterministic out-of-band enforcement is a harder target for an adaptive attacker than in-band detection.

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

↑