arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2606.15057cs.CRcs.AI
收藏

AutoDojo: 自适应攻击揭示LLM智能体的浅层防御与用户未指定限制

AutoDojo: A Generative Benchmark for Evaluating Prompt Injection Defenses in LLM Agents

University of Science and Technology of China(中国科学技术大学)

Xinhang Ma, Taoran Li, Chaowei Xiao, Zhiyuan Yu, Ning Zhang, Yevgeniy Vorobeychik

AI总结:

针对间接提示注入防御的静态基准不足,提出自适应攻击框架AutoDojo,通过迭代优化注入突破多数防御,并揭示动作开放任务的结构性限制。

摘要:

间接提示注入(IPI)是基于LLM的智能体的主要安全威胁。因此,越来越多的工作提出了各种防御方法,可分为三类:1)基于提示的(使用提示来防止智能体遵循恶意指令),2)基于检测的(识别和过滤恶意指令),3)系统级的(利用系统洞察,如控制和数据隔离,进行防御)。然而,常用的防御评估基准(如AgentDojo)本质上是静态的,生成固定的IPI攻击分布。因此,静态基准无法有效评估防御对自适应威胁的鲁棒性。我们通过开发AutoDojo来解决这个问题,它是AgentDojo的自适应扩展,针对给定防御优化IPI。使用AutoDojo对三个任务套件和五个目标模型上的最先进IPI防御进行评估,我们有两个关键发现。首先,许多防御仅提供有限保护:一种廉价的、黑盒自适应攻击,使用前沿LLM迭代优化注入,在几乎所有评估的防御上,攻击成功率(ASR)远高于静态注入达到的水平。针对将静态ASR降至0%的过滤器,AutoDojo整体恢复28%,在动作开放任务上恢复64%。其次,对于提示级和基于过滤器的防御,在动作开放任务(用户请求将动作本身委托给攻击者控制的内容)上的ASR远高于精确指定的任务。这是一个结构性限制:在此类任务上,注入可以伪装成普通数据而非显式指令,绕过依赖检测指令文本的防御。AutoDojo公开可用:https://github.com/xhOwenMa/AutoDojo。

英文摘要:

Indirect prompt injection (IPI) is a major security threat to LLM-powered agents. Thus, a growing body of work has proposed a variety of defensive approaches against IPI which can be grouped into three broad categories: prompt-level, filter-based, and system-level designs. However, commonly used benchmarks for evaluating defense, such as AgentDojo, are \emph{inherently static}, generating a fixed distribution of IPI attacks. Consequently, a defense can score well on them without being robust to adaptive threats. We introduce \textbf{AutoDojo}, a generative benchmark built on AgentDojo and AgentDyn that generates IPI \emph{adaptively} for a given agent and defense. It supports six task suites across the two benchmarks, covering banking, communication, travel, shopping, coding, and everyday-assistant domains. AutoDojo optimizes injections under a strict black-box setting, observing only whether a candidate injection succeeds, and can readily integrate, and often improve on, any existing black-box attack. Across ten defenses and five target models, AutoDojo demonstrates that standard static benchmarks often significantly overestimate defense efficacy. Moreover, we show that most existing defenses either sacrifice considerable utility or are insecure. Finally, we demonstrate that attack success interacts with task specification, with under-specified tasks particularly vulnerable. AutoDojo is available at https://github.com/xhOwenMa/AutoDojo

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

↑