基于大型语言模型的代理正越来越多地部署在高风险环境中,处理外部数据源如电子邮件、文档和代码仓库。这使得代理面临间接提示注入攻击的风险,其中对抗性指令嵌入在外部内容中,通过操纵代理行为而不被用户察觉。这一威胁的关键但未被充分研究的维度是隐藏性:由于用户通常只观察代理的最终响应,攻击可以通过在最终面向用户的响应中不留下任何线索来隐藏其存在,同时成功执行有害操作。这使用户无法察觉操纵,并可能接受有害结果作为合法的。我们通过大规模公开的红队竞赛评估了这一双重目标,涵盖三个代理设置:工具调用、编程和计算机使用。竞赛吸引了464名参与者,提交了272000次攻击尝试,针对13个前沿模型,产生了8648次成功攻击,涵盖41种场景。所有模型均易受攻击,攻击成功率从0.5%(Claude Opus 4.5)到8.5%(Gemini 2.5 Pro)。我们识别出适用于21种41种行为的通用攻击策略,并且适用于多个模型家族,表明在指令遵循架构中存在根本性弱点。能力和鲁棒性显示弱相关性,Gemini 2.5 Pro表现出高能力和高易受攻击性。为了解决基准饱和和过时问题,我们将通过持续的红队竞赛提供季度更新。我们开源了竞赛环境以供评估使用,并提供了95次针对Qwen的成功攻击,这些攻击未转移到任何封闭源模型。我们与相应的前沿实验室以及英国AISI和美国CAISI分享了模型特定的攻击数据和完整数据集,以支持鲁棒性研究。
英文摘要:
LLM based agents are increasingly deployed in high stakes settings where they process external data sources such as emails, documents, and code repositories. This creates exposure to indirect prompt injection attacks, where adversarial instructions embedded in external content manipulate agent behavior without user awareness. A critical but underexplored dimension of this threat is concealment: since users tend to observe only an agent's final response, an attack can conceal its existence by presenting no clue of compromise in the final user facing response while successfully executing harmful actions. This leaves users unaware of the manipulation and likely to accept harmful outcomes as legitimate. We present findings from a large scale public red teaming competition evaluating this dual objective across three agent settings: tool calling, coding, and computer use. The competition attracted 464 participants who submitted 272000 attack attempts against 13 frontier models, yielding 8648 successful attacks across 41 scenarios. All models proved vulnerable, with attack success rates ranging from 0.5% (Claude Opus 4.5) to 8.5% (Gemini 2.5 Pro). We identify universal attack strategies that transfer across 21 of 41 behaviors and multiple model families, suggesting fundamental weaknesses in instruction following architectures. Capability and robustness showed weak correlation, with Gemini 2.5 Pro exhibiting both high capability and high vulnerability. To address benchmark saturation and obsoleteness, we will endeavor to deliver quarterly updates through continued red teaming competitions. We open source the competition environment for use in evaluations, along with 95 successful attacks against Qwen that did not transfer to any closed source model. We share model-specific attack data with respective frontier labs and the full dataset with the UK AISI and US CAISI to support robustness research.
AdapTools: Adaptive Tool-based Indirect Prompt Injection Attacks on Agentic LLMs
College of Computing(计算学院);Data Science, Nanyang Technological University, Singapore(数据科学,南洋理工大学,新加坡);School of Computer Science, Peking University, China(计算机科学学院,北京大学,中国)
ICON: Indirect Prompt Injection Defense for Agents based on Inference-Time Correction
College of Computing and Data Science, Nanyang Technological University, Singapore(计算与数据科学学院,南洋理工大学,新加坡);Alibaba(阿里巴巴);School of Computer Science, Peking University, China(计算机科学学院,北京大学,中国)
Defending against Indirect Prompt Injection by Instruction Detection
Renmin University of China(中国人民大学);Peking University Shenzhen Graduate School(北京大学深圳研究生院);Wuhan University(武汉大学);University of Science and Technology of China(中国科学技术大学);Hong Kong University of Science and Technology(香港科技大学);Sony AI(索尼人工智能);Microsoft Research Asia(微软亚洲研究院)
Beyond Over-Refusal: Defending Indirect Prompt Injection via Latent Instruction Manifolds
Zhejiang University(浙江大学);Hong Kong Polytechnic University(香港理工大学);University of Science and Technology of China(中国科学技术大学);OPPO Research Institute(OPPO研究院)
AgentSentry: Mitigating Indirect Prompt Injection in LLM Agents via Temporal Causal Diagnostics and Context Purification
Key Laboratory of Aerospace Information Security and Trusted Computing, Ministry of Education, School of Cyber Science and Engineering, Wuhan University(航空信息安全与可信计算重点实验室、教育部、网络安全科学与工程学院、武汉大学);Department of Computer Science and Engineering, University at Buffalo, SUNY(计算机科学与工程系、布法罗大学、纽约州立大学);Department of Computer Science, College of Information Science and Technology, Jinan University(计算机科学系、信息科学与技术学院、济南大学);College of Cyber Security, Jinan University(网络安全学院、济南大学)
ActGuard: Pre-execution Action Auditing against Indirect Prompt Injection in LLM Agents
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络空间安全学院);School of Cyber Science and Technology, Beihang University(北京航空航天大学网络空间安全学院);University of Wisconsin–Madison(威斯康星大学麦迪逊分校)