SPILLWAY: Separating Target Admission from Sanitization to Defend Tool-Using Agents against Prompt Injection
- ID: d9308155
- 来源: https://arxiv.org/abs/2611.07222
- 作者: Woosang Lim, Yeseul Chang, Jaewoo Lee
- 发表: 2026-11-04 - arXiv 2611.07222 - cs.CR, cs.AI
- 证据: opencli arxiv paper 2611.07222 -f json 元数据与摘要(2026-11-09 抓取)
Abstract(原文)
Tool-using agents act on email, files, and payments, so an instruction hidden in a web page or a shared document can make an agent send data or money to an attacker. Many runtime defenses put a language model on the decision that lets an action through, so the decision depends on a model that may read the attacker's text and adds model calls to every step. Provenance defenses keep the model off the final check but need a model to plan or route each task first. Where an action goes can instead be read from the tools' typed returns: an email's sender or a payment's account arrives in a typed field, while injected instructions arrive as free text. SPILLWAY turns this observation into a deterministic floor with no per-task plan. The check admits a call when each target value that appears in tool output but not in the user's task was returned by a read-only tool in a typed field or is covered by a fixed delegation rule. A deterministic sanitizer removes instruction-like regions its fixed rules match before the model reads them and retains the removed spans as evidence, and a local judge may restore a refused call, never one whose target lies in the removed text. Across three backbones, and seven task suites on one of them, no standard templated injection redirects an action to an attacker's target under SPILLWAY, at the highest observed mean utility and composite scores (NRP, ERS) of the defenses we run under that attack. A forged chat template also produces a raw zero, and mean in-scope attack success under a released reinforcement-learning attacker is .007. SPILLWAY reaches this floor with no defense-triggered backbone re-run and almost no added model call. As personal AI agents act on users' email, files, and payments, SPILLWAY gives them an auditable refusal floor on where their actions go that keeps them useful and holds across backbones.
中文要点
面向工具型 Agent 的提示注入防御:SPILLWAY 把"动作去向许可"与"内容清洗"分开。注入指令以自由文本到达,而动作目标(邮件发件人、收款账户)来自工具的类型化返回字段。确定性检查只放行"目标值来自只读工具的类型化字段或固定委托规则"的调用;固定规则清洗器在模型读取前剥除指令样片段,本地 judge 只能恢复被拒调用、不能放行指向已删文本的目标。三个骨干、七个任务套件上标准模板注入均无法把动作重定向到攻击者目标,RL 攻击者下平均成功率 0.007,几乎不增加模型调用。
Field Notes
- 类型化字段 vs 自由文本的可判定性是核心洞察:动作去向检查可以不依赖模型判断
- 确定性底线(零模板注入重定向 + RL 攻击者 0.007)而非概率性防御,几乎零额外模型调用