AgentRedBench: 针对SaaS集成的LLM代理的动态红队测试与集成感知防御
AgentRedBench: Dynamic Redteaming and Integration-Aware Defense for LLM Agents over SaaS Integrations
AI总结:
针对LLM代理在工具使用中面临的间接提示注入威胁,提出动态红队基准AGENTREDBENCH(覆盖24个企业集成、5种攻击类型)和基于集成多样语料训练的防御模型AGENTREDGUARD,将攻击成功率从69.9%降至2.4%,误报率仅0.37%。
摘要:
工具使用代理中的间接提示注入是一个具体的生产威胁:LLM代理读取来自集成(通过工具调用访问的第三方服务,如Gmail、Salesforce或Jira)的响应内容,用户既未编写也无法控制这些内容。现有基准低估了该威胁:大多数仅覆盖少量集成,且每次运行重复相同的攻击载荷,而开源防护模型是在聊天风格数据而非工具响应内容上训练的。我们引入了AGENTREDBENCH,这是一个动态的LLM驱动的红队测试基准,包含215个微妙的未明确授权场景(在用户请求授权边界上的攻击),涵盖9个功能家族、24个企业集成和5种攻击类型。在八模型面板(Anthropic、OpenAI、Google)上,无防护的攻击成功率(ASR)范围从32%(Claude Sonnet 4.6)到81%(Gemini 3 Flash)。为了保持场景集不在训练语料中,并随时间保持标题ASR的意义,我们开源了代码库、集成模式和AGENTREDGUARD模型;规范场景通过维护者中介渠道进行评估,具有不可变版本控制。我们随基准发布了AGENTREDGUARD:一个在集成多样化的对抗性工具响应内容语料上训练的防护模型。AGENTREDGUARD将面板ASR从69.9%降至2.4%,误报率为0.37%,在两个指标上均优于所有具有非平凡检测能力的开源基线(Llama Guard、PromptGuard 2、ProtectAI)。跨集成和跨攻击类型的保留测试均证实了增益在训练子集之外具有迁移性。
英文摘要:
Indirect prompt injection in tool-use agents is a concrete production threat: LLM agents read from integrations (third-party services such as Gmail, Salesforce, or Jira accessed through tool calls) whose response content the user neither writes nor controls. Existing benchmarks under-measure the threat: most cover only a handful of integrations with the same attack payload replayed across runs, and open-source guards are trained on chat-style data rather than tool-response content. We introduce AGENTREDBENCH, a dynamic LLM-driven redteaming benchmark of 215 subtle underspecified-authorization scenarios across 24 enterprise integrations and five attack types. Across an eight-model panel (Anthropic, OpenAI, Google), no-guard attack success rate ranges from 32% to 81%. To keep the scenario set out of training corpora and preserve headline ASR meaning over time, we release the codebase, integration schemas, and AGENTREDGUARD model openly; the canonical scenarios are evaluated through a maintainer-mediated channel with immutable versioning. AGENTREDGUARD cuts online attack success by 75-77pp across three target model families (Haiku, GPT-5.4-mini, Gemini-3-flash) at 0.0% real-benign false-positive rate (0.2% on a synthetic-benign corpus), outperforming every open-source baseline with non-trivial detection (Llama Guard, PromptGuard 2, ProtectAI) on both axes. Cross-integration and cross-attacker holdouts (two independent attacker families held out from training) confirm the gain transfers beyond the training subset.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。