Frontier compactors mark injected instructions but not attacker-controlled data, admitting attacker account in 91% of compacted banking policies
Auto-published from arXiv:2611.32194 by the mine-arxiv pipeline. Reviewed by an LLM judge (Sonnet) against the archive bar — see CONTRIBUTING. Notes: cleared review (confidence 0.82, flags: [possible-zero-day, no-prompt-excerpt]) ⚠ needsDisclosureReview = true — review for undisclosed vulnerability before any public submission.
Category
indirect-prompt-injection
Model
gpt-5.4-mini, gpt-5.5 (frontier compactors); gpt-4o / gpt-5.5 (policy generators)
Surface
agent harness (Claude Code and Codex compaction prompts applied to AgentDojo banking episodes)
Setup
Attacker's injected notice states a target bank account as plain data (formatted like a legitimate transaction record, not as an agent instruction), alongside a user request to pay rent. The frontier compactor (using Claude Code's or Codex's shipped prompt) summarizes the transcript. Because the attacker's account resembles a legitimate record, the compactor does not mark it as injected. The resulting summary is placed in the request slot, and Progent derives a fresh policy from it. 320 summaries × 2 policy generators evaluated.
Reproduction anchor
benchmark: AgentDojo v1.2.2 banking suite; shipped compaction prompts from Claude Code and Codex (Appendix C lists shipped prompts); frontier compactor models gpt-5.4-mini and gpt-5.5 specified in Table I. Appendix B gives the experimental setup details.
Observed behavior
Policy derived from frontier compactor summary admitted the attacker's account in 91% of episodes (gpt-4o generator) and 59% (gpt-5.5 generator). Policy derived from the user's own words: 0% in both conditions. Frontier compactors flagged injected instructions (which have no legitimate-record twin) but not injected data written in legitimate-record format, empirically confirming Theorem 1 (TV bound): a text-only authorizer cannot distinguish forged records from legitimate ones when their distributions are identical.
Expected behavior
The authorizer should refuse the attacker's account regardless of how the compactor formats the summary, since the user never authorized that payee.
Reproducibility
medium
Threat model
Attacker crafting data-plane injections (e.g., fake invoices, transaction records, email signatures) that mimic legitimate record formats. Even with a deployed compactor that marks suspicious instructions, the attacker bypasses detection by embedding the malicious value as data rather than as an imperative. Affects any production deployment of a request-derived authorizer (Progent, DRIFT) on agents that handle financial, HR, or calendar data.
Novelty
Empirically confirms a tight theoretical bound (Corollary 1): when attacker-controlled data is indistinguishable from legitimate records, no compaction prompt, mark, or stronger policy generator can close the gap—the failure is information-theoretically unavoidable for text-only pipelines.
Source
- arXiv: 2611.32194
- PDF: https://arxiv.org/pdf/2611.32194
- Categories: cs.CR, cs.AI
- Authors: Zeming Fei, Hongming Fei, Yi Xu, Xiaoyang Wang, Ying Zhang
Triage notes (auto)
- paperType:
red-team-vuln - estimatedCaseCount: 2
- triage reason: Demonstrates concrete authorization bypass vulnerabilities in Claude Code and Codex via context compaction—a failure of request-derived authorization where compactors blur attribution by placing model summaries as user messages, quantified at 91% attack success on injected payees. Specific, reproducible attacks with proof-of-concept on AgentDojo; no prior disclosure mentioned.
0 comments
─────────────────────────────────────────────────────────────────────
// no comments yet