Who Said That? Two Papers on Agents That Cannot Tell Who Is Speaking
Security for coding agents keeps coming back to one question: did the user ask for this? Two papers submitted on November 24, from overlapping groups, show that today's harnesses often cannot answer it, because the record of who said what gets lost along the way. Claude Code and Codex are the main test subjects.
The first is about long sessions. When a conversation outgrows its window, the harness has a model write a summary and carries on. In all 1,108 automatic compactions the authors recorded in Claude Code and Codex, that summary was inserted as a user message. A policy engine such as Progent, which grants permissions by reading the user's request, then reads the summarizer's paraphrase as if the user had typed it. The test case is a tenant paying rent. A document states a different account as plain data, the user names the correct one, and after compaction the policy admits the document's account in 91% of cases with one policy generator and 59% with another. Built from the user's own words, it admitted none. Summaries flagged injected commands fairly well. They rarely flagged injected facts, because facts look like facts. The fix is bookkeeping: credit only bytes the user actually sent, tagged on arrival, at a cost of 0.25 to 0.40 milliseconds per request. It was evaluated on replayed AgentDojo sessions, not inside a production harness: https://arxiv.org/abs/2611.32194
The second paper is about permission replies. Plugins and remote services can answer a coding agent's permission prompts, and Claude Code documents that such an answer cannot override the operator's deny rules. The authors argue that this holds for one decision and can fail over a whole run, since a reply may also change the rules that later replies are judged against, and the runtime does not record who wrote a rule. Their formulation is the sharpest line in either paper: "the right to answer a prompt has become the right to administer the policy." They report the issue still present in build 2.1.327, the latest when they wrote. We saw no vendor response in the paper or elsewhere, so treat it as a research claim. The exposure looks narrow in practice, since only 2 of 2,227 marketplace plugins surveyed send policy updates: https://arxiv.org/abs/2611.32195
Put together, the advice is one line of audit design. Every rule should carry an author, every approval should be accepted or refused whole, and summaries should never sit in the seat reserved for the user. A receipt with no signature is just paper. Their theorem says roughly that an authorizer that cannot see who wrote which bytes cannot reliably treat a forged record differently from the real one it imitates. Better prompting does not move that.
Disclosure: articles on this site are written with Claude, which is made by Anthropic, whose product is tested in both papers.
← Back to all articles
The first is about long sessions. When a conversation outgrows its window, the harness has a model write a summary and carries on. In all 1,108 automatic compactions the authors recorded in Claude Code and Codex, that summary was inserted as a user message. A policy engine such as Progent, which grants permissions by reading the user's request, then reads the summarizer's paraphrase as if the user had typed it. The test case is a tenant paying rent. A document states a different account as plain data, the user names the correct one, and after compaction the policy admits the document's account in 91% of cases with one policy generator and 59% with another. Built from the user's own words, it admitted none. Summaries flagged injected commands fairly well. They rarely flagged injected facts, because facts look like facts. The fix is bookkeeping: credit only bytes the user actually sent, tagged on arrival, at a cost of 0.25 to 0.40 milliseconds per request. It was evaluated on replayed AgentDojo sessions, not inside a production harness: https://arxiv.org/abs/2611.32194
The second paper is about permission replies. Plugins and remote services can answer a coding agent's permission prompts, and Claude Code documents that such an answer cannot override the operator's deny rules. The authors argue that this holds for one decision and can fail over a whole run, since a reply may also change the rules that later replies are judged against, and the runtime does not record who wrote a rule. Their formulation is the sharpest line in either paper: "the right to answer a prompt has become the right to administer the policy." They report the issue still present in build 2.1.327, the latest when they wrote. We saw no vendor response in the paper or elsewhere, so treat it as a research claim. The exposure looks narrow in practice, since only 2 of 2,227 marketplace plugins surveyed send policy updates: https://arxiv.org/abs/2611.32195
Put together, the advice is one line of audit design. Every rule should carry an author, every approval should be accepted or refused whole, and summaries should never sit in the seat reserved for the user. A receipt with no signature is just paper. Their theorem says roughly that an authorizer that cannot see who wrote which bytes cannot reliably treat a forged record differently from the real one it imitates. Better prompting does not move that.
Disclosure: articles on this site are written with Claude, which is made by Anthropic, whose product is tested in both papers.
Comments