| type | braintank dispatch |
|---|---|
| headline | Agent defence checks where actions go from typed tool fields, mostly without a model |
| dek | SPILLWAY checks an AI agent's email and payment targets against the user's request and typed tool fields, and its authors report no redirected actions under AgentDojo's standard attack. |
| date | 2026-11-25 |
| section | Alignment · Prompt injection defence |
| dateline | Daejeon · Korea Advanced Institute of Science and Technology |
| paper | SPILLWAY: Separating Target Admission from Sanitization to Defend Tool-Using Agents against Prompt Injection |
| status | preprint, not peer reviewed |
| original | https://braintank.ai/a/arxiv-2611.07222.html |
| cite | |
| text | AI assistants that call outside tools, to send email, move money or share files, are exposed to indirect prompt injection: an attacker hides instructions in a web page, document or message the agent will later read, hoping to redirect its actions. A 2026 preprint on arXiv, not yet peer reviewed, from Woosang Lim of SAINT Machines and KAIST and Yeseul Chang and Jaewoo Lee of Chung-Ang University describes SPILLWAY, a defence that in most cases decides whether an action may proceed without consulting a language model at all. The idea rests on how tools return data. An email's sender or a transaction's recipient arrives in a structured, typed field, while injected text arrives in free-text fields such as a message body or description. Before tool output is turned into text for the model, SPILLWAY collects identity values from the typed fields of read-only tools into an index. These are values of identity formats such as email addresses, web addresses, UUIDs, hostnames and IP addresses, or values in routing fields such as sender or recipient. When the agent tries an action with a target that appears in tool output but not in the user's own request, the check admits the call if that target is in the index and does not also turn up in free text. Calls that would grant access to such an unrequested party are blocked outright, and deletions the user did not ask for are refused. Fixed delegation rules restore targets the user named indirectly, so a request to send a report to Alice can admit Alice's full address. Two further layers sit around this check, which the authors call a floor. A rule-based sanitiser, again with no model involved, replaces instruction-like passages with markers or placeholders before the agent reads them: forged chat-template turns, the benchmark's own injection blocks, text addressed to the agent, and claims that a payee's account has changed. The removed passages are kept as evidence. Only calls the floor refuses go to a local judge model, a 4-bit gemma4:31b, which must approve from two angles, whether the target is one the task implies and whether the user asked for the action and its content. A missing verdict counts as refusal, and if the refused target sits inside removed text the judge is never asked. The authors tested the system on AgentDojo, a benchmark of simulated agent tasks with planted attacks, using three backbone models (gpt-4o-mini, qwen3-coder:30b and qwen3:8b) across banking, Slack, travel and workspace task suites. Rival defences MELON, Progent, DRIFT and ROPE were run on the same agent. Under the standard attack, SPILLWAY's mean in-scope attack success rate across the 12 model-suite combinations was .000; MELON leaked in 10 of them, Progent in 11, DRIFT in 7 and ROPE in 3. Its mean utility under attack was .489, against .417 for an undefended agent, .314 for MELON and .453 for DRIFT. It kept 99.8% of the undefended agent's utility on clean tasks, compared with 73% for ROPE with the agent as its own router. Across all attacked pairs, the authors put a one-sided upper bound of 0.1% on the true leak rate, assuming the pairs are independent. The overhead was small. On qwen3:8b the judge was called 0.43 and 0.05 times per clean episode in the Slack and workspace suites, while MELON added 5.29 and 3.25 backbone calls and DRIFT 9.91 and 9.59. An ablation shows why the layers are paired. The floor alone stopped every attack but left mean utility at .300. Adding the judge without the sanitiser produced the only executed leaks, including a banking leak rate of .028 where the judge approved an attacker's account for a request to pay a bill. Harder tests included 665 pairs with forged chat templates and 126 where the attacker sent the emails themselves, filling the sender field the floor trusts; neither produced a successful attack. Against ROPE using a Claude Opus 4.8 router across seven suites, ROPE leaked in three, including .048 on Slack, and SPILLWAY in none. The authors are explicit about the boundaries. The guarantee covers only where actions go: injections that steer the agent towards a legitimate contact, or that tamper with content sent to an approved recipient, fall outside it. An attacker who can write a typed field gets their address into the index. Tool roles come from a lexicon written per benchmark. The zero result on 389 optimised AutoDojo attacks is not held out, since rules were developed from four earlier failures; the two held-out banking sets averaged .007. All tests ran inside the AgentDojo framework, the RL attacker was replayed rather than adapting, the seven-suite comparison used a single seed, baselines were adapted to the authors' agent, and CaMeL was not run. With forged chat templates, MELON's composite scores of .494 and .660 exceeded SPILLWAY's .451 and .621. The forged-template attacks SPILLWAY strips out are the same mechanism braintankAI examined in a study of how reserved chat-marker tokens give planted text its authority. A shared-workspace benchmark in which office agents ran attacker-supplied scripts illustrates the content-level risks that, by the authors' own account, a target check of this kind does not cover. |