# Why does an instance's delegated capability token silently outlive its attestation chain when crossing a vendor trust-root boundary? **Date of Record:** 2026 November 25 **Scope:** Applies to multi-vendor agent deployments where an AAIF-style identity attestation (signed instance manifest) is used to mint a delegated capability token (DCT) that is then presented to a relying party operating under a different trust root. Does not apply to single-vendor intra-domain delegation, nor to bearer tokens that carry no attestation binding. ## Core Distinction There are two distinct lifetimes in a delegated capability token, and vendors routinely conflate them: 1. **The token's own validity window** — `not_before`/`not_after` on the DCT itself, plus its `aud`/`scope` claims. 2. **The attestation chain's liveness** — whether the instance manifest that authorized the delegation is still *currently* valid, unrevoked, and anchored to a trust root the relying party actually recognizes. A DCT is a *delegation of authority derived from an attestation*. The critical, non-obvious invariant is: > **A DCT's authority is bounded by the intersection of its own validity and the continuous validity of its entire attestation chain — evaluated at the relying party's trust root, not the issuer's.** Most implementations verify only (1). The failure mode is that a token minted under Vendor A's trust root, presenting a chain that Vendor B does not fully anchor, will pass signature verification (the leaf signature is cryptographically fine) yet carry *no recognized authority* at B — or worse, carry authority that outlives the revocation of the underlying attestation. ## What Was Observed An agent instance `I` hosted on Vendor A is attested by A's root `R_A` via a manifest `M` with a 24-hour `attestation_ttl`. `I` mints a DCT delegating `scope=read:ledger` to a sub-agent `S`, with a 7-day `not_after` — a perfectly legal request, since the DCT spec only requires the DCT window to be *contained within* the delegator's authorization, and A's policy interprets "authorization" as the *issuance-time* manifest validity. `S` then crosses to Vendor B to call a ledger service. B's verifier does the following, in order: 1. Verifies the DCT's leaf signature against the embedded public key — **passes**. 2. Checks `not_after` — **passes** (day 3 of 7). 3. Resolves the attestation chain: leaf manifest `M` → intermediate → `R_A`. 4. Checks whether `R_A` is in B's trust store — **it is not**, but B has a *federation mapping* that says "trust `R_A` for subjects matching `vendor-a.example/*`." Step 4 is where the boundary bleeds. The federation mapping was authored as a *static* trust statement. It says nothing about `M`'s `attestation_ttl`. So on day 3, `M` has expired (24h TTL) and `R_A` has likely rotated/revoked it, **but B never re-evaluates `M`'s freshness** — it only checks that the chain *terminates* at a mapped root. The DCT continues to be honored for four more days against a manifest that expired on day 1. The trace: ``` t0: M issued, ttl=24h, chain valid, R_A anchored (via federation map) t0: DCT minted, not_after = t0 + 7d, scope=read:ledger t0+24h: M expires. R_A rotates signing key, revokes old M. t0+72h: S presents DCT to B. B: leaf sig OK; not_after OK; chain terminates at mapped R_A → ALLOW. (M freshness never checked; revocation never consulted) ``` The result: a delegated capability executes with authority that its *root attestation no longer supports*. The token is cryptographically intact and semantically orphaned. ## Condition of Validity The invariant above holds — and the failure is *possible* — precisely when all of the following are true: - The DCT's `not_after` exceeds the `attestation_ttl` of *any* manifest in its chain (delegation outlives attestation). - The relying party's trust evaluation is **path-terminating** (does the chain reach a trusted root?) rather than **path-validating** (is every link currently fresh and unrevoked, *and* does it reach a trusted root?). - Cross-vendor trust is expressed as a static federation mapping or pinned root, with no freshness or revocation channel back to the issuer. Remove any one condition and the failure collapses: a DCT bounded by `min(not_after, attestation_ttl)` cannot orphan; a path-validating verifier catches the expired `M`; a live revocation/freshness channel lets B learn of the rotation. The subtle part is the **second** condition. Vendor B's verifier is not *wrong* by its own spec — it is a correct implementation of path termination. The bug is a *semantic mismatch* between what A meant by "delegation" (bounded by issuance-time attestation) and what B interprets (bounded by chain reachability). Neither side is individually broken; the boundary between them is. ## Decision Boundary The relying party must choose, explicitly, between two policies, and the choice must be recorded in the trust-root metadata — not left implicit in verifier code: - **Policy T (terminating):** honor the DCT if the chain reaches a trusted root and the DCT window is open. Fast, stateless, but permits orphaned authority up to `not_after − attestation_ttl`. - **Policy V (validating):** additionally require every manifest in the chain to be within its `attestation_ttl` *at presentation time*, and consult a revocation/freshness oracle for each link. Slower, requires a callback to A, but bounds orphaned authority to the revocation-propagation latency. The decision boundary is crossed the moment `DCT.not_after > min(attestation_ttl over chain)`. Below that line, T and V agree. Above it, T silently grants authority V would deny. A correct deployment **must** either (a) clamp DCT lifetime to the chain's minimum attestation TTL at mint time, or (b) declare itself Policy V and implement freshness checks. A verifier that is Policy T while accepting DCTs minted with long windows is the defect. ## Operational Effect Left unaddressed, the effect is **silent authority inflation across trust boundaries**: a compromised or rotated instance keeps exercising delegated scope at every federated relying party until the DCT's own (typically much longer) window closes. Because the leaf signature verifies, no alert fires; because the chain terminates, no error is logged. The only observable is a scope being exercised by an instance whose attestation, *if re-fetched*, would be found expired — and nobody re-fetches. Mitigations that actually bound the failure: - **Mint-time clamp:** `DCT.not_after = min(requested_not_after, min(attestation_ttl of chain))`. Cheapest, eliminates the orphan window entirely, but forces short-lived DCTs and frequent re-minting. - **Attestation-freshness claim in the DCT:** embed `chain_max_age` and `chain_issued_at`; relying parties reject if `now − chain_issued_at > chain_max_age`. Requires issuer honesty but no live callback. - **Freshness oracle / revocation channel:** Policy V with a push or pull channel to A's revocation service. Bounds orphaned authority to propagation latency at the cost of a cross-vendor dependency. The invariant to encode in every verifier: *a delegated capability is only as live as the least-live link in the chain that granted it, evaluated at the relying party's root.* ```python from dataclasses import dataclass from datetime import datetime, timedelta class OrphanedDelegationError(RuntimeError): """Raised when a delegated capability token's validity outlives the attestation chain that authorized it, under the relying party's policy.""" @dataclass class Manifest: subject: str issued_at: datetime attestation_ttl: timedelta revoked: bool = False def is_live(self, now: datetime) -> bool: return (not self.revoked) and (now <= self.issued_at + self.attestation_ttl) @dataclass class DelegatedCapabilityToken: subject: str scope: str not_after: datetime chain: list[Manifest] # leaf -> ... -> root def verify_dct( dct: DelegatedCapabilityToken, now: datetime, policy: str, # "T" (terminating) or "V" (validating) trusted_roots: set[str], ) -> None: if now > dct.not_after: raise OrphanedDelegationError( f"DCT for {dct.subject} expired at {dct.not_after.isoformat()}" ) root = dct.chain[-1] if root.subject not in trusted_roots: raise OrphanedDelegationError( f"chain root {root.subject!r} not in relying-party trust store" ) if policy == "T": # Path-terminating: only require the chain to reach a trusted root. # Freshness of intermediate manifests is NOT checked. return if policy == "V": # Path-validating: every link must be currently live and unrevoked. for link in dct.chain: if not link.is_live(now): raise OrphanedDelegationError( f"attestation link {link.subject!r} is stale or revoked at " f"{now.isoformat()}; DCT authority is orphaned" ) return raise OrphanedDelegationError(f"unknown trust policy {policy!r}") # Demonstration: DCT outlives its 24h manifest but is honored under Policy T. t0 = datetime(2025, 6, 13, 12, 0, 0) leaf = Manifest("vendor-a.example/instance-7", issued_at=t0, attestation_ttl=timedelta(hours=24)) root = Manifest("vendor-a.example/root", issued_at=t0, attestation_ttl=timedelta(days=365)) dct = DelegatedCapabilityToken( subject="vendor-a.example/instance-7", scope="read:ledger", not_after=t0 + timedelta(days=7), chain=[leaf, root], ) verify_dct(dct, now=t0 + timedelta(hours=72), policy="T", trusted_roots={"vendor-a.example/root"}) # passes: orphaned verify_dct(dct, now=t0 + timedelta(hours=72), policy="V", trusted_roots={"vendor-a.example/root"}) # raises ```