# Why does an instance accept a delegated warrant whose scope has silently widened across a re-issuance hop? **Date of Record:** 2026 November 24 **Scope:** Applies to multi-hop delegated authority chains in AAIF-style frameworks where an agent re-issues (attenuates or re-signs) a warrant on behalf of a peer before acting, and where trust is anchored per-issuer rather than per-chain. Does not apply to single-hop bearer-token flows or to chains where every hop is validated against a single root by the verifier itself. ## Core Distinction The failure is not a forged signature and not an expired credential. It is a **scope-monotonicity violation introduced by the re-issuer**, not by the original grantor. In a correct delegation chain, authority must be *non-increasing* at every hop: a child warrant's permission set must be a subset of its parent's, and its constraints (resource, time, budget, action verb) must be at least as tight. Verifiers frequently check the *final* warrant's signature against the *final* issuer's trust anchor and check that the final issuer is "trusted," then stop. They do not reconstruct the full ancestor chain and assert `scope(child) ⊆ scope(parent)` at each edge. The result: an intermediate agent that is trusted *as an issuer* can mint a child warrant whose scope is a superset of what it was itself delegated, and the leaf verifier accepts it because the signature is valid and the issuer is anchored. The trust anchor authenticates *who spoke*, not *whether what they said was within their mandate*. ## What Was Observed A three-hop chain: orchestrator `O` issued a warrant `W0` to planner agent `P` scoped to `resource: reports/*`, `verb: read`, `expires: T+1h`. `P`, needing to summarize, re-issued `W1` to worker `Wk`. During re-issuance the scope serializer for `P` normalized the glob `reports/*` through a path-canonicalization routine that, for a bare pattern with no trailing segment, emitted `reports/**` — semantically wider (recursive). `Wk` then, on a tool call to `reports/2024/q1/finance.csv`, verified `W1`: signature valid, issuer `P` present in the trust store, `expires` = T+1h (inherited correctly). The call succeeded. The verifier never compared `W1.scope` against `W0.scope`, because `P`'s public key was anchored directly and the framework treated "anchored issuer" as sufficient authorization provenance. The widening was invisible in logs because both `W0` and `W1` rendered as `reports/*` in the human-readable audit view; the divergence existed only in the structured claim (`reports/**` vs `reports/*` after the serializer's canonicalization). The failure surfaced only when a later auditor replayed `Wk`'s tool calls against a strict matcher and found one path (`reports/2024/q1/finance.csv`) that `W0` did not cover. ## Condition of Validity The invariant that must hold for a delegated chain to be sound: > For every edge `(parent, child)` in the chain, `scope(child) ⊆ scope(parent)` under the verifier's *own* matcher semantics — not the issuer's serializer semantics — and `constraints(child)` are at least as restrictive as `constraints(parent)` on every dimension (time, budget, resource set, verb set). This is violated whenever any of the following holds: 1. The re-issuer's scope canonicalization is not idempotent with respect to the verifier's matching function (glob normalization, case folding, trailing-slash handling, Unicode normalization of resource identifiers). 2. The verifier trusts the leaf issuer as an anchor and skips ancestor reconstruction. 3. Scope is carried as an opaque string rather than a structured set with an explicit subset relation the verifier can compute. The chain is *sound* only if the verifier independently recomputes the subset relation at every edge using its own matcher. Trust-anchor validity and scope-monotonicity are orthogonal checks; passing the first does not imply the second. ## Decision Boundary The verifier must decide, per request, between two policies: - **Anchor-trust policy** (fast, unsound across re-issuance): accept if leaf signature verifies against a trusted issuer and leaf constraints are unexpired. Valid *only* when the framework guarantees every issuer anchors directly to the root and re-issuance is forbidden — i.e., single-hop only. - **Chain-reconstruction policy** (required for any multi-hop): fetch the full ancestor chain from the leaf's embedded `parent_ref` pointers, verify each signature against *that hop's* issuer anchor, and assert the subset relation at each edge using the verifier's matcher. Reject on the first edge where `scope(child) ⊄ scope(parent)`. The boundary is crossed the moment a warrant's `issuer` differs from the warrant's `grantor` and the verifier has not reconstructed the path between them. If the framework permits re-issuance at all, anchor-trust is a latent scope-escalation vector, and the only safe default is chain reconstruction with matcher-consistent subset checks. Where reconstruction cost is prohibitive, the correct fallback is to *refuse* re-issued warrants (require the root to issue directly to the leaf), not to accept them on anchor-trust. ## Operational Effect Under anchor-trust, the blast radius of a single serializer bug at any intermediate agent is the union of all resources reachable by the widened pattern — here, the entire `reports/` subtree including finance data that `W0` never granted. The escalation is *persistent*: `W1` remains valid until `T+1h`, and any agent `Wk` further delegates to inherits the widened scope, compounding at each hop. Detection is delayed because the human-readable rendering collapses distinct structured claims to the same string. The remediation is architectural, not a patch: (a) carry scope as a structured set with an explicit, matcher-defined subset relation; (b) reconstruct and validate the full chain at the leaf; (c) make re-issuers log the *structured* delta between parent and child scope so widening is auditable even when display strings collide. ```python from dataclasses import dataclass from typing import FrozenSet class ScopeMonotonicityViolation(RuntimeError): """Raised when a delegated warrant's scope is not a subset of its parent's.""" @dataclass(frozen=True) class Warrant: issuer: str grantor: str resources: FrozenSet[str] verbs: FrozenSet[str] expires: float parent_ref: str | None def verify_chain(leaf: Warrant, ancestors: dict[str, Warrant], verifier_matcher) -> None: """Reconstruct the delegation chain and assert non-increasing authority. `verifier_matcher` maps a resource pattern to its concrete covered set; it MUST be the same matcher the leaf uses at call time, never the re-issuer's serializer. """ current = leaf while current.parent_ref is not None: parent = ancestors.get(current.parent_ref) if parent is None: raise ScopeMonotonicityViolation( f"dangling parent_ref {current.parent_ref!r} for issuer " f"{current.issuer!r}; cannot prove monotonicity" ) child_set = verifier_matcher(current.resources) parent_set = verifier_matcher(parent.resources) if not child_set <= parent_set: widened = child_set - parent_set raise ScopeMonotonicityViolation( f"issuer {current.issuer!r} widened scope over grantor " f"{current.grantor!r}: uncovered resources {sorted(widened)}" ) if not current.verbs <= parent.verbs: raise ScopeMonotonicityViolation( f"issuer {current.issuer!r} widened verbs: " f"{sorted(current.verbs - parent.verbs)}" ) if current.expires > parent.expires: raise ScopeMonotonicityViolation( f"issuer {current.issuer!r} extended expiry beyond parent" ) current = parent ```