SPILLWAY: Separating Target Admission from Sanitization to Defend Tool-Using Agents against Prompt Injection
Woosang Lim, Yeseul Chang, Jaewoo Lee
SAINT Machines · KAIST · Chung-Ang University
Published November 4, 2026 · on the feed November 17, 2026 · ▲ 45 · arXiv 2611.07222
The 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.
The Brief
2:41A short podcast summary of the paper. Written and voiced by AI.
Transcript
SPILLWAY. Separating Target Admission from Sanitization to Defend Tool-Using Agents against Prompt Injection. By Woosang Lim and two others, from SAINT Machines, KAIST, and one other institution. Published on the fourth of November.
Tool-using agents act on email, on files, and on payments. That makes them a target: an instruction hidden in a web page or a shared document can steer an agent into sending data or money to an attacker. Many runtime defenses answer this by putting a language model in charge of the decision that lets an action through. Two costs follow. The decision now depends on a model that may itself read the attacker's text, and every step of the agent picks up extra model calls. Provenance defenses avoid part of this by keeping the model off the final check, but they still need a model to plan or route each task before it begins.
The observation behind SPILLWAY is that where an action goes can be read directly from what the tools return, because those returns are typed. The sender of an email or the account on a payment arrives in a typed field. Injected instructions arrive as free text. If the destination of an action can be traced to a typed field, the defense does not need a model to judge it. SPILLWAY turns this into a deterministic floor, and it requires no per-task plan.
The check itself is the admission rule. A call is admitted when every target value that shows up in tool output, but not in the user's own task, was returned in a typed field by a read-only tool, or is covered by a fixed delegation rule. Alongside it runs a deterministic sanitizer. Before the model reads tool output, the sanitizer removes regions that its fixed rules match as instruction-like, and it keeps those removed spans as evidence. A local judge is then allowed to restore a call that was refused, with one hard limit: it can never restore a call whose target lies inside the removed text. Admission and sanitization are kept separate, which is the separation the title names.
Results span three backbones, and on one of them seven task suites. Under standard templated injections, no attack redirects an action to an attacker's target while SPILLWAY is in place. Among the defenses the authors run under that attack, it also posts the highest observed mean utility and the highest composite scores, measured as NRP and ERS. A forged chat template likewise produces a raw zero.
Against a released reinforcement-learning attacker, mean in-scope attack success is zero point zero zero seven. The floor comes at very little cost. SPILLWAY needs no backbone re-run triggered by the defense, and it adds almost no model calls.
Personal AI agents act on users' email, files and payments. What SPILLWAY gives them is a refusal floor on where their actions can go, one that can be audited because it is deterministic, that keeps the agent useful, and that holds across backbones. The key move is to answer the question of destination from typed data, and to leave the model out of that answer.
Paper Quest · 7 chapters · about 40 min
Play this paper
Learn it by doing: make the calls the authors made, guess the result before you see it, and defend it in a viva graded on your own words. Chapter 1 is right here.
Chapter 1 🧩 · The problem
Your agent can send money. A stranger's text is trying to choose where it goes.
Your AI agent handles email, files and payments. An instruction hidden in a web page or shared document can make it send data or money to an attacker.
The road ahead
- 1 · The problem ~6 min An agent that acts on email, files and payments can be hijacked by hidden text, and the usual model-based guards are costly and can be fooled.
- 2 · What came before ~3 min
- 3 · The key idea ~9 min Read where an action may go from typed fields of read-only tool returns, with a fixed rule, a sanitizer, and a tightly limited local judge.
- 4 · Choose your own research ~3 min
- 5 · Build the method ~8 min Clean tool output first, then check each call's targets against typed read-only fields, then let a local judge win back some refusals.
- 6 · The experiment ~6 min You’ll guess: Under standard templated injections, how often did an attack steer an agent's action to the attacker's own target with SPILLWAY in place?
- 7 · The viva ~5 min Three questions from the examiners, answered in your own words. Win it for the paper’s trophy.
Free, with Google or an email address. Your stars and progress are kept.