Skip to content
简体中文

切换主题

arXiv 2611.07222 · cs.CR · 2026-11-04

SPILLWAY: Separating Target Admission from Sanitization to Defend Tool-Using Agents against Prompt Injection

Woosang Lim, Yeseul Chang, Jaewoo Lee

SAINT Machines

在最新榜 #144 本站收录于 2026-11-18

一句话要点

SPILLWAY 针对工具型智能体在邮件、文件和支付上的提示注入风险:隐藏在网页或共享文档中的指令可能诱使智能体向攻击者发送数据或资金。许多运行时防御把放行决策交给语言模型,因而可能读到攻击文本,并在每一步增加模型调用;溯源防御虽不把最终检查交给模型,但仍需模型先规划或路由任务。SPILLWAY 观察到动作目标可从工具的类型化返回中读取(如邮件发件人或支付账户),而注入指令以自由文本出现,据此建立无需逐任务规划的确定性底线:仅当工具输出中出现、但不在用户任务里的目标值来自只读工具的类型化字段,或被固定委托规则覆盖时,才放行调用。确定性清洗器在模型阅读前按固定规则移除指令样片段并保留为证据;本地判定器可恢复被拒调用,但绝不能恢复目标落在已移除文本中的调用。在三个骨干、以及其中一个骨干上的七组任务中,标准模板注入在 SPILLWAY 下均未能把动作重定向到攻击者目标,并达到所比较防御中最高的平均效用与综合分数(NRP、ERS);伪造聊天模板的攻击成功率为零,已发布强化学习攻击者的范围内平均攻击成功率为 0.007。该底线几乎不增加模型调用,也不因防御触发而重跑骨干。

SPILLWAY defends tool-using agents that act on email, files and payments, where an instruction hidden in a web page or shared document can make an agent send data or money to an attacker. Many runtime defenses put a language model on the admit/deny decision, so the check may read the attacker's text and adds a model call at every step; provenance defenses keep the model off the final check but still need a model to plan or route each task first. SPILLWAY instead reads where an action goes from tools' typed returns (such as an email sender or a payment account), while injected instructions arrive as free text, and turns this into a deterministic floor with no per-task plan: a call is admitted 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; a local judge may restore a refused call, but 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) among the defenses 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 0.007. The floor is reached with no defense-triggered backbone re-run and almost no added model call.

47HF 点赞
5GitHub stars
0引用(Semantic Scholar)
45.3热度分

阅读 arXiv 原文 PDF Hugging Face 讨论 代码仓库 项目页

相关论文

数据说明

元数据来自 arXiv API(已核实);点赞来自 Hugging Face 每日论文;引用来自 Semantic Scholar。最近刷新 2026-11-30。

要点由本站根据摘要自写,不转载摘要原文,请阅读原文。

数据更新于:最新 AI 论文(北京时间)