Skip to content

The paper proposes a residual authority replay attack: authorizations in long-running agents can be reused across tasksWhen Consent Outlives Context: Residual Authority Replay in Long-Lived Agents

arXiv: Jailbreaks, Prompt Injection, Poisoning & Defenses· arXiv:2609.33910· Zhihao Zhang, Chao Wang, Rujia Li, Qingze Wang, Xiaoyan Sun, Jun Dai·Indexed by this site · 2026-10-01· Originally publishedSelected AttacksSelectedAttention40

Translation in progress — untranslated text is omitted.

Quick read

Attacks

Based on the paper PDF (generated by Gemini); refer to the original

AI summaryResearchers propose a residual authority replay attack that exploits user authorizations retained by long-running agents across tasks or sessions, reusing these authorizations to perform sensitive operations after the original authorization context has changed. The authors reverse-engineer authorization semantics from eight production-grade coding agent implementations and find that authorization states from prior interactions persist across task and session boundaries, allowing subsequent operations to bypass user approval that would otherwise be required. On 508 attack cases in AgentDojo across six LLM families, residual authority increases prompt injection attack success rates by up to 35.1 percentage points; on 55 Terminal-Bench cases with real-time context rebinding attacks on Codex, Gemini CLI, and Goose, attack success rates increase by an average of 24.9 percentage points. The authors propose context-bound authorization, recommending re-requesting approval when security-relevant bindings change.

Questions
Long-lived agents retain user approval decisions across tasks or sessions to reduce the burden of repeated authorization. This causes user consent to become detached from the context in which it was originally granted, creating residual permission security risks that can be reused by subsequent operations.
Methods
The authors propose a residual authority replay attack: first analyze the agent's authorization mechanism and rules, reverse-plan the required permissions for the target malicious operation, then induce the user to execute benign interactions to legitimately obtain those permissions, and finally replay residual permissions when the malicious context appears to bypass confirmation.
Experiments and results
On AgentDojo, residual permissions increase ASR by up to 35.1 percentage points for the four affected models at h=64; on Terminal-Bench, context rebinding attacks against three real code agents increase ASR by an average of 24.9 percentage points.
Limitations and future work
The evaluated Terminal-Bench subset contains only 55 cases, of which content replacement and project redirection each have only 2 cases; the controlled experiments use a simulated authorization layer rather than end-to-end real agents; identifying minimal context bindings across heterogeneous tools remains to be explored.
Why it was selectedThe paper formalizes authorization residue in long-running agents as a reusable attack surface and provides quantified amplification results across models and real coding agents.

The paper formalizes authorization residue in long-running agents as a reusable attack surface and provides quantified amplification results across models and real coding agents.

Related papers

Read originalarxiv.org