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

构建安全的AI代理:系统级防御间接提示注入攻击的视角

Architecting Secure AI Agents: Perspectives on System-Level Defenses Against Indirect Prompt Injection Attacks

NVIDIA(英伟达);Independent Researcher(独立研究员);Johns Hopkins University(约翰霍普金斯大学)

Chong Xiang, Drew Zagieboylo, Shaona Ghosh, Sanjay Kariyappa, Kai Greshake, Hanshen Xiao, Chaowei Xiao, G. Edward Suh

AI总结:

本文探讨了针对间接提示注入攻击的系统级防御策略,提出动态重计划、安全策略更新及人类交互在代理设计中的重要性,同时指出现有基准的局限性及系统级防御的价值。

摘要:

AI代理,主要依赖大语言模型(LLMs),易受间接提示注入攻击影响,其中恶意指令嵌入在不可信数据中可能触发危险行为。本文讨论了系统级防御的愿景,提出三大观点:动态任务和现实环境需要动态重计划和安全策略更新;某些依赖上下文的安全决策仍需LLM或其他学习模型,但应在严格限制模型观察和决策的系统设计中进行;在本质上模糊的情况下,个性化和人类交互应作为核心设计考虑。此外,本文讨论了现有基准的局限性,可能造成虚假的实用性和安全性感知,同时强调了系统级防御的价值,它们通过结构化和控制代理行为,整合基于规则和模型的安全检查,促进对模型鲁棒性和人类交互的更针对性研究。

英文摘要:

AI agents, predominantly powered by large language models (LLMs), are vulnerable to indirect prompt injection, in which malicious instructions embedded in untrusted data can trigger dangerous agent actions. This position paper discusses our vision for system-level defenses against indirect prompt injection attacks. We articulate three positions: (1) dynamic replanning and security policy updates are often necessary for dynamic tasks and realistic environments; (2) certain context-dependent security decisions would still require LLMs (or other learned models), but should only be made within system designs that strictly constrain what the model can observe and decide; (3) in inherently ambiguous cases, personalization and human interaction should be treated as core design considerations. In addition to our main positions, we discuss limitations of existing benchmarks that can create a false sense of utility and security. We also highlight the value of system-level defenses, which serve as the skeleton of agentic systems by structuring and controlling agent behaviors, integrating rule-based and model-based security checks, and enabling more targeted research on model robustness and human interaction.

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

↑