AI Agents为何可能始终难防提示注入:基于Contextual Integrity的分析
AI Agents May Always Fall for Prompt Injections
研究指出,当前AI Agents防御提示注入的主流范式(数据-指令分离)既无法检测通过上下文操纵实施的攻击,又会损害符合上下文的行为。作者以隐私理论Contextual Integrity(CI)重新审视提示注入,构造了迫使Agent违背信息流规范的良性场景与攻击场景,并提出不可能性论证:攻击者总能构造使被拦截信息流看似合法的上下文。
arXiv:2605.17634v2 Announce Type: replace-cross Abstract: 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.
来源:arXiv (AI + Vision + Imaging) · arxiv.org