arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.20776cs.CRcs.AI
收藏

INFUSE:面向智能体系统中间接提示注入的统一表面基准

INFUSE: A Unified Surface Benchmark for Indirect Prompt Injection in Agentic Systems

Vanderbilt University(范德堡大学)

Thuy Dung Nguyen, Jingyi Guo, Rana Seda Dubauskas, Sreepriya Damuluru, Taylor T. Johnson, Kevin Leach

AI总结:

研究针对智能体系统的间接提示注入问题,提出INFUSE基准,评估19款LLM的攻击成功率,发现提示级指令强化可降低攻击成功率,揭示安全-效用权衡。

摘要:

基于大语言模型(LLM)的智能体越来越多地执行包含Shell命令、代码修改、依赖安装及与远程服务交互的长周期端到端工作流,这种日益增长的自主性使其暴露于间接提示注入(IPI)风险中,即嵌入外部内容的对抗性指令被当作合法任务指令。然而现有评估往往聚焦于孤立的恶意字符串、单步工具调用或范围狭窄的智能体配置。我们提出INFUSE,一个用于评估长周期智能体工作流全生命周期中间接提示注入的端到端基准。INFUSE包含40个现实任务和涵盖5类威胁的56种攻击场景的结构化分类,攻击通过任务执行中遇到的现实交互表面注入,将评估范围扩展至仅在初始提示或孤立工具交互中放置的攻击之外。我们评估了来自GPT、Claude、Gemini、Llama、Gemma和Qwen系列的19个LLM,生成了41824条对抗轨迹(其中26220条无防御措施)和720条良性参考运行。在基准测试中,基于LLM评估的平均攻击成功率为19.6%,基于启发式验证的为15.4%,各模型的攻击成功率(ASR-L)在3.2%至41.9%之间。现有防护模型提供的保护有限,而提示级指令强化将平均攻击成功率从58.2%降至14.3%,揭示了显著但依赖于模型的安全-效用权衡。我们的代码可在该https URL获取。

英文摘要:

LLM-based agents increasingly execute long-horizon, end-to-end workflows involving shell commands, code modification, dependency installation, and interaction with remote services. This growing autonomy expands their exposure to indirect prompt injection (IPI), where adversarial instructions embedded in external content are interpreted as legitimate task directives. Existing evaluations, however, often focus on isolated malicious strings, single-step tool calls, or narrowly scoped agent configurations. We introduce INFUSE, an end-to-end benchmark for evaluating IPI throughout the lifecycle of long-horizon agent workflows. INFUSE comprises 40 realistic tasks and a structured taxonomy of 56 attack scenarios spanning five threat categories. Attacks are injected through realistic interaction surfaces encountered during task execution, extending evaluation beyond attacks placed only in initial prompts or isolated tool interactions. We evaluate 19 LLMs from the GPT, Claude, Gemini, Llama, Gemma, and Qwen families, producing 41,824 adversarial trajectories (26,220 without defenses) and 720 benign reference runs. Across the benchmark, mean attack success reaches 19.6% under LLM-based evaluation and 15.4% under heuristic verification, with per-model ASR-L ranging from 3.2% to 41.9%. Existing guard models provide limited protection, while prompt-level instructional hardening reduces mean attack success from 58.2% to 14.3%, revealing substantial but model-dependent security-utility trade-offs. Our code is available at https://github.com/judydnguyen/infuse.

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

↑