arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.17634cs.CRcs.CLcs.CY
收藏

AI Agents May Always Fall for Prompt Injections

AI Agents May Always Fall for Prompt Injections

ELLIS Institute Tübingen & MPI-IS & Tübingen AI Center(图宾根ELLIS研究所及MPI-IS与图宾根人工智能中心);University of Massachusetts Amherst(马萨诸塞大学阿默斯特分校)

Sahar Abdelnabi, Eugene Bagdasarian

AI总结:

本文基于上下文完整性理论重新审视提示注入问题,揭示了现有防御机制的不足,并提出了一种新的评估框架来设计更安全的自主代理。

摘要:

提示注入是部署中的AI代理最严重的漏洞。尽管近年来有进展,但我们证明现有的防御范式(数据-指令分离)既无法检测通过上下文操纵进行的攻击,也无法保持上下文合适的行為。我们通过上下文完整性(CI)理论重新审视提示注入,这是一种判断信息流是否符合上下文规范的隐私理论。这解释了当前防御试图修补的攻击类型,并预测了未来代理将面临更高级的攻击。我们开发了独特的良性和攻击场景,迫使代理通过(1)错误表示流动、(2)操纵规范或(3)混合多种流动来违反规范。这种重新界定表明了一个不可能的结果:攻击者可以始终构造一个上下文,使被阻止的流动看起来合法,或者一个收紧规范的防御者会阻止真正合法的流动。我们的发现表明,当前研究只针对未来攻击面中越来越小的一部分。相反,通过CI,我们提供了一个评估上下文敏感失败的原理性框架,并为前沿自主代理设计CI-aware的对齐方法。

英文摘要:

Prompt injection is the most critical vulnerability in deployed AI agents. Despite recent progress, we show that the prevailing defense paradigm (data-instruction separation) both fails to detect attacks that operate through contextual manipulation and degrades contextually appropriate behavior. We then recast prompt injection via the lens of Contextual Integrity (CI), a privacy theory that judges information flow compliance with contextual norms. This explains types of attacks that current defenses attempt to patch and predict advanced ones future agents will face. We develop unique benign and attack scenarios that force an agent to violate the norms by (1) misrepresenting the flow, (2) manipulating norms, or (3) mixing multiple flows. This reframing suggests an impossibility argument: an adversary can always construct a context under which a blocked flow appears legitimate, or a defender who tightens norms will block genuinely legitimate flows. Our findings suggest that current research addresses a shrinking fraction of future attack surfaces. Instead, through CI, we offer a principled framework for evaluating context-sensitive failures, and designing CI-aware alignment for frontier autonomous agents.

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

↑