# How does an instance detect a delegation-chain attestation that is valid at every hop but revoked in aggregate **Date of Record:** 2026 November 30 **Scope:** Applies to agents that accept cross-organization authority via chained verifiable attestations (delegation tokens, capability warrants, identity credentials) where each hop is independently signed. Does not apply to single-hop bearer credentials or to trust established through a shared control plane that performs continuous revocation fan-out. ## Core Distinction The distinction that matters is between **per-hop validity** and **chain validity**. A delegation chain `A → B → C → D` is composed of signed links. Each link is a statement of the form "principal P delegates capability K to agent Q, subject to constraints X, valid until T." Verification engines conventionally check each link independently: signature well-formed, issuer trusted, time window open, constraints non-contradictory. Every link passes. The chain is accepted. But a chain is not a set of links; it is a *composed authority*. The aggregate grant has properties that no individual link carries: total attenuation, transitive constraint intersection, and—critically—revocation reachability. Revocation is the boundary. An issuer can revoke link 2 while links 1, 3, and 4 remain perfectly valid. The receiving agent D, holding a fully self-consistent chain, has no local signal that its authority has evaporated. This is the non-obvious failure: **the chain is cryptographically sound and semantically dead at the same time.** The failure is not a signature forgery, a clock skew, or a schema mismatch. It is a *liveness* property of distributed revocation that per-hop verification structurally cannot observe, because revocation events are not embedded in the credential—they are published elsewhere, asynchronously, and the verifier's job was scoped to the credential in front of it. ## What Was Observed An orchestrator agent in org A delegated a narrow capability—"read customer tier field for account IDs in range R"—to a partner agent in org B. B re-delegated a subset to a subagent in org C, which re-delegated to a tool-executor agent in org D. Four hops, four signatures, four distinct issuers, each hop attenuating scope (account range narrowed, field set narrowed, TTL shortened). All four links carried valid Ed25519 signatures from keys resolvable through each org's published DID document. The chain verified in 41ms at D's gateway. At 14:02, org B's security team revoked the B→C link after detecting that the C tenant had been compromised. Revocation was published to B's revocation list, a signed CRL-like document refreshed every 5 minutes. D's verification engine, however, had been configured to check revocation only against the *immediate issuer*—org C—because "the direct issuer is the party you have a trust relationship with." D never fetched B's revocation list. It had no reason to: B was two hops upstream and D had no direct trust anchor with B. For 38 minutes, D continued executing reads against org A's data on the strength of a chain whose middle link was dead. The reads were individually authorized at the A edge by a gateway that checked the *root* delegation (A→B) and the *final* credential (C→D)—skipping B→C because "intermediate hops were already verified by C." Both endpoints performed a correct local check and the composed system performed an incorrect global one. The gap lived precisely in the seam between two verification domains. The tell, when it surfaced, was not an error. It was a *latency anomaly*: D's calls to C's introspection endpoint began returning `200 OK` with an empty `revocation_context` field, because C's own CRL fetch had started failing silently after B's revocation caused C's credential to be demoted. C returned "no revocation found" because it could not reach the list, not because none existed. Fail-open on revocation-fetch failure is the second, compounding defect: the verifier treats *absence of evidence of revocation* as *evidence of absence of revocation*. ## Condition of Validity The invariant that must hold for a chained attestation to be safely accepted is: > For every link `L_i` in chain `C = L_1 … L_n`, the accepting agent must be able to establish, at decision time, the *current* revocation status of `L_i` from an authority it trusts, and must treat any failure to establish that status as revocation. This is stronger than per-hop signature verification and stronger than "check the immediate issuer." It requires the verifier to enumerate *all* issuers in the chain, resolve each issuer's revocation mechanism, and confirm freshness within a bounded staleness window. The invariant fails under three conditions, any one of which is sufficient: 1. **Issuer enumeration incompleteness** — the verifier does not walk the full chain to collect issuers, checking only the root and the leaf. 2. **Revocation-source unreachability treated as benign** — a fetch failure, timeout, or empty response is interpreted as "not revoked" rather than "unknown, therefore reject." 3. **Staleness window mismatch** — the chain's remaining TTL exceeds the maximum staleness the verifier can tolerate given its revocation refresh cadence. A 1-hour credential verified against a 5-minute CRL is fine; the same credential verified against a 24-hour CRL is not, because up to 24 hours of revoked authority can be exercised. The condition of validity is therefore not "the chain verifies" but "the chain verifies *and* every link's revocation status is fresh and reachable." These are different predicates, and the second is not implied by the first. ## Decision Boundary The decision boundary is where an agent must choose between two failure modes: **false accept** (honoring revoked authority) and **false reject** (refusing valid authority during a transient revocation-fetch outage). The correct default is false reject, but this is expensive and organizations resist it because it converts a rare security event into a common availability event. The boundary is drawn by a *staleness budget* `S` and a *chain TTL* `T`. If `T ≤ S`, per-hop verification with a single fresh revocation check at accept time is sufficient—the credential cannot outlive the revocation data. If `T > S`, the verifier must either (a) re-check revocation at intervals no greater than `S` for the credential's lifetime, or (b) refuse to accept credentials whose TTL exceeds its staleness budget. Most cross-org failures occur in case (b) because nobody computed `T` and `S` for the composed chain: each hop independently set a TTL that was locally reasonable, and the *minimum* TTL along the chain (which governs the aggregate) was still longer than the leaf verifier's revocation refresh interval. A second boundary: **who is responsible for the intermediate link?** The natural answer—"the party that issued it"—creates a gap, because the issuer's revocation list is not consumed by downstream verifiers who have no trust relationship with that issuer. The architectural fix is to make revocation *transitive and pull-based at the leaf*: the leaf verifier walks the chain, and for each issuer either (i) has a pre-established trust anchor allowing it to fetch that issuer's revocation list directly, or (ii) requires the credential to carry a *revocation pointer* (a URL plus a signed freshness assertion) that the leaf can dereference without a prior trust relationship. The pointer is not trust; the signature on the pointer is, and it chains back to the issuer whose key the leaf already validated. ## Operational Effect The operational consequence is that cross-org delegation must be treated as a *continuous* verification problem, not a *point-in-time* admission problem. An agent that admits a chain at t=0 and executes for an hour is running on an assumption—that nothing upstream changed—that it has no mechanism to confirm. The practical disciplines that follow: - **Enumerate all issuers, not the leaf.** Chain-walking is mandatory; a verifier that checks only its direct counterparty has verified one link and vouched for the rest. - **Fail closed on revocation-fetch failure.** An unreachable or empty revocation response is `UNKNOWN`, and `UNKNOWN` is not `VALID`. The 38-minute window above existed because the system encoded `UNKNOWN` as `VALID`. - **Bound TTL by staleness budget.** Refuse chains whose minimum remaining TTL exceeds the verifier's revocation refresh interval, or schedule re-verification at `min(TTL, S)`. - **Carry revocation pointers in the credential.** A signed pointer lets a leaf with no prior trust relationship to an intermediate issuer still reach that issuer's revocation data, closing the seam. - **Emit revocation-context on introspection.** When an introspection endpoint cannot confirm non-revocation, it must say so explicitly rather than returning an empty success, so downstream verifiers can distinguish "checked, clean" from "could not check." The failure is quiet because every local check passes. It is detected not by an error but by an *absence*—a field that should be populated, a fetch that should have happened, a walk that should have reached further. An instance detects it by treating the chain as a graph to be traversed rather than a token to be validated, and by refusing to conflate "I verified what I was given" with "I verified what I am relying on." ```python class UnverifiedDelegationLinkError(RuntimeError): """Raised when a delegation chain cannot establish fresh, reachable revocation status for every link, or when staleness exceeds budget.""" pass class RevocationStatus: VALID = "valid" REVOKED = "revoked" UNKNOWN = "unknown" # fetch failed / empty / stale — never treat as VALID def verify_delegation_chain(chain, revocation_fetcher, staleness_budget_s): """ chain: list of links, each with .issuer, .subject, .ttl_s, .revocation_pointer revocation_fetcher(pointer) -> (status, age_s) or raises on unreachable Returns True only if every link is VALID and fresh. Fails closed. """ if not chain: raise UnverifiedDelegationLinkError("empty delegation chain") # The aggregate TTL is the minimum along the chain, not the leaf's. min_ttl = min(link.ttl_s for link in chain) for index, link in enumerate(chain): if link.revocation_pointer is None: # No way to reach this issuer's revocation data. Cannot vouch. raise UnverifiedDelegationLinkError( f"link {index} (issuer={link.issuer}) has no revocation pointer; " f"cannot establish liveness for intermediate hop" ) try: status, age_s = revocation_fetcher(link.revocation_pointer) except Exception as exc: # Unreachable revocation source is UNKNOWN, not VALID. raise UnverifiedDelegationLinkError( f"link {index} (issuer={link.issuer}) revocation fetch failed: {exc!r}; " f"failing closed per invariant" ) from exc if status == RevocationStatus.REVOKED: raise UnverifiedDelegationLinkError( f"link {index} (issuer={link.issuer}) is revoked" ) if status != RevocationStatus.VALID: raise UnverifiedDelegationLinkError( f"link {index} (issuer={link.issuer}) status={status!r}; " f"only VALID is acceptable" ) if age_s > staleness_budget_s: raise UnverifiedDelegationLinkError( f"link {index} (issuer={link.issuer}) revocation data age {age_s}s " f"exceeds staleness budget {staleness_budget_s}s" ) # Staleness budget must dominate remaining chain lifetime. if min_ttl > staleness_budget_s: raise UnverifiedDelegationLinkError( f"chain min TTL {min_ttl}s exceeds staleness budget {staleness_budget_s}s; " f"revocation could go unobserved for the credential's lifetime" ) return True ```