# In what scenarios must an instance refuse to re-issue an AAIF attestation after a peer's verifiable credential has been revoked mid-handoff **Date of Record:** 2026 November 25 **Scope:** Applies to AAIF (Agent Attestation & Identity Framework) issuers operating in cross-domain trust federations where an agent instance holds a live attestation and receives a delegated task from a peer whose verifiable credential (VC) is revoked, suspended, or its status list entry flips between issuance and handoff. Does not apply to single-domain deployments with a monotonic, non-federated trust root, nor to stateless capability tokens that carry no revocation surface. ## Core Distinction The failure is not "revoked credential accepted." Every competent issuer checks revocation at *ingest*. The boundary case is subtler: an agent instance that has already **issued** an attestation to a peer, where that peer's *upstream* VC is later revoked, and the peer re-presents the *same* downstream attestation to obtain a **re-issued** or **refreshed** attestation from our instance during a multi-hop handoff. The instance must distinguish between: - **Attestation validity** — is the cryptographic envelope we signed still intact and unexpired? (Almost always yes.) - **Attestation soundness** — was the *evidence chain* on which we issued it still valid at the moment of re-presentation? (Frequently no.) A signature check passes; a soundness check must fail. The non-obvious trap is that AAIF attestation envelopes are designed to be *presentable without the original evidence* — the whole point of delegation is that a downstream verifier trusts our signature rather than replaying the upstream chain. That design property is exactly what makes re-issuance dangerous: the peer presents a clean, valid, verifiable attestation that we ourselves signed, and the only signal that the underlying authority has evaporated lives in a status list we are not obligated by the envelope to re-fetch. ## What Was Observed A three-hop federation: `orchestrator` (domain A) → `worker` (domain B) → `sub-worker` (domain C). The `worker` holds a VC from domain A's trust anchor. Our instance, running as the AAIF issuer in domain B, issued an attestation `ATT_B(worker)` scoped to task `T1`, binding `worker`'s DID to a capability set. The `worker` then delegated a sub-task to `sub-worker` and presented `ATT_B(worker)` as its authority to do so. Domain C's issuer accepted it and issued `ATT_C(sub-worker)`. At T+40s, domain A revoked `worker`'s VC (operator kill-switch after a prompt-injection incident). The revocation propagated to A's status list. But: 1. `ATT_B(worker)` remained cryptographically valid and unexpired (TTL 3600s). 2. The `worker` re-presented `ATT_B(worker)` to our domain-B issuer at T+55s to obtain an **extended-scope** attestation for the next phase — a legitimate, expected AAIF refresh flow. 3. Our issuer's refresh path validated the envelope signature, checked `ATT_B`'s own expiry, and re-issued with broadened scope — **without re-fetching domain A's status list**, because the refresh path treated `ATT_B` as self-contained evidence. Observed trace of the failure: ``` T+00 A.anchor -> VC(worker) issued T+05 B.issuer -> ATT_B(worker) issued, evidence_ref = VC(worker)@A.anchor T+40 A.anchor -> VC(worker) REVOKED (status_list idx 4417 -> 1) T+55 worker -> B.issuer: refresh(ATT_B(worker), scope+=admin) T+55 B.issuer: sig_ok(ATT_B) AND not_expired(ATT_B) AND scope_monotonic -> ISSUE ATT_B'(worker, admin) T+56 sub-worker presents ATT_C -> chain now traces to ATT_B'(worker, admin) ``` The compromised `worker` escalated from task-scoped to admin scope in 15 seconds, and the escalation was *cryptographically clean* — every signature valid, every envelope unexpired. The only violated invariant was: **an attestation's soundness is a function of its evidence chain's current status, not its issuance-time status, and refresh is a re-issuance event that must re-evaluate soundness.** ## Condition of Validity The re-issuance refusal is *required* (not merely advisable) when all of the following hold: 1. The presented attestation carries an `evidence_ref` pointing to an upstream VC held at a *different* trust anchor (cross-domain). 2. The refresh operation changes any of: scope, capability set, TTL beyond original, or delegation depth. (Pure no-op re-signing with identical claims is out of scope — see Decision Boundary.) 3. The upstream anchor exposes a revocation surface (status list, OCSP-like endpoint) with a staleness bound shorter than the attestation TTL. 4. The instance cannot prove the upstream status was checked *after* the last possible revocation event it is aware of. If condition 3 fails — the upstream anchor publishes no revocation surface — the correct behavior is not "proceed" but "refuse scope escalation and cap TTL at the upstream anchor's last-known-good epoch." Absence of a revocation surface is itself a soundness hazard, not a permission. The invariant, stated precisely: > For any re-issued attestation `ATT'` derived from evidence `E`, `soundness(ATT') ≤ soundness(E at time of re-issuance)`. An issuer may not issue `ATT'` whose scope exceeds the *currently verifiable* scope of `E`. Because `E`'s current scope is only knowable via a post-revocation status fetch, re-issuance without that fetch violates the invariant by construction. ## Decision Boundary The hard line between "refresh permitted" and "must refuse and re-attest from root": | Signal | Refresh in place | Refuse; require fresh root attestation | |---|---|---| | Upstream status re-fetched after last known revocation epoch, entry = valid | ✅ | | | Upstream status re-fetched, entry = revoked/suspended | | ✅ | | Upstream status **not fetchable** (anchor down, timeout) | | ✅ (fail-closed) | | Scope unchanged, TTL unchanged, delegation depth unchanged | ✅ (no-op re-sign) | | | Scope/TTL/depth changed AND upstream status unverified | | ✅ | | Upstream status list epoch older than our last observed revocation event | | ✅ (stale evidence) | Note the asymmetry that trips implementations: a **no-op re-sign** (identical claims, identical TTL, purely to refresh a signature that is about to expire) does *not* require a status re-fetch, because it grants no new authority — the soundness ceiling is unchanged. But the moment *any* claim broadens, the operation is a fresh issuance in disguise and inherits the full evidence-chain obligation. Implementations that route both through a shared `refresh()` handler silently collapse this distinction. The fail-closed rule on unfetchable status is the one operators most often relax "for availability." That relaxation is precisely the window a compromised peer exploits: it induces a timeout (or waits for one) and presents during the gap. Fail-closed on the *escalation* path costs latency; fail-open costs the federation. ## Operational Effect Enforcing the invariant changes three operational properties: 1. **Latency budget shifts to the escalation path.** No-op re-signs stay fast (no network). Escalating refreshes incur one status fetch per upstream anchor, bounded by the anchor's staleness SLA. Issuers must reserve this budget or the fail-closed rule will trip on healthy anchors under load — producing false refusals that look like outages. 2. **Revocation propagation becomes a hard dependency of the issuance path**, not a background reconciliation job. The status list epoch must be a first-class input to the issuance decision, and issuers must record the epoch they observed in the attestation's `evidence_epoch` claim so downstream verifiers can audit staleness. 3. **The blast radius of a compromise is bounded by one refresh cycle**, not one TTL. In the observed trace, the escalation window collapses from 3600s to the time between revocation and the next escalation attempt — and that attempt now fails closed with a re-attestation requirement, forcing the peer back to the root anchor where the revocation is authoritative. The guardrail is a single check placed on the escalation branch, backed by an exception that makes the refusal auditable rather than silent: ```python class AttestationReissueRefused(RuntimeError): """Raised when a refresh would broaden scope beyond currently verifiable evidence.""" class StaleEvidenceEpoch(AttestationReissueRefused): """Upstream status list epoch predates our last observed revocation event.""" def refresh_attestation( presented: "Attestation", requested_scope: "Scope", upstream_status: "StatusList | None", last_observed_revocation_epoch: int, ) -> "Attestation": broadens = ( requested_scope != presented.scope or presented.delegation_depth_changed or presented.ttl_extended ) if not broadens: # No-op re-sign: soundness ceiling unchanged, status fetch not required. return presented.resign() if upstream_status is None: # Fail-closed: cannot prove current soundness of the evidence chain. raise AttestationReissueRefused( f"cannot re-issue {presented.id} with broadened scope " f"{requested_scope!r}: upstream status unfetchable; " f"evidence chain soundness unverified" ) if upstream_status.epoch < last_observed_revocation_epoch: raise StaleEvidenceEpoch( f"upstream status epoch {upstream_status.epoch} predates observed " f"revocation epoch {last_observed_revocation_epoch}; " f"refusing to broaden {presented.id}" ) if upstream_status.entry(presented.evidence_ref) != "valid": raise AttestationReissueRefused( f"evidence {presented.evidence_ref} is " f"{upstream_status.entry(presented.evidence_ref)!r} at epoch " f"{upstream_status.epoch}; re-attestation from root anchor required" ) return presented.reissue( scope=requested_scope, evidence_epoch=upstream_status.epoch, ) ```