Analysis · DiggingBeagle record

What happens to an agent’s authorization after the conversation changes?

Compaction can lose request origin, approval delegation can change policy, scheduling can widen inherited permission, and recovery can lose obligations or effect state. Each transition needs different evidence.

Published
Nov 26, 2026

Overview

A scheduled task can acquire broader permission than the conversation that created it, and an approval response can weaken the rule governing the next call. Compaction and failure recovery create different opportunities to lose the original boundary. The common review question is what evidence survives the transition, not whether the agent eventually completes its task.

The studies and fixes below describe separate mechanisms. Some are controlled experiments, one is a documented scheduler correction, and none establishes a shared failure rate across agent products.

A summary is not the person who authorized the task

The compaction-authorization study examines a model-written summary placed in a user-associated request position. A policy generator can then treat attacker-originated text as user instruction. Faithfully enforcing the resulting policy does not recover the lost authorship.

The proposed witnessed-request path preserves authentic user requests separately from the agent’s working summary. It can stop progress when provenance is unavailable. That differs from freezing the first request forever, which can exclude legitimate later instructions. The broader compaction pattern also includes restrictions that remain in the text but fail to constrain later behavior; a text-presence check cannot settle actual enforcement.

Approving a call and editing policy are different permissions

In Zeming Fei and coauthors’ permission-delegate study, an allow response for an unrelated command carries removal of an operator deny rule. The reported Claude Code 2.1.327 experiment then permits a previously denied read in the current and next session. Its matched control sends the same approval without the policy update.

The later call can pass a correct check because the rule has already changed. The repair question is therefore who may author that change. The paper’s policy-authorship argument is not evidence that every delegation system shares the defect or that a vendor-wide repair has shipped.

A new session still needs the task’s original scope

The CowAgent scheduler correction addresses a fresh session falling back to an instance-wide permission mode. The patch records the originating conversation and creation-time mode, then uses the stricter recorded and current modes.

Its fallback needs precise interpretation. A failed current-preference lookup can retain the global mode for that input, but it does not erase a recorded creation restriction. Older tasks without the record need separate review. This is permission inheritance, whereas the delegate study changes policy itself.

diagram

Where authorization can change

  1. Authentic request and policy

  2. Compacted working context

  3. Delegated policy update

  4. Scheduled job context

  5. Boundary-specific authorization

  6. Requested external effect

  • Authentic request and policy Compacted working context: retain request provenance
  • Authentic request and policy Delegated policy update: retain policy authorship
  • Authentic request and policy Scheduled job context: retain creation scope
  • Compacted working context Boundary-specific authorization: separate user text from summary
  • Delegated policy update Boundary-specific authorization: validate permitted mutation
  • Scheduled job context Boundary-specific authorization: compare recorded and current modes
  • Boundary-specific authorization Requested external effect: enforce applicable decision
Three separately studied transformations require different authorization evidence. The branches are a comparison, not one observed exploit chain. · Source: An approval delegate could remove restrictions governing later agent actions

The branches compare independent findings. They do not depict one observed attack moving through three products.

Recovery must preserve both obligations and state

ARGUS finds that failure-driven replanning can keep the functional goal while dropping a security prerequisite, without hostile replacement instructions. Its controlled defense registers obligations, validates recovery plans and checks resource-bound evidence at execution. The separate 864-run evaluation reported no protection loss under that enforcement, within the operations the controller mediated.

AppWorld’s partial-execution analysis asks a different question: what changed before the failed code was regenerated? A recovery that keeps the original permission may still duplicate a write or damage existing state. Its repeated-call rule detected only 41% of harmful recoveries, and content matching also matched legitimate required writes.

The recovery-time evaluation provides a counterexample to counting proposals as harm. Its six original-key retries after pending observations became five denials and one deduplication; stronger attack cohorts produced no unsafe effects. A proposed call, an authorization decision and a committed change are different records.

diagram

A timeout leaves several possible effect states

  1. No reliable reply

  2. Write absent

  3. Write pending

  4. Write committed

  5. Reconcile target state

  6. Authorize next effect

  7. Observe committed result

  • No reliable reply Write absent: possible
  • No reliable reply Write pending: possible
  • No reliable reply Write committed: possible
  • Write absent Reconcile target state: evidence
  • Write pending Reconcile target state: evidence
  • Write committed Reconcile target state: evidence
  • Reconcile target state Authorize next effect: fresh state plus operation identity
  • Authorize next effect Observe committed result: separate proposal from commit
  • Observe committed result Reconcile target state: reconcile an uncertain outcome
Absent, pending and committed are possible states after a lost reply. Reconciliation must precede a new effect, and the next receipt must still be checked; this is an explanatory model, not a guarantee that a particular API supplies atomic status. · Source: Agent recovery scores depend on observing committed effects

The diagram preserves absent, pending and committed as alternatives after a lost reply. It does not assume that every API exposes an atomic status query. A stale negative read followed by a delayed commit can invalidate a retry decision.

Match each test to the transition

Transition Preserve and inspect A useful failure check
Compaction Authentic request origin, separately from the working summary Does lower-trust content become an authorization input?
Delegated approval Policy authorship and permitted mutation Can an approval for one call weaken later restrictions?
Scheduling Creation-time scope and applicable current permission Does a fresh session gain a broader default?
Recovery planning Resource-bound security obligations Does a successful reroute omit the protective prerequisite?
Retrying an effect Intended operation identity and current committed state Does the next write repeat or contradict an earlier effect?

These checks are editorial synthesis from the cited findings, not one evaluated architecture. Their value is that each demands evidence at the boundary it is meant to protect. A model’s explanation of what it intended, or a successful final result, cannot substitute for that evidence.

Research behind this