arXiv(opens in a new tab)cs.AISep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.08062

ResidualAuth: What Authorization State Must Language Agents Preserve under Revocable Delegation?

Moonwon Choi, Seokho Jeong, Seunggeun Lee

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Tool-using language agents can delegate and revoke permissions while acting through external services. We show that two authorization histories can have identical current permissions and identical all-pairs reachability yet require opposite decisions after the same direct-edge revocation. We formalize the information needed to preserve such distinctions as a residual authorization state. We prove that exponentially many future-distinct states can share one fixed transitive closure, and give exact or tight asymptotic bounds on the state required by an exact monitor as delegation redundancy varies. ResidualAuth compiles these constructions into paired language-agent episodes. Across four open-weight models, a fixed 256-token summary solved 0–2/16 pairs, sham reads solved 0/16, and authenticated current-query reads solved 15–16/16. In a separate held-out online-memory diagnostic, exact ledger serializations fit all 128 four-coordinate pairs at both 768 and 1,024 tokens. At either cap, factually supported model-written memories sufficient for every prespecified continuation solved at most 1/128 pairs per model. A hard gate reduced eight observed unauthorized effects to zero without changing the preceding attempts. These results distinguish required authorization state, usable decision information, online state maintenance, and effect mediation.

1 INTRODUCTION

Tool-using language agents can read external content and act through services such as email, payment, file, or infrastructure APIs (Debenedetti et al., 2024; Shi et al., 2025; Fan et al., 2026). In some settings, one principal—an agent or user that can grant or receive permissions—delegates a protected permission to another. A later revocation withdraws a named direct grant. Because grants and revocations can occur over many turns, a future action may depend on how the current permission was created, not only on who can act now. The central question is therefore not whether an agent remembers the current state. It is whether the retained state is sufficient for every future authorization decision.

Two histories can agree on every current reachability relation and still require opposite decisions after the same revocation. In Fig. 1, the root principal oo delegates to a manager mm, and mm delegates to a user uu. One history also contains the direct grant o→uo \to u. The two graphs have the same transitive closure: the same principal pairs are connected by one or more delegation steps. After revoking o→mo \to m, however, uu loses permission in the first history and remains authorized in the second. Thus

TC(GA)=TC(GB),ρ(hA)≠ρ(hB),\mathrm{TC}(G_A) = \mathrm{TC}(G_B), \qquad \rho(h_A) \neq \rho(h_B),

where ρ(h)\rho(h) is the set of future action sequences that remain valid after history hh. Current authorization is a reachability question. Future authorization under edge-addressable revocation depends on the direct grants that created that reachability. We use grant provenance for this direct-edge structure; it is distinct from the provenance of values or tool arguments studied by data-flow monitors.

This example separates a representation of the present from a representation of all possible futures. An authorized set records only who is reachable from the root. A transitive closure records all

RESIDUALAUTH · CORE COUNTEREXAMPLE

Same access now. Different decision after offboarding.

Figure

Figure 1: Same now, different next. Two authorization histories induce the same effective permissions, but the same revocation yields opposite future decisions because only one permission has independent provenance. A current snapshot therefore cannot answer the update-sensitive query. Agent 1 and Agent 2 are reader-facing aliases for the canonical episode principals.

current pairwise reachability. Neither representation records which direct support survives a named revocation. We call two histories future-equivalent only when every possible future sequence of grants, revocations, and protected uses has the same validity after both histories. A representation is future-sufficient when it determines this equivalence class.

We characterize and count these future-distinct states. A classical Myhill–Nerode argument (Myhill, 1957; Nerode, 1958) identifies their number with the minimum state count of an exact online monitor. Our first result proves exponential multiplicity even inside one fixed transitive closure. Our second result gives a redundancy–memory law: without revocation the required memory is linear in the number of principals; a one-parent policy adds a logarithmic factor; and dense redundant support produces a quadratic state exponent. Our third result extends the separation to summaries with an explicit information limit. Figure 1 is the N=2N=2 instance of the general construction: the common chain is o→m→uo \to m \to u, and o→uo \to u is the optional shortcut.

A formally sufficient state need not be available through the interface, maintained by a language model, or used correctly. ResidualAuth therefore compiles the theory into paired episodes with the same current reachability and opposite post-revocation labels. The primary endpoint is pair-complete accuracy: both arms must be correct. A constant allow or deny policy can score 50% on individual episodes but 0% on pairs; independent balanced binary guesses have expected pair accuracy 25%. Our main interventions compare a fixed 256-token event summary, a content-matched sham tool, an authenticated current-query read, query-scoped state or evidence, and a hard execution gate. A separate, stricter online-memory diagnostic asks stateless model calls to maintain direct-grant state while the eventual continuation remains hidden. An exact symbolic executor then checks whether the written memory is factually supported and sufficient for every prespecified continuation. The 256-token summary is a benchmark-supplied deterministic extract of visible events, not a claim about the model's internally learned memory. This organization asks what information is required, whether the interface exposes usable information, whether models can maintain it, and what the execution layer ultimately commits.

Our contributions are:

Table 1: Revocation semantics used in the theory.

SemanticsAfter a named edge is revokedEdges from a source that becomes unreachable
PersistentRemove only the named edgeRemain stored and may reactivate
CascadingRemove the named edge, then clean the graphRemoved by cleanup
Δ\Delta-parent cascadingAs cascading, with at most Δ\Delta parents per targetRemoved by cleanup
  • Future-sufficient state. We characterize exact monitoring by residual equivalence and prove that one fixed transitive closure can collapse exponentially many future-distinct states.

  • Redundancy–memory law. We connect monotone, one-parent, Δ\Delta-bounded, and unrestricted persistent or cascading delegation by exact counts or matching-order bounds.

  • Information and maintenance diagnostics. Under an explicit information limit, we derive an average-error lower bound. Empirically, controlled interfaces isolate access to fresh query evidence, while an exact executor audits whether bounded model-written memories preserve all tested future distinctions.

  • Restricted executable bridge and interventions. On the audited selected-lineage family, we prove ledger-to-graph refinement and separately test authenticated query access, model proposals, and committed effects.

Our lower bounds concern exact finite-state summaries under the stated semantics. They are not literal lower bounds on context tokens or neural activations in an unconstrained language model. We do not claim novelty for the observation that revocation can depend on graph structure, nor do we propose a general-purpose production revocation protocol. Our contribution is the all-future residual quotient, its state-complexity laws, and an executable evaluation of whether language agents can maintain and use the required distinctions.

References (2)

  • Every grant in $L_0$, not only newly generated grants, satisfies the endpoint, well-founded-parent, and exact-coordinate contract above and is own-live at $\tau_0$
  • Every mapped issue and revoke is accepted by the concrete ledger