Within Policy: Measuring Action-Level Prompt-Injection Defences on Attacks That Request No New Tool
A second generation of prompt-injection defences enforces policy outside the model and reports that attacks on AgentDojo are almost eliminated. We show that this aggregate rests mostly on the easy case. On AgentDojo v1.2.1, at least 85 (user task, injection task) pairs are within policy: every tool the injection's reference solution calls is also called by the user task's, so a least-privilege policy derived from the user's request authorises all of them. These are 14% of the 609 pairs whose reference solutions name the tools an injection needs. The other 524, more than half the benchmark, need a tool the user task never uses, and a tool-name check alone can stop them. We measured Progent in its automatic mode, the configuration its code comes with, over 348 pairs in three suites. It removes 84% of out-of-policy attacks but only 57% of within-policy ones, and the Wilson intervals do not overlap. Across the suites, the attack success it leaves rises with the within-policy share. Utility under attack barely moves on banking, drops from 61.0% to 22.9% on slack and rises on travel. On a restricted banking arm, a hand-written within-policy corpus raises attack success from 42.9% to 61.9% (paired exact McNemar test, p = 0.0078), while 487 proposals from two LLM attackers produce no adaptive win. The problem sits in the only non-deterministic part of an otherwise deterministic design, the policy model: in one run, about a third of the policies it wrote under attack named the attacker's account as an authorised recipient of a payment. In a pre-registered follow-up on banking we tested one of the two mitigations the defence's authors suggest, with a generic policy of our own over the tools that move money. It blocks every attack, within policy included (18 discordant pairs to none, p < 10⁻⁵), but on those 42 pairs the user's task is completed in 7, against 17 as shipped.
Authors
- Luigi Iacuaniello (ORCID: https://orcid.org/0009-0002-3213-2510)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-02
- DOI
- https://doi.org/10.5281/zenodo.24745097
- Primary Topic
- Adversarial Robustness in Machine Learning
- Type
- preprint