AI Aulis

AI NEWS IN ENGLISH · 27 November 2026

The most important AI news every morning. AI writes and checks the stories against the original sources – check important facts in the sources.

← Issue 27 November 2026Paper

Compaction led policy defences to allow a transfer to an attacker, study finds

AI-generated contentWritten by AI

arXiv, agentspulse.github.io · 2 sources · Sources published: 24–26 November 2026

Claude Code and Codex, when it compacts locally, turn the summary into a user message, which is where defences such as Progent read the request. The authors propose deriving policies from verified user messages.

A harness, the program that controls an agent, gives the model its tools and runs its steps. When the context window fills up, the harness replaces earlier turns with a summary written by the model. The researchers recorded 1,108 automatic compactions in Claude Code and in Codex with local compaction. Every time, the summary took the place of the user’s latest message. The results come from a preprint, not peer-reviewed, that was published on arXiv on 24 November.

Policy defences such as Progent read the user’s request from the same place. They have a language model write a list of permitted tool calls based on the request, and a proxy checks every call. Progent’s own integrations derive the policy once per session. The researchers derived it for each request instead, because with a policy derived once the agent completed only 12 per cent of later tasks, against 68 per cent with a per-request policy. In the researchers’ example, Progent stopped a banking agent from paying an attacker. After compaction, the summary recorded the blocked transfer as unfinished work, and a new policy derived from it allowed the transfer to the attacker’s account.

On AgentDojo, injections that Progent had previously blocked succeeded after compaction in 31 of 100 pairs, against 33 for an undefended agent. The compactor was the small gpt-4o-mini. When the same summary was supplied as a tool result, no policy widened. The policies therefore widened because of the user role.

A better summary does not solve the problem, the study says. Frontier models acting as compactors flagged the injected instructions but rarely an account number written as ordinary data. In a rent test, the attacker’s notice gave a different account from the user’s. The policy derived from the summary admitted the notice’s account in 91 per cent of cases when gpt-4o wrote the policy, and in 59 per cent when gpt-5.5 wrote it. According to the authors’ proof, a checker that reads only text can distinguish a forged record from a genuine one at most to the extent that the texts themselves differ.

As a fix, the authors propose a gate. It verifies user messages with an authentication tag when they arrive and copies them unchanged during compaction. The policy is derived only from those messages, but the agent still reads the summary. With the gate, no attacker action was carried out in any of the 40 attacked episodes. The gate has been tested only on replayed AgentDojo sessions. If the user relies on a document to supply a value, that value remains open to attack.

OpenAI changed Codex’s Guardian checker on 15 October to treat summaries as assistant messages, AgentsPulse reported. In the study, a comparable filter let through records that passed via session or memory files the agent can write to. A store of user messages that the agent cannot write to can serve as the gate even without tags, the authors said.

Report an error in this story