Skip to content
CSA Labs Research·Indexed by this site · Originally published· Attacks →· Its place in the scan record →SelectedAttention43

CSA research note: permission replies and context compaction can rewrite coding agent authorization

When “Yes” Rewrites the Rules: Coding-Agent Authorization Drift

AI summary

CSA published a research note synthesizing three papers released since late October 2026, pointing out that coding agents have an authorization drift weakness, where reply channels and compressed summaries that should convey authorization are used to rewrite authorization policies. One paper shows that in Claude Code, the party answering a permission prompt can attach an update deleting deny rules in the reply; three of four reply paths skip the official filter, and 5 of 70 third-party relays and frontends forward remotely written rule deletions. Experiments by Pixee researchers show that in five harnesses that flatten roles into text, forged approvals enter agent memory with 87–100% probability, the attack execution rate under full context is about 20–40%, and it is 0% on four harnesses that preserve role types. Another paper records that in all 1,108 automatic compactions of Claude Code and Codex local compaction, the model summary occupies the user request slot, causing authorizers such as Progent that derive policies from user requests to lose their protective effect.

Why it was selected

The note summarizes the findings of the three papers into a new attack category, authorization drift, and gives immediately actionable mitigations such as moving deny rules into managed settings.

Related papers
Read originallabs.cloudsecurityalliance.org