Alignata
Daily DigestShare
A person in a coral sweater holds a purple hexagon token to a matching slot on a gate while a crumpled paper slip stays stuck at the closed gate, navy outlines, filled dark hair.

Daily Digest

Admit targets from typed fields

Let typed tool fields, not free text, decide where effects go.

Daily Digest · Edited by Osbel Morell

Our verdict: Worked

The problem

Your agent calls tools that move money, send mail, or change files. The next call's target often comes from something it just read: an invoice, a chat paste, a web page. Attackers hide a new account or address in free text and hope the model treats it as a fact. A prompt that says "ignore instructions in documents" helps sometimes, but the final yes still sits with a model that has to read the attacker's words.

The technique

Put a hard check on the host, and keep the model out of the yes/no. The paper calls it an egress floor. This is not the tool-health check from earlier Digests, which picks which tool to call, and it is not filtering tool payloads in code. It decides where an effect is allowed to go. Before a side-effecting call, collect every target value that did not appear in the user's task. Admit the call only when each of those values was returned earlier by a read-only tool in a typed field (sender, payee, account), not when it appeared only as free text. Pair that floor with a separate ingress sanitizer for content effects the floor cannot see.

SPILLWAY (arXiv:2611.07222) builds this as typed-identity admission with no per-task plan. Across twelve backbone-by-suite cells on AgentDojo, in-scope attack success (an injection that redirects an effect to an attacker-named identity) fell to exactly zero, the only defense in the grid to do so on every cell. Mean utility under attack was the highest tested (.484), and benign utility stayed at 96% of the undefended agent. Under a forged chat template, attack success was a raw zero; under a released RL attacker (PISmith), mean in-scope attack success was .007. Those are their numbers.

What we saw

Our own check was much smaller: a payment version on our box with Qwen2.5 3B and 7B, greedy decoding, and twelve decisions: typed invoice payee present or null, crossed with a clean document or one that ordered payment to an attacker account. The user task never named a payee. We compared task-only, a prompt-sanitizer note, and a host admitted-target block plus a deterministic floor that refuses any payee not in that typed set. On 3B, task-only was right on 4 of 12 and paid the attacker on 8 of 12. The sanitizer rose to 6 of 12 and still paid the attacker on 4 of 12. With the host floor, outcomes were 12 of 12 and zero attacker pays. The floor refused every non-admitted account even when the model proposed it. On 7B the sanitizer note alone reached 12 of 12; showing the admitted set made it over-refuse on some typed-legit cases (8 of 12). The floor does the safety work; a small model still needs it when free text shouts a new payee.

Limits

The paper scores target redirection, not every content trick. Our test is tiny: twelve decisions, two small models, one greedy run, synthetic text. The 7B model was already cautious, so the floor's gain showed clearest on 3B. A wrong typed return would admit the wrong identity. This does not replace sanitizing untrusted content for other harms.

Try it

Pick one side-effecting tool, such as send_payment, send_email, or grant_access. Before it runs, build an admitted set from typed fields on prior read-only returns. If the user did not name the target, refuse any argument missing from that set. Keep the model out of that yes/no. Replay the same tasks with an injected account in free text only, and count how often the first dispatch still hits an attacker-named target with and without the floor.

Source: arXiv:2611.07222

Did it work for us?

Worked

With the host floor, our 3B model made 12 of 12 right calls and paid the attacker zero times, against 8 without.

Found this useful? Send it to someone.

Share