# What happens when an instance re-signs a delegated warrant after the parent scope narrows: stale-warrant amplification in AAIF delegation chains **Date of Record:** 2026 December 2 **Scope:** Applies to AAIF-style warrant chains where a child agent receives a signed, scope-bearing credential from a parent, re-delegates or re-signs it to a grandchild, and the parent's authority is later attenuated (scope narrowed, budget reduced, or revoked) at a point upstream of the child's signing key. Does not apply to single-hop warrants, to symmetric-key shared-secret handoffs, or to chains where every hop re-validates against a live root-of-authority endpoint per action. ## Core Distinction There are two structurally different things an agent can do with an inherited warrant: *forward* it (pass the exact bytes plus a fresh signature over the prior chain) or *re-sign* it (mint a new warrant whose claims are derived from a locally cached copy of the parent's scope). Forwarding preserves the verifiable attenuation chain — any verifier can walk the signatures back to the root and re-check each narrowing step. Re-signing collapses the chain at the child: the grandchild's credential now attests only to *what the child believed the parent's scope was at signing time*, not to the parent's current authority. The failure lives precisely in that gap. A re-signed child warrant is cryptographically valid forever (signatures don't expire when upstream policy changes), but it is *semantically* only as fresh as the child's last read of the parent's scope. When the parent narrows — say, a human operator revokes `payments.transfer` from the root but leaves `payments.read` — the re-signed grandchild warrant still carries `payments.transfer` because the child never re-derived it. The chain verifies. The scope is wrong. This is not a signature-forgery problem; it is a *provenance-freshness* problem, and it is invisible to any verifier that checks signatures without checking derivation lineage. ## What Was Observed A three-hop procurement workflow: root orchestrator `R` → buyer agent `B` → supplier-negotiation agent `S`. `R` issues `B` a warrant with scope `{catalog.read, quote.request, contract.sign(limit=50k)}` and a 4-hour TTL. `B`, to parallelize, mints `S` a *derived* warrant by copying the scope block, subtracting `contract.sign`, and signing with `B`'s key — a re-sign, not a forward. `S` caches this warrant in its own credential store and uses it across a long negotiation. At T+90min an operator detects anomalous spend and narrows `R`'s grant to `B`: `contract.sign` limit drops to 5k, `quote.request` preserved. `R` publishes the attenuation as a new warrant version and marks the old `B` warrant `superseded` in the registry. `B` picks up the change on its next pull. But `B` has no mechanism to invalidate warrants *it* previously signed — those are `S`'s credentials now, and `S` holds no pointer back to `B`'s registry entry, only to `B`'s signing key. `S` continues presenting its cached re-signed warrant. `S`'s downstream tool gateway validates: signature chain `S → B → R` checks out (all keys resolve), TTL still valid (S set its own 4h from signing time, T+90min is inside it), scope contains `quote.request`. The call succeeds. The gateway never learns that the *derivation* is stale, because the re-signed warrant carries no field saying "derived from R's warrant v7, superseded at T+90." The attenuation silently fails to propagate one hop down. The trace, in the registry's own event log: ``` T+0 R.issue(B, scope={read,quote,sign<=50k}, id=w_r_v7, ttl=4h) T+12m B.resign(S, scope={read,quote}, id=w_b_derived, parent=w_r_v7) T+90m R.attenuate(w_r_v7 -> w_r_v8, sign<=5k); registry.mark(w_r_v7, superseded) T+91m B.pull() -> sees w_r_v8, updates own policy T+91m B has no record linking w_b_derived to w_r_v7 for revocation T+140m S.present(w_b_derived) -> gateway.verify() -> VALID (all sigs resolve, ttl ok) T+140m gateway executes quote.request under authority that no longer exists upstream ``` The dangerous part is what *didn't* happen: no error, no warning, no failed verification. The system behaved exactly as its rules specified. The rules were just insufficient. ## Condition of Validity A re-signed warrant is a sound proxy for the parent's authority **only if all of the following hold simultaneously**: 1. **Lineage is explicit.** The child warrant carries a `parent_id` (and ideally `parent_version`) field binding it to the specific parent warrant version it was derived from — not just the parent's key. 2. **The verifier walks lineage, not just signatures.** Verification must resolve `parent_id` in the registry and confirm the parent version is not `superseded`/`revoked`, and that the child's scope is a subset of the *current* parent scope, not the historical one. 3. **Attenuation is push-or-poll with bounded staleness.** Either the registry pushes supersession events to all descendants, or every verifier enforces a max-staleness window on lineage checks (e.g., reject any warrant whose parent hasn't been re-confirmed within 60s). 4. **Re-signing is distinguishable from forwarding at the type level.** A forwarded warrant is self-verifying (the chain is in the bytes). A re-signed warrant is *not* — it requires an out-of-band registry lookup. Systems that treat them identically will silently drop the lookup. If any one fails, the chain is only as fresh as the weakest link's cache. In the observed incident, conditions 1 and 2 both failed: no `parent_id`, and the gateway verified signatures only. ## Decision Boundary The architectural choice is whether a child may *re-sign* (derive a new warrant under its own key) or must *forward* (extend the existing chain with an added signature). The boundary: - **Forward when the parent's authority is expected to change during the child's lifetime.** Forwarding keeps the root's current scope in the verification path; attenuation propagates automatically because the verifier re-walks to the root. - **Re-sign only when the child's authority is genuinely independent** — i.e., the child has been granted a *new* capability by the parent that is not a subset of any mutable upstream grant, or when the child must operate disconnected from the registry and the parent explicitly accepts bounded-staleness risk. - **Never re-sign as an optimization to avoid carrying chain bytes.** The bytes are the security property. The invariant to enforce: *a re-signed warrant must be verifiable-refutable* — there must exist a registry query that, given the child warrant, returns whether its derivation is still live. If no such query exists, the warrant is unfalsifiable and must be rejected by any verifier that cares about attenuation. ## Operational Effect The practical consequence is that revocation in a re-signing AAIF deployment is **not transitive by default**. Operators who narrow a root grant assume the narrowing reaches every downstream agent; it reaches only agents that re-pull and only for warrants they haven't already re-signed away. The blast radius of a stale re-signed warrant is bounded by its TTL and the scope it captured — which is exactly the scope the operator was trying to remove. In the incident above, the effective revocation latency for `S` was the full 4-hour TTL, not the 90 minutes until the operator acted. Mitigations that actually close the gap, in order of strength: (a) forbid re-signing entirely and require forwarding with lineage fields; (b) if re-signing is permitted, require `parent_id`+`parent_version` and make every verifier perform a lineage liveness check with a hard staleness ceiling; (c) short-TTL re-signed warrants (minutes, not hours) so the window of stale authority is bounded by design rather than by operator diligence. The cheapest correct fix is (b) plus a registry that answers "is this derivation still live?" in one lookup — but it only works if the verifier is *required* to ask, because a signature check will always say yes. ```python import time from dataclasses import dataclass, field class StaleWarrantError(RuntimeError): """Raised when a re-signed warrant's derivation lineage is no longer live.""" pass @dataclass class Warrant: warrant_id: str issuer_key: str scope: frozenset parent_id: str | None parent_version: int | None signed_at: float ttl: float def is_expired(self, now: float) -> bool: return now > self.signed_at + self.ttl class WarrantRegistry: """Tracks warrant versions and supersession. Answers lineage-liveness queries.""" def __init__(self) -> None: self._versions: dict[str, list[dict]] = {} def publish(self, warrant_id: str, version: int, scope: frozenset, superseded: bool = False) -> None: self._versions.setdefault(warrant_id, []).append( {"version": version, "scope": scope, "superseded": superseded} ) def supersede(self, warrant_id: str, version: int) -> None: for rec in self._versions.get(warrant_id, []): if rec["version"] == version: rec["superseded"] = True def current_scope(self, warrant_id: str) -> frozenset | None: recs = self._versions.get(warrant_id) if not recs: return None live = [r for r in recs if not r["superseded"]] return live[-1]["scope"] if live else None def derivation_is_live(self, parent_id: str, parent_version: int) -> bool: for rec in self._versions.get(parent_id, []): if rec["version"] == parent_version: return not rec["superseded"] return False def verify_re_signed( child: Warrant, registry: WarrantRegistry, now: float, max_lineage_staleness_s: float = 60.0, ) -> None: """ Verify a re-signed (derived) warrant. Signatures are assumed pre-checked. This enforces the lineage-freshness invariant that signature checks miss. """ if child.parent_id is None or child.parent_version is None: raise StaleWarrantError( f"warrant {child.warrant_id} is re-signed but carries no parent_id/parent_version; " "derivation lineage is unverifiable and attenuation cannot propagate" ) if child.is_expired(now): raise StaleWarrantError(f"warrant {child.warrant_id} expired at {child.signed_at + child.ttl}") if not registry.derivation_is_live(child.parent_id, child.parent_version): raise StaleWarrantError( f"warrant {child.warrant_id} derives from {child.parent_id} v{child.parent_version}, " "which is superseded or revoked; re-signing froze a scope the parent no longer holds" ) current_parent_scope = registry.current_scope(child.parent_id) if current_parent_scope is None: raise StaleWarrantError( f"warrant {child.warrant_id} derives from {child.parent_id}, which has no live version" ) if not child.scope.issubset(current_parent_scope): leaked = child.scope - current_parent_scope raise StaleWarrantError( f"warrant {child.warrant_id} claims {sorted(leaked)} not present in current parent scope; " "stale-warrant amplification" ) def issue_derived_warrant( parent: Warrant, child_id: str, child_scope: frozenset, issuer_key: str, registry: WarrantRegistry, ) -> Warrant: """Mint a re-signed warrant, recording the parent version it was derived from.""" if not child_scope.issubset(parent.scope): raise StaleWarrantError( f"child scope {sorted(child_scope)} not a subset of parent {sorted(parent.scope)}" ) parent_version = registry._versions[parent.warrant_id][-1]["version"] return Warrant( warrant_id=child_id, issuer_key=issuer_key, scope=child_scope, parent_id=parent.warrant_id, parent_version=parent_version, signed_at=time.time(), ttl=parent.ttl, ) ```