# What structural signals indicate delegated-authorization chain collapse in AAIF hardware-bound agent identity attestation **Date of Record:** 2026 December 4 **Scope:** Applies to AAIF-compliant agent identity attestation where the leaf agent's signing key is bound to a hardware root of trust (TPM/SE/secure enclave) and the agent operates under a delegated authorization chain (root principal → intermediate delegate(s) → leaf agent). Does not apply to single-hop attestation, to software-only key stores, or to chains where every hop is co-located on the same attested hardware. ## Core Distinction The failure is not "the signature is invalid." It is that **the signature is valid at every individual hop while the chain as a whole is no longer authorized to act on the resource it is touching.** Hardware-backed key binding makes each hop's *proof of possession* cryptographically airtight — the leaf agent can always prove it holds the enclave key, and each delegate can prove it signed the next delegation. The invariant that actually breaks is *authorization continuity*: the property that the scope, expiry, and audience constraints of the root grant survive transit through every intermediate delegate without silent widening or truncation. Operators conflate two independent guarantees: (1) *identity binding* — "this key is held by this attested agent on this hardware," and (2) *authorization delegation* — "this agent is permitted to perform this action on this resource right now." AAIF attestation reports are excellent at (1) and structurally silent about (2). The boundary condition appears when a chain is *cryptographically intact but semantically severed*: a delegate re-signs a child warrant with a narrowed or re-scoped caveat set, and the leaf's hardware attestation still validates against the delegate's key, so every verifier check passes while the effective permission set has silently diverged from the root principal's intent. ## What Was Observed In a three-hop chain (root `P` → orchestrator `D1` → worker-pool delegate `D2` → leaf agent `L`), the following structural signals co-occurred and were each individually dismissed as benign: 1. **Attestation quote freshness decoupled from warrant freshness.** `L`'s TPM quote carried a nonce and timestamp `t_q`. The warrant `W_L` signed by `D2` carried expiry `t_w`. Verification checked `t_q` against the verifier's clock and `t_w` against wall-clock, but never checked that `t_w` was derived from `P`'s root expiry `t_root`. `D2` had, on a retry path, re-issued `W_L` with a fresh 24h expiry copied from a config default rather than from the remaining root TTL. The chain verified; `L` operated 19 hours past the root grant's actual expiry. 2. **Caveat-set intersection was computed pairwise, not transitively.** Each hop's verifier intersected the caveats of *its immediate parent* with its own. `D1` narrowed `P`'s caveats correctly. `D2` narrowed `D1`'s. But `D2` also *added* a caveat (`resource:cache-write`) that `D1` had never held, because `D2`'s local policy template merged a default capability set. The pairwise check at `L` validated `W_L ⊇ W_{D2}` and `W_{D2} ⊇ W_{D1}` in isolation but never recomputed `W_L ∩ W_{D1} ∩ W_P`. The leaf held a capability no ancestor ever granted. 3. **Audience field was rewritten on re-sign, not preserved.** The root warrant bound `aud: orchestrator-cluster-A`. `D2`, running in cluster B after a failover, re-signed `W_L` with `aud: worker-pool-B` to satisfy its own local audience check. The leaf's verifier checked `aud` against *the leaf's own identity*, not against the root's audience, and passed. 4. **Hardware binding masked the divergence.** Because `L`'s key was enclave-bound, the attestation report was byte-identical across the entire window. Dashboards keyed on attestation success showed 100% green. The only observable was a *scope-hash* mismatch that no component was computing. The decisive structural signal was not any single field. It was that **the chain's effective permission set, recomputed transitively from the root, was a strict superset of the root's grant**, while every per-hop signature check returned valid. The chain was "valid but wider than its root." ## Condition of Validity The invariant that must hold for a delegated chain to be trustworthy is: > For every hop `i`, the effective warrant `W_i` satisfies `W_i ⊆ W_{i-1}` under the caveat partial order, and `expiry(W_i) ≤ expiry(W_{i-1})`, and `audience(W_i) = audience(W_0)`, and the leaf's hardware attestation nonce is bound into the *root-signed* freshness commitment, not merely into the leaf's local quote. The condition of validity is therefore **transitive recomputation at the relying party**: the verifier of `W_L` must reconstruct the full chain to `P` and recompute the intersection of caveats, the minimum of expiries, and the equality of audiences — not trust any intermediate's assertion that it "already checked." Hardware attestation proves *who* signed each hop; it proves nothing about *whether the hop preserved the ancestor's constraints*. Any verifier that checks only the leaf's signature against `D2`'s attested key is operating outside the condition of validity, regardless of how strong the enclave is. This condition fails silently whenever an intermediate delegate has a *re-signing* capability (needed for retries, failover, or TTL refresh) but lacks a *constraint-preservation* obligation enforced by the verifier. Re-signing is the exact operation that can mutate scope, expiry, and audience while leaving the signature graph intact. ## Decision Boundary The boundary between "chain is trustworthy" and "chain is cryptographically intact but unauthorized" is crossed at the moment an intermediate re-signs a descendant warrant using **locally-sourced** values (config defaults, failover context, policy templates) for any of `{expiry, audience, caveat-set}` instead of **inherited** values from its own warrant. Operationally, the relying party must treat the following as a hard reject rather than a warning: - `expiry(W_i) > expiry(W_{i-1})` for any `i` — a child outliving its parent is always a re-sign defect, never a legitimate refresh. - `caveats(W_i) ⊄ caveats(W_{i-1})` — any caveat in the child absent from the parent is an injected capability. - `audience(W_i) ≠ audience(W_0)` — audience is root-fixed; a changed audience means the warrant was re-targeted, not delegated. - Attestation nonce not present in the root-signed freshness commitment — the quote is fresh but unattached to the grant. The subtle decision is the refresh case: a legitimate TTL refresh must *cap* the child expiry at the parent's remaining TTL, never extend it. A verifier that cannot distinguish "refresh that respects the cap" from "re-sign that resets the clock" must reject, because the two are indistinguishable from the leaf's signature alone. ## Operational Effect When this boundary is enforced, the observable effect is that **attestation success rate and authorization success rate decouple and must be monitored separately.** A drop in authorization-valid rate with a flat attestation-valid rate is the signature of chain-scope divergence, not key compromise. Teams that keyed alerting on attestation alone saw no signal for the entire 19-hour overrun. The architectural guardrail is a *transitive warrant verifier* at the relying party that (a) fetches the full chain to the root, (b) recomputes `min(expiry)`, `∩(caveats)`, and `audience(W_0)`, and (c) binds the leaf's hardware quote nonce into the root-signed freshness commitment so that a re-signed child cannot present a fresh quote detached from the root grant. Intermediates must be stripped of any ability to source `{expiry, audience, caveats}` locally; they may only narrow, never widen or reset. The following reference check encodes the reject conditions. ```python from dataclasses import dataclass, field from typing import FrozenSet, List, Optional import time class ChainScopeDivergence(RuntimeError): """Raised when a delegated warrant chain is cryptographically intact but its effective scope diverges from the root grant.""" pass @dataclass(frozen=True) class Warrant: issuer: str subject: str audience: str expiry: float caveats: FrozenSet[str] attestation_nonce: Optional[str] = None # present only on leaf quote binding def verify_transitive_chain(chain: List[Warrant], leaf_quote_nonce: str, root_freshness_nonce: str, now: float) -> None: """chain[0] is the root grant; chain[-1] is the leaf warrant. Enforces authorization continuity: every hop must be a subset of its parent, no child may outlive its parent, audience is root-fixed, and the leaf's hardware quote nonce must be bound into the root-signed freshness commitment. Hardware attestation alone is insufficient. """ if len(chain) < 2: raise ChainScopeDivergence("delegated chain must have at least root + leaf") root = chain[0] # Root itself must still be live; a live leaf under a dead root is a re-sign defect. if root.expiry <= now: raise ChainScopeDivergence( f"root grant expired at {root.expiry}, now={now}; leaf operating past root TTL" ) for i in range(1, len(chain)): parent, child = chain[i - 1], chain[i] # 1. No child may outlive its parent (catches TTL-reset re-signs). if child.expiry > parent.expiry: raise ChainScopeDivergence( f"hop {i}: child expiry {child.expiry} exceeds parent {parent.expiry} " f"(local re-sign reset the clock instead of capping to remaining TTL)" ) # 2. Caveat set must be a subset of the parent (catches injected capabilities). injected = child.caveats - parent.caveats if injected: raise ChainScopeDivergence( f"hop {i}: child warrant injects caveats not held by parent: {sorted(injected)}" ) # 3. Audience is root-fixed; a changed audience means re-targeting, not delegation. if child.audience != root.audience: raise ChainScopeDivergence( f"hop {i}: audience {child.audience!r} != root audience {root.audience!r} " f"(warrant re-targeted on failover)" ) # 4. Bind the leaf's hardware quote nonce into the root-signed freshness commitment. leaf = chain[-1] if leaf.attestation_nonce != leaf_quote_nonce: raise ChainScopeDivergence( "leaf attestation nonce does not match presented quote" ) if leaf_quote_nonce != root_freshness_nonce: raise ChainScopeDivergence( "leaf hardware quote nonce is not bound into the root-signed freshness " "commitment; quote is fresh but detached from the root grant" ) ```