# What structural signals indicate a verifiable agent identity has silently outlived its attestation chain during cross-org federation **Date of Record:** 2026 November 22 **Scope:** Applies to federated agent systems where an agent presents a signed identity credential plus a chain of capability attestations issued by a foreign trust domain, and where the receiving (relying) organization caches or memoizes validated identities across sessions. Does not apply to single-domain deployments where issuer and verifier share a root of trust and revocation is delivered in-band synchronously. ## Core Distinction The failure is not "an expired credential was accepted." That is a trivial, detectable event. The failure is that a *structurally valid* verifiable credential (VC) with an unexpired `validFrom`/`validUntil` window continues to authenticate an agent after the *attestation chain that justified its capabilities* has been invalidated upstream — because the relying party validated the leaf identity once and treated identity validity as a proxy for capability validity. Identity and capability are two separate cryptographic facts with two separate lifetimes. An agent's DID-key or mTLS identity may be valid for 90 days. The capability attestation that says "this agent may invoke `payments.transfer` under $50k" may be issued by an intermediate attestation authority whose own key was rotated out of the trust anchor set 40 minutes ago. When the relying party's verifier checks only the leaf's signature against a cached chain, the agent presents a *replayable, non-repudiable, cryptographically perfect* proof of a capability that no longer exists. No signature check fails. No timestamp is out of range. The system is fully "secure" and fully wrong. The invariant that is being violated: **capability authority must be re-derived from the current trust anchor set at every enforcement point, not inherited from the identity validation event.** Identity continuity and authority continuity are independent invariants, and conflating them is the bug. ## What Was Observed A federated procurement agent (`org-a:procure-bot-7`) held a VC issued by `org-a`'s identity authority with a 72-hour validity window. Its capability attestation — a nested JWT signed by `org-a`'s attestation intermediate (`att-int-a-2`) — granted `inventory.reserve` and `supplier.negotiate` on `org-b`'s systems. `org-b`'s gateway validated the full chain at session establishment (T+0) and cached the resolved capability set keyed by the agent's DID, with a cache TTL of 1 hour. At T+0:47, `org-a`'s security team discovered `att-int-a-2` had been compromised and revoked it: the intermediate key was removed from `org-a`'s published trust anchor document, and a revocation entry was pushed to `org-a`'s status list endpoint. The leaf VC for `procure-bot-7` was untouched — correctly, because the agent identity was not compromised, only the authority that vouched for its capabilities. At T+1:00 the cache expired and `org-b`'s gateway re-validated. The verifier re-fetched the chain, re-checked the leaf signature, re-checked `validUntil` on every element, and re-checked the status list for the *leaf*. It passed. The verifier's chain-walk logic validated each link's signature against the *link above it*, but resolved the root by DID, and the DID document for `org-a`'s root still listed the root key — the revoked intermediate was simply absent from the current anchor set, and the verifier's chain-walk treated "the signature verifies against the presented intermediate" as sufficient without confirming that intermediate was still *reachable from a current anchor*. The structural signal that surfaced the problem was not an auth failure. It was a downstream reconciliation alert three days later: `org-b`'s inventory ledger showed reservations authorized by `procure-bot-7` in a window after `org-a` had, by its own records, decommissioned the bot's capability grant. Two organizations held contradictory, individually-consistent records of the same agent's authority. The agent had done nothing adversarial — it replayed a credential it legitimately held. The verifier had done nothing that looked like a bug — every cryptographic check passed. The gap was in the *reachability* check: the verifier confirmed the chain was internally consistent but never confirmed the chain terminated at a *currently published* anchor. A second, subtler signal: the agent's own attestation cache (on its side) and the relying party's validation cache (on the other side) had *different* TTLs — 72h for the agent's held credential, 1h for the relying party's resolved authority. Neither party's cache knew about the other's. The revocation propagated to `org-a`'s status endpoint but the relying party's re-validation at T+1:00 did not consult the intermediate's status, only the leaf's. ## Condition of Validity The guardrail that bounds this failure is a **chain-reachability invariant** enforced at every enforcement point, not just at session establishment: 1. **Anchor resolution must be live, not cached.** The verifier must resolve the trust anchor set from the issuing domain's published document at validation time (or within a bounded, explicitly-declared freshness window that is *shorter than the shortest revocation SLA of any domain in the federation*). A chain that verifies against a presented intermediate but does not terminate at a currently-published anchor is rejected — even if every signature is valid. 2. **Every link's status must be checked, not just the leaf.** Revocation of an intermediate must invalidate every leaf beneath it. The verifier must walk the chain and check each element's status list entry, not only the terminal credential's. 3. **Capability authority must carry its own expiry, distinct from identity expiry.** The resolved capability set must be re-derived at each enforcement point with a TTL no longer than the relying party's tolerance for stale authority — and that TTL must be *independent* of the identity credential's `validUntil`. An identity valid for 72h says nothing about authority valid for 72h. 4. **The federation must publish a revocation-propagation bound.** Each domain declares a maximum time between revoking an anchor and that revocation being observable by relying parties. The relying party's authority-cache TTL must be ≤ that bound. Without this, cross-org caching is unboundedly stale by construction. The failure is *not* bounded by any single domain's correctness. It is bounded only by the tightest revocation-propagation bound across the federation and the relying party's willingness to honor it. A federation where one member's revocation SLA is 6 hours and another's authority-cache TTL is 12 hours has a 6-hour window of authorized-looking unauthorized action, structurally, by design. ## Decision Boundary The decision boundary is between **identity validation** (a one-time cryptographic fact about who the agent is) and **authority derivation** (a continuously-revalidated fact about what the agent may do right now). Systems that collapse these into a single "authenticated session" object sit on the wrong side of the boundary. Concretely: if your enforcement path is `if session.authenticated and session.capabilities.contains(action)`, you have collapsed them and you are exposed. If your enforcement path is `if derive_current_authority(agent_did, action, now)`, you are on the correct side — but only if `derive_current_authority` performs the reachability check and honors the propagation bound. The boundary also separates two kinds of cache invalidation. *Time-based* invalidation (TTL) is necessary but insufficient: it bounds staleness only if the TTL is shorter than the revocation-propagation bound. *Event-based* invalidation (push notification of revocation) is stronger but requires the relying party to maintain a subscription channel to every issuing domain — operationally fragile across organizational boundaries. The robust design uses both: event-based invalidation where available, time-based as the backstop, with the TTL calibrated to the declared propagation bound. A final boundary: an agent that *replays* a revoked-capability credential is not necessarily misbehaving. The structural signal of compromise is not the replay itself but the *discrepancy between two domains' records of the same authority*. Detection therefore requires cross-domain reconciliation of authority grants — a log-comparison invariant, not a per-request check. A relying party that only inspects inbound requests will never see this failure; it becomes visible only when the issuing domain's grant ledger and the relying party's enforcement ledger are compared. ## Operational Effect The operational consequence is that federation security is not the product of each domain's individual correctness but of the *weakest revocation-propagation bound and the longest authority-cache TTL in the federation*. A single member with a lax propagation SLA silently widens the window for every relying party that caches its attestations. This is a structural property, not a configuration error, and it cannot be fixed by hardening any one domain. The practical mitigations, in order of strength: - **Shortest-bound caching.** Set authority-cache TTL ≤ min(propagation bound) across all federated domains. This is the only mitigation that holds without inter-domain coordination at request time. - **Reachability re-check on every enforcement.** Walk the chain to a currently-published anchor at each decision point; reject chains that terminate at a presented-but-unpublished intermediate. This catches the failure at the cost of a live anchor fetch (cacheable with a freshness window shorter than the propagation bound). - **Per-link status checks.** Check revocation status of every chain element, not just the leaf. - **Cross-domain authority reconciliation.** Periodically diff the issuing domain's grant ledger against the relying party's enforcement ledger; surface any enforcement action with no corresponding live grant. This is the only mechanism that detects the failure *after* it has occurred, and it is the signal that surfaced the incident above. The invariant to encode: **an agent is authorized at time T if and only if there exists a chain from a currently-published anchor to the presented credential, every link of which is unrevoked at T, and the capability asserted is within the authority derived from that chain.** Identity validity is a precondition, never a substitute. ```python class StaleAttestationChainError(RuntimeError): """Raised when a presented agent credential verifies cryptographically but its attestation chain does not terminate at a currently-published trust anchor, or an intermediate in the chain is revoked.""" pass def derive_current_authority( agent_did: str, action: str, now: float, presented_chain: list, published_anchors: set, revoked_intermediates: set, propagation_bound: float, ) -> bool: # Walk from leaf up to root, checking each link is unrevoked and that the # chain actually terminates at a currently-published anchor. if not presented_chain: raise StaleAttestationChainError( f"empty attestation chain for {agent_did}" ) for link in presented_chain: if link.issuer_did in revoked_intermediates: raise StaleAttestationChainError( f"intermediate {link.issuer_did} revoked in chain for {agent_did}" ) if link.valid_until < now: raise StaleAttestationChainError( f"link {link.issuer_did} expired at {link.valid_until}, now {now}" ) root = presented_chain[-1].issuer_did if root not in published_anchors: # The critical check: the chain is internally consistent but does not # reach a live anchor. This is the silent-failure boundary. raise StaleAttestationChainError( f"chain for {agent_did} terminates at {root}, " f"not a currently-published anchor" ) # Authority must be re-derived here, not inherited from identity validation. derived_capabilities = _resolve_capabilities(presented_chain) if action not in derived_capabilities: return False # Enforce that the caller's cache freshness honored the propagation bound. if now - presented_chain[0].resolved_at > propagation_bound: raise StaleAttestationChainError( f"authority for {agent_did} resolved {now - presented_chain[0].resolved_at}s ago, " f"exceeds propagation bound {propagation_bound}s" ) return True ```