Context compaction lets model summaries rewrite LLM agent authorization
Original title: LLM Agent Authorization Across Context Compaction
A frontier compactor's summary admitted an attacker's payee account in 91% of cases; the user's own words admitted it in none.
Automatic compaction in Claude Code and Codex inserts a model-written summary as a user message, so request-derived authorizers such as Progent treat the compactor's text as the user. Policies derived per request then follow that summary, including attacker-supplied account data presented as plain text. The authors prove an authorizer that cannot see authorship cannot separate a forged record from the legitimate text it imitates beyond how distinguishable the two are. Their fix authenticates the user's words on arrival and carries them verbatim; in 40 attacked AgentDojo episodes, no attacker action completed.
- Compactors marked injected instructions but rarely injected data that has a legitimate twin.
- A policy frozen at the first request lets the agent finish few later tasks.
- The authorizer credits only authenticated user text while the agent still reads the summary.
- Adaptive attacks could block the derived policy but could not shape it.
- Products
- Claude CodeCodexProgent
From the original article
1 min read at arxiv.orgRequest-derived authorizers such as Progent protect LLM agents from prompt injection by deriving what an agent may do from the user's request. Their guarantee rests on attribution: the request is taken to be what the user said. Compaction breaks it.
By Zeming Fei · arxiv.org
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.