🤗 Upvotes: 27 | cs.CR, cs.AI Authors: Woosang Lim, Yeseul Chang, Jaewoo Lee Title: SPILLWAY: Separating Target Admission from Sanitization to Defend Tool-Using Agents against Prompt Injection Arxiv: http://arxiv.org/abs/2611.07222v2 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 .005. 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.
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
Evan: Welcome to Daily Paper Cast, your source for the latest in AI research. Ashley: Today's paper, selected from Hugging Face's daily paper list of November 17, 2026, has received 27 upvotes. Evan: The title of the paper is 'SPILLWAY: Separating Target Admission from Sanitization to Defend Tool-Using Agents Against Prompt Injection.' Ashley: The first two authors are Woosang Lim and Yeseul Chang. The corresponding author is Woosang Lim, and the authors are affiliated with SAINT Machines, KAIST, and Chung-Ang University.
Evan: Ashley, could you start by giving us some background on this paper? What issue are the authors addressing? Ashley: Sure, Evan. Tool-using agents act on a variety of tasks involving email, files, and payments. These tasks can be affected by malicious instructions hidden within web pages, shared documents, or emails, which can trick the agent into sending data or money to an attacker. Evan: Right, that's known as prompt injection. So, what's the current state of defenses against these attacks?
Ashley: Many existing defenses add a language model to the decision process. This means the defense system itself reads all incoming text and attempts to decide whether to allow or block each action. Provenance defenses, on the other hand, keep the language model out of the final decision check but still rely on it for planning or routing tasks initially. Evan: Interesting. But these methods still seem to have their vulnerabilities. How does SPILLWAY aim to improve this situation? Ashley: SPILLWAY introduces a novel method by separating the admission of target actions from sanitization.
The key idea is to leverage the structured returns from tools that agents use — things like typed fields in emails, accounts in payments, and members in channels — to distinguish legitimate targets from injected instructions that come as free text. Evan: So rather than depending on a language model to read everything, SPILLWAY uses a more deterministic approach based on structured data? Ashley: Exactly. This approach ensures that targets appearing in typed fields are admitted, whereas those emerging from free-form text are flagged and handled separately.
A deterministic sanitizer removes regions that match instruction-like patterns before the language model reads them, storing these removed spans as evidence. Evan: That sounds promising. Does the paper outline the specific contributions that SPILLWAY makes? Ashley: Yes, it highlights three main contributions. First, it provides target admission from typed tool returns without per-task routing, achieving zero in-scope attack success across various attacks. Second, it couples sanitization to target admission, ensuring that the local judge model only needs to consider calls refused by the initial check and never reopens a target inside the removed text.
Third, it offers a head-to-head comparison with routed-origin enforcement, demonstrating superior attack resistance and higher utility in every suite tested. Evan: And these contributions collectively aim to provide a robust defense against prompt injection without adding much overhead, right? Ashley: Precisely. SPILLWAY reaches high levels of utility under attack while maintaining almost all of the benign utility, making it lightweight and efficient. The deterministic approach significantly reduces the need for additional model calls, which commonly burden other defenses.
Evan: Impressive. So, at its core, SPILLWAY gives tool-using AI agents a solid refuse floor when acting on user tasks, ensuring actions don't get redirected inappropriately? Ashley: That's right. It provides a structured, auditable refusal mechanism that keeps agents useful while effectively thwarting prompt injection attacks. Evan: Great! That's a wrap for the Introduction section of the paper. Evan: Let's dive into the methods section of the paper. Ashley, could you walk us through how SPILLWAY functions and the mechanisms it uses to defend against prompt injection attacks?
Ashley: Evan. SPILLWAY is designed to separate target admission from sanitization, ensuring a robust defense against prompt injection. The method hinges on two key boundaries: ingress sanitization and egress checking. Evan: Could you explain what happens at the ingress boundary? Ashley: Sure. At the ingress boundary, the process starts by identifying untrusted text that enters the agent's context. SPILLWAY deploys a deterministic sanitizer that removes instruction-like regions before the language model even reads them.
This includes forged chat-template turns, instruction regions marked by specific templates, and text addressing the agent about its own task. Evan: So, it doesn't just block suspicious content — it replaces it with placeholders, right? Ashley: Exactly. The sanitizer uses fixed rules to match these regions and replaces them with inert placeholders, preventing the language model from being influenced by malicious instructions. These removed spans are stored as evidence, ensuring that any subsequent steps can reference what was sanitized if needed.
Evan: And what happens when we move to the egress boundary? Ashley: At the egress boundary, the process involves a safety check called the 'floor.' This egress floor admits a call when each target value in the tool output — that didn't originally come from the user's task — appears in a typed field, or is covered by a delegation rule. Basically, it looks for legitimate targets from trusted sources and ensures these are distinct from any injected text. Evan: And if there's something suspicious or unverified, how does SPILLWAY handle it?
Ashley: SPILLWAY involves a local judge model for calls that the egress floor refuses. This judge model reviews the refused calls to recover instances where the user legitimately delegated work, ensuring utility isn't compromised. However, it never reopens targets that are flagged inside the removed evidence from the sanitizer. Evan: How does SPILLWAY decide which calls to allow or block at this stage? Ashley: The decision framework at this stage depends on several checks. First, it ensures that all taint-novel values — which are values not originally mentioned in the user's task but found in tool output — are checked against a set of trusted values indexed before serialization.
If any untrusted text has influenced these values, the call is blocked. Second, delegation rules allow legitimate indirect targets, such as sending a report to an email address finding in meeting notes. If all checks pass, the call is allowed; otherwise, it's blocked or goes to the two-view judge. Evan: This sounds very structured. What guarantees does SPILLWAY provide with this approach? Ashley: SPILLWAY provides three primary guarantees. First, it ensures soundness of typed-identity lookup, blocking every call that involves taint-novel values in attacker-written text.
Second, it ensures that any refused call can be reviewed by the judge but excluded if the target lies in sanitized regions. Third, it ensures that any residual leak through deterministic delegation rules or escape through sanitized evidence will be minimized. Evan: How does SPILLWAY perform based on these rules and checks? Ashley: The performance is evaluated across various metrics. The primary metrics include benign utility, under-attack utility, and attack success rate. SPILLWAY consistently achieves zero in-scope attack success at the highest observed mean utility — without requiring re-invocation of the backbone, making it highly efficient.
It showcases robust defense capabilities across a range of tasks and models. Evan: It's impressive how comprehensive the checks and balances are within SPILLWAY. What about the tasks and evaluation methods used in the experiments? Ashley: SPILLWAY is evaluated on the AgentDojo platform across four stateful suites: Banking, Slack, Travel, and Workspace. Each suite tests the defense mechanisms under different attack regimes, including standard attacks like templated injection, as well as stress tests such as optimized injections and chat-template forging.
Evan: So it's tested across various real-world applications and scenarios? Ashley: Exactly. The results show that SPILLWAY is highly effective in preventing the redirection of actions to attacker targets under these diverse scenarios. The robust evaluation across multiple backbones and tasks ensures the adaptability and reliability of SPILLWAY's approach. Evan: This has been very insightful, Ashley. That wraps up our discussion on the Method section of the paper. Evan: Ashley, now let's move on to the experiments and results section of the paper.
How did the authors evaluate SPILLWAY and what were the key findings? Ashley: The authors conducted extensive evaluations on the AgentDojo platform, which is a dynamic environment to test prompt injection attacks and defenses. The experiments comprised two main settings: breadth tests and delegated-routing comparisons. Evan: Let's start with the breadth tests. What did these involve? Ashley: The breadth tests were conducted on three different backbones: GPT-4o-mini, QWEN-3 Coder, and QWEN-3, across four stateful suites which include Banking, Slack, Travel, and Workspace.
These tests aimed to evaluate SPILLWAY under standard attack scenarios and stress tests including chat-template forging and optimized injections. Evan: How did SPILLWAY perform in these tests? Ashley: SPILLWAY achieved remarkable results. In the standard attack scenario, it maintained zero in-scope attack success across all twelve backbone-suite cells. This means no injection redirected actions to an attacker-named identity. The closest competing method, ROPE, still leaked in three cells, and other models had even higher leakage rates.
Evan: It sounds like SPILLWAY is very effective. But what about its utility under attack? Ashley: SPILLWAY also demonstrated high utility under attack. It preserved the highest mean utility of any defense at .489, while also retaining 99.8% of the undefended agent's benign utility. This contrasts sharply with other defenses that typically have reduced utility due to increased model calls and overhead. Evan: What kind of overhead does SPILLWAY introduce compared to other methods? Ashley: SPILLWAY adds almost no overhead.
In benign traffic scenarios on QWEN-3:8b, it called its judge model only 0.43 times per Slack episode and 0.05 times per Workspace episode. This is minimal compared to methods like MELON, Progent, and DRIFT, which added several backbone calls per episode, significantly increasing computational costs and runtime. Evan: That's impressive. Let's talk about the delegated-routing comparison. What did these tests entail?
Ashley: These tests compared SPILLWAY with ROPE, which is the closest competing defense. They included seven suites: the four original AgentDojo suites along with GitHub, DailyLife, and Shopping from the AgentDyn benchmark. Each suite tests real-world applications where agents read from tool outputs and potentially interact with attacker targets. Evan: And how did SPILLWAY fare in these comparisons? Ashley: In these tests, SPILLWAY maintained zero in-scope attack success on all seven suites, while ROPE leaked in three suites.
Moreover, SPILLWAY consistently demonstrated higher utility under attack across most suites, further solidifying its effective defense without sacrificing utility. Evan: Were there any stress tests included in this section as well? Ashley: Yes, the stress tests featured sophisticated recent attacks including forged chat templates from ChatInject, optimized injections from AutoDojo, and replayed reinforcement learning attacks from PISmith. These stress tests pushed the bounds of existing defenses and demonstrated SPILLWAY’s robustness.
Evan: How did SPILLWAY perform in these advanced attack scenarios? Ashley: SPILLWAY held strong, achieving zero raw hit in ChatInject and AutoDojo tests, maintaining zero in-scope attack success on average under PISmith attacker variants. It preserved the highest utility among defenses that held up against these attacks, maintaining .257 utility against the reinforcement learning attacker with only .005 in-scope attack success. Evan: Clearly, SPILLWAY stands out for its lightweight, efficient defense mechanism.
What aspects of SPILLWAY’s contributions ensure these results? Ashley: The three main contributions outlined in the paper — target admission from typed tool returns without per-task routing, pairing sanitization with target admission, and comparison with routed-origin enforcement — collectively ensure comprehensive defense mechanisms. By leveraging structured data and fixed rules, SPILLWAY minimizes overhead while maximizing both utility and security. Evan: This has been an enlightening discussion on SPILLWAY's experiments and results.
It's time to wrap up this segment on the experiments section. Evan: Alright, Ashley, we’ve covered the methods and the experiments. Let’s examine the related work section next. What other approaches and concepts does SPILLWAY build upon or differ from? Ashley: Sure, Evan. In the related work section, the authors compare SPILLWAY to several prior defenses against prompt injection and related attacks. They categorize these defenses into a few main approaches: information-flow and capability systems, deterministic origin checks, provenance-based enforcement, and tool-input/output firewalls.
Evan: Let's start with information-flow and capability systems. What are they, and how do they relate to SPILLWAY? Ashley: Information-flow and capability systems focus on constraining how untrusted data can influence an agent’s behavior. Examples include IPIGuard, which uses dependency graphs to secure tool-using agents, and tools like Task Shield that enforce task alignment. These systems aim to prevent untrusted data from causing harmful actions by monitoring and controlling its flow through the system.
Evan: How does SPILLWAY differentiate itself from these systems? Ashley: SPILLWAY takes a lighter approach by focusing on the structure of the data returned by tools and the context of user tasks. It uses deterministic boundaries to separate trusted and untrusted data, relying on typed tool returns and predefined rules rather than monitoring data flows at a granular level. This helps reduce overhead and complexity. Evan: Next, you mentioned deterministic origin checks. What's an example of this approach? Ashley: A key example of deterministic origin checks is ROPE, which enforces origin-checking policies to guard sensitive parameters after a router reads each request.
ROPE relies on checking where each request originates to determine if it should be trusted. Evan: And how does SPILLWAY's method compare? Ashley: SPILLWAY offers a similar defense but simplifies the process. Instead of using a router or per-task checks, it relies on fixed lexicons and a typed-identity floor to quickly determine the legitimacy of each action. This streamlined process reduces the number of model calls required and improves efficiency. Evan: Let's talk about provenance-based enforcement. What does this entail?
Ashley: Provenance-based enforcement methods track the origin of data used in decision-making processes to ensure its trustworthiness. For example, CaMeL uses a planner to write programs whose data flows are then verified by an interpreter, while tools like PACT enforce argument-level provenance. Evan: It sounds like these methods aim for meticulous tracking of data. How does SPILLWAY utilize or differ from these ideas? Ashley: SPILLWAY diverges by not attempting to track every data point’s provenance. Instead, it uses a set lookup system over typed tool returns before data is serialized.
This approach relies on the context provided by tool schemas and pre-defined rules to determine data authenticity, which simplifies the process significantly while still ensuring robust security. Evan: Lastly, what are tool-input/output firewalls, and how effective are they? Ashley: Tool-input/output firewalls involve running a language model on every tool input and output to filter content, as seen in works like those by Bhagwatkar et al. These firewalls aim to prevent harmful data from entering or exiting a system by scrutinizing every interaction.
Evan: Do these firewalls present any limitations that SPILLWAY addresses? Ashley: Yes, while these firewalls can be effective, they often introduce significant overhead due to the constant model interactions required. SPILLWAY resolves this by using deterministic checks that minimize the need for frequent model calls, thus improving efficiency. Additionally, by focusing on structured data fields, it avoids the complexity of parsing and analyzing free-text inputs continuously. Evan: So, SPILLWAY enhances efficiency and maintains robustness by leveraging fixed rules and structured data, avoiding the drawbacks of exhaustive monitoring and frequent model calls?
Ashley: Exactly. SPILLWAY provides a balanced approach that combines robust security with efficient operation. It leverages the structured returns from tools and clear rules to determine trusted actions, while minimizing overhead. Evan: It's fascinating how SPILLWAY innovates upon these existing methods to create a streamlined yet effective defense mechanism. That wraps up our discussion on the Related Work section. Evan: Ashley, let's summarize the key contributions and takeaways from this paper.
What should our listeners remember about SPILLWAY? Ashley: Certainly, Evan. There are three main contributions that stand out. First, SPILLWAY leverages typed tool returns to admit targets without needing per-task routing, achieving zero in-scope attack success across different attack scenarios. This ensures robust defense mechanisms while simplifying processing. Evan: And that's done without burdening the system with excessive model calls, right? Ashley: Exactly. The second key contribution is the coupling of sanitization with target admission.
This approach allows the local judge model to focus only on calls refused by the initial checks and ensures that targets within sanitized regions are never reopened, maintaining both security and efficiency. Evan: So, it efficiently handles malicious instructions while preserving legitimate actions through a structured refuse mechanism? Ashley: Precisely. The third major takeaway is SPILLWAY’s superiority in head-to-head comparisons with routed-origin enforcement methods. It consistently demonstrated higher utility and comprehensive defenses across multiple suites, showing its adaptability and reliability in real-world applications.
Evan: It seems like SPILLWAY is a significant advancement in defending AI agents against prompt injection attacks. What makes it stand out overall? Ashley: What really stands out is SPILLWAY’s ability to provide strong security without the usual trade-off in utility or efficiency. Its deterministic approach using fixed rules and typed tool returns streamlines the defense process and offers high utility, underpinned by robust security. Evan: That's a great summary, Ashley. Thank you for breaking down the contributions and takeaways of SPILLWAY.
To our listeners, we hope you found this discussion as fascinating as we did. Ashley: We've enjoyed exploring today's paper with you. Make sure to join us again for future episodes of Daily Paper Cast, where we dive into more groundbreaking research in AI and related fields. Evan: Thanks for tuning in, everyone. We look forward to having you back for our next episode. Stay curious and keep learning! Ashley: Goodbye for now! Evan: Goodbye!
🤗 Upvotes: 52 | cs.AI Authors: Richmond Sin Jing Xuan, Peilin Feng, Wenbin Wang, Soujanya Poria Title: Lazy Agents Answer Against Their Own Beliefs: Reinforcement Learning with Verifiable Beliefs Teaches Them to Act on...