# What structural signals indicate a DID-anchored verifiable credential has silently outlived its issuer's authority during cross-org agent federation **Date of Record:** 2026 November 25 **Scope:** Applies to federated multi-agent systems where agent A (org X) presents a W3C Verifiable Credential (VC) anchored to a DID controlled by org Y, and agent B (org Z) accepts it via a DID resolver + VC verifier without a live status channel. Does not apply to same-org trust domains, nor to systems with mandatory real-time revocation polling on every call. ## Core Distinction The failure is not "expired credential" and not "forged signature." Signature verification and `expirationDate` both pass. The failure is **authority drift**: the DID document still resolves, the verification method still matches the VC's `proof.verificationMethod`, the cryptographic proof is intact — but the *authority that the DID stood for* has been reassigned, downgraded, or federated away by the controlling org since issuance. The verifier treats "DID resolves to the same key" as equivalent to "issuer still holds the authority the credential asserts," and these two propositions diverge silently. The structural signal is that **the VC's asserted capability outlives the DID's authority binding**, and nothing in the standard verification path compares the two. VCs bind *identity to claims*; they do not bind *claims to current delegated authority*. Cross-org federation is precisely where that gap becomes exploitable. ## What Was Observed A three-org federation: Org X operates `did:web:agents.x.example` for a "procurement-approver" agent. Org Y is the issuer that issued Org X's agent a VC asserting `capability: approve_purchase_up_to_50000_USD`, anchored to `did:web:issuer.y.example#key-2`. Org Z is a supplier agent that accepts the VC and executes orders. The trace: 1. At issuance (T0), Org Y's DID document at `did:web:issuer.y.example` lists `key-2` under `assertionMethod`, and the VC's `credentialSubject.id` is Org X's agent DID. Verification at Org Z succeeds: proof valid, key in `assertionMethod`, not expired. 2. At T1, Org Y restructures: `key-2` is rotated out of `assertionMethod` but **retained in `authentication`** (they needed it for a legacy login flow). Org Y's DID document is updated and re-signed. The key still resolves; it is no longer authorized to assert credentials. 3. At T2, Org Y revokes the VC via a status list at `https://issuer.y.example/status/7#42`. Org Z's verifier is configured to fetch the status list **only when the credential is first cached**, and caches the "valid" result for 24h. 4. At T3, Org X's agent presents the cached VC to Org Z. Org Z's verifier: signature valid, `verificationMethod` resolves, key present in the DID doc, `expirationDate` in future, cached status = valid. **Accept.** 5. Org Z executes a $48,000 order against an agent whose issuing authority was revoked at T2 and whose key lost `assertionMethod` at T1. The non-obvious part: **the DID document itself is the evidence of the failure, but the standard verification path reads it for key material only, not for authorization scope.** A verifier that calls `resolve(did)` and checks `verificationMethod ∈ assertionMethod` catches T1 — but only if it re-resolves and re-checks at *presentation* time, not at *issuance* time. Most implementations resolve once, cache the key, and never re-read the `assertionMethod` set. ## Condition of Validity This boundary is reachable when **all** of the following hold simultaneously: - The credential's `proof.verificationMethod` points to a key that remains *resolvable* after the issuer's authority changes. This is the default for `did:web` and `did:key` rotation schemes that retain old keys for signature verification. - The verifier caches either the DID document or the status-list result across the credential's lifetime, and the cache TTL exceeds the issuer's revocation propagation window. - The asserted capability is *delegable* — i.e., the VC grants the subject authority that the subject did not independently possess, so revocation actually matters. - No out-of-band authority channel exists (no live "is issuer still authorized to issue this class of credential" check, no transparency log the verifier consults). It is **not** reachable when the verifier re-resolves the DID and re-evaluates `assertionMethod` membership on every presentation *and* performs a fresh status check with a bounded staleness window shorter than the issuer's revocation SLA. ## Decision Boundary The architectural invariant that bounds this failure: > **A verifiable credential is only as trustworthy as the freshness of the binding between its `proof.verificationMethod` and the issuer DID's *current* `assertionMethod` set, checked at presentation time, not issuance time.** Operationally, the verifier must treat three independent facts as separately falsifiable at every presentation: 1. `proof` verifies against the resolved key — *signature validity*. 2. Resolved key ∈ current `assertionMethod` of the issuer DID — *authorization validity*. 3. Status-list entry is unrevoked with staleness ≤ `max_status_staleness` — *revocation validity*. The failure occurs when any two of these are conflated into a single cached boolean. The guardrail is to make the three checks non-collapsible: cache the *public key bytes* (cheap, safe), but never cache the *authorization* or *revocation* verdicts beyond their declared staleness bound. If the verifier cannot re-resolve the DID within the staleness bound, it must **fail closed** — reject the capability, not the signature. A second invariant: the credential should carry an `authorityScope` claim naming the DID document version or a transparency-log entry hash against which its authority was asserted at issuance. If the current DID document's `assertionMethod` no longer matches, the verifier has a structural signal to escalate rather than silently accept. ## Operational Effect The downstream effect is a **capability ghost**: an agent that presents a cryptographically perfect credential for authority it no longer has. Because every checkable field passes, the failure is invisible to logging that records "VC verified: true." It surfaces only as an *action* — the $48,000 order — attributed to an agent whose authority trail is broken. For federated trust, the practical consequences: - **Audit replay diverges from live state.** Replaying the T3 transaction against the T0 DID document yields "valid"; replaying against the T2 document yields "invalid." The same credential is both, depending on which DID document version the auditor resolves. Federation logs must pin the DID document version (via `versionId` or transparency-log inclusion proof) at presentation time, or audits are non-reproducible. - **Revocation is not enough.** A status list entry flipped to revoked does nothing if the verifier never re-fetches it. Revocation without a staleness bound is a promise, not a control. - **Cross-org blast radius.** Org Z trusted Org Y's *issuance authority*, not just Org Y's *keys*. When Org Y changes its authority structure, every federated verifier that cached the old structure is stale — and none of them are notified, because DID documents have no push channel. The structural signal to monitor: **the ratio of DID-document re-resolutions to VC presentations.** If it is < 1.0, the federation is running on cached authority, and the gap between cache TTL and issuer revocation SLA is the size of the window in which a ghost capability can execute. ```python import time from dataclasses import dataclass class StaleAuthorityError(RuntimeError): """Raised when a VC's asserted authority is no longer backed by the issuer DID's current assertionMethod set, or when the verifier cannot establish freshness within its staleness bound.""" pass @dataclass class DIDDocument: did: str version_id: str assertion_method: set[str] resolved_at: float @dataclass class VerifiableCredential: issuer_did: str verification_method: str # e.g. "did:web:issuer.y.example#key-2" subject_did: str capability: str expiration: float status_list_url: str status_index: int def verify_presentation( vc: VerifiableCredential, resolver, status_fetcher, max_did_staleness_s: float = 60.0, max_status_staleness_s: float = 300.0, now: float | None = None, ) -> bool: now = time.time() if now is None else now # 1. Signature validity is assumed already checked by the caller's # crypto layer against the resolved key. We do NOT re-check it here. # 2. Authorization validity: re-resolve the DID at presentation time. doc: DIDDocument = resolver.resolve(vc.issuer_did) did_age = now - doc.resolved_at if did_age > max_did_staleness_s: raise StaleAuthorityError( f"DID document for {vc.issuer_did} is {did_age:.1f}s stale " f"(bound {max_did_staleness_s}s); cannot confirm current " f"assertionMethod membership for {vc.verification_method}" ) if vc.verification_method not in doc.assertion_method: raise StaleAuthorityError( f"{vc.verification_method} is no longer in assertionMethod of " f"{vc.issuer_did} (version {doc.version_id}); issuer authority " f"for capability {vc.capability!r} has drifted since issuance" ) # 3. Revocation validity: fresh status fetch, bounded staleness. status, fetched_at = status_fetcher.fetch( vc.status_list_url, vc.status_index ) status_age = now - fetched_at if status_age > max_status_staleness_s: raise StaleAuthorityError( f"Status list {vc.status_list_url} is {status_age:.1f}s stale " f"(bound {max_status_staleness_s}s); revocation state unknown" ) if status == "revoked": raise StaleAuthorityError( f"Credential for {vc.subject_did} revoked at status index " f"{vc.status_index}; capability {vc.capability!r} is a ghost" ) # 4. Expiry is the weakest check and must not substitute for 2 and 3. if now >= vc.expiration: raise StaleAuthorityError("credential expired") return True ```