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

AutoPI:针对LLM智能体提示注入的分类引导自适应红队测试

AutoPI: Taxonomy-Guided Adaptive Red Teaming for Prompt Injection in LLM Agents

Stavros Damianakis, Konstantinos Psounis

AI总结:

本文提出AutoPI,一种基于PIAtlas分类体系的自适应红队测试工具,可提升LLM智能体提示注入攻击的覆盖度与成功率,优于现有工具。

摘要:

提示注入是LLM智能体面临的主要未解决安全风险,目前学界一致认为,鲁棒性测试需针对自适应攻击者而非固定基准注入。现有多数自适应红队测试工具旨在最大化攻击成功率(ASR),但ASR仅统计目标被攻破的频率,未覆盖攻击方式的多样性——部分工具通过重复少数有效技术实现高ASR,导致其他技术未被测试,无法用于模型加固。本文提出AutoPI,一种旨在寻找多种不同攻破方式而非仅高频攻破的自适应红队测试工具。AutoPI采用PIAtlas(提示注入技术分类体系)引导搜索并衡量覆盖度:针对每个场景,攻击者LLM为分类体系中的每个子技术生成注入提示,再利用LLM评判器的反馈修改失败的提示。该方法为黑盒、无训练,可替代现有基准中的固定攻击模板,且能随分类体系更新保持时效性。我们在AgentDojo和IPI Arena上对开源及专有目标模型评估AutoPI,除ASR外,还报告技术覆盖度(即分类体系中至少产生一次成功注入的类别、技术及子技术的比例)。在AgentDojo上,AutoPI针对Qwen3.6-35B在分类体系的全部6个类别及90%以上技术中找到成功注入;针对我们评估中最鲁棒的目标Claude Haiku 5.5,其ASR较近期最先进自适应红队测试工具高20%-50%,类别级覆盖度高25%-400%,且无需训练。我们发布代码及生成的攻击以支持可复现、覆盖度感知的评估。

英文摘要:

Prompt injection is the dominant unsolved security risk for LLM agents, and the community now agrees that robustness must be measured against adaptive attackers rather than fixed benchmark injections. Many adaptive red teamers exist, and most are built to maximize attack success rate (ASR). Yet ASR counts how often a target breaks, not in how many different ways. A red teamer can achieve a high ASR by reusing a few techniques that work, leaving the others untested and absent from the attacks used to harden models. We present AutoPI, an adaptive red teamer designed to find many different ways to break a target, not just to break it often. AutoPI uses PIAtlas, a taxonomy of prompt-injection techniques, both to guide its search and to measure coverage. For each scenario, an attacker LLM writes an injection for every sub-technique in the taxonomy and then reworks the ones that fail using feedback from an LLM judge. The method is black-box and training-free, it plugs into existing benchmarks in place of their fixed attack templates, and it stays up to date as the taxonomy evolves. We evaluate AutoPI on AgentDojo and IPI Arena against open-weight and proprietary target models. Alongside ASR, we report technique coverage, the fraction of taxonomy classes, techniques, and sub-techniques that yield at least one successful injection. On AgentDojo, AutoPI finds a successful injection against Qwen3.6-35B in all six classes of the taxonomy and for more than 90% of its techniques. Against Claude Haiku 5.5, the most robust target we evaluate, it achieves between 20% and 50% higher ASR and between 25% and 400% higher class-level coverage than recent state-of-the-art adaptive red teamers, while requiring no training. We release our code and the generated attacks to support reproducible, coverage-aware evaluation.

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

↑