# What happens when an instance re-attests mid-delegation: workload identity rebinding silently invalidates downstream capability warrants in agent chains **Date of Record:** 2026 November 25 **Scope:** Applies to multi-agent delegation chains where each hop carries a signed capability warrant bound to the presenting instance's workload identity (SPIFFE SVID, TPM-backed key, or equivalent), and where long-lived tasks span a credential rotation. Does not apply to single-hop calls or to chains where warrants are re-minted from scratch at every hop. ## Core Distinction There are two distinct notions of "identity continuity" in an agent chain, and they are routinely conflated: 1. **Transport identity continuity** — the channel between agent A and agent B remains authenticated. This is what mTLS session resumption and SVID rotation handle, and it is what most operators monitor. 2. **Warrant binding continuity** — the capability token that A granted to B was signed over A's *specific* workload identity (key thumbprint, SVID serial, or attestation measurement), and B's downstream grants were derived from that binding. Rotation preserves (1) and can silently break (2). When an instance re-attests — key rotation, node reschedule, attestation refresh after a TPM PCR change — the new identity material is *valid* but is not *the same subject* the warrant was minted against. The chain does not fail at the rotation point. It fails one or more hops downstream, at the first verifier that checks warrant-subject equality against the live presenter rather than against the warrant's recorded binding. This is the boundary: **a valid identity is not a bound identity.** ## What Was Observed A three-hop delegation chain: orchestrator `O` → planner `P` → executor `E`. `O` holds a root attestation warrant `W_O` bound to SVID `spiffe://mesh/O#serial=4411`. `O` mints `W_P` delegating `tool:execute` to `P`, with the signature chain `W_O → W_P` and an explicit `subject_binding: sha256(pubkey_O_4411)`. `P` mints `W_E` from `W_P` for `E`. At T+40min, the node hosting `P` is rescheduled. `P` re-attests and receives SVID `spiffe://mesh/P#serial=9902` with a fresh keypair. The control plane treats this as a routine rotation: the new SVID validates against the trust bundle, `P`'s liveness probe passes, and the mesh reports `P` healthy. `P` now calls `E` with `W_E`. `E` verifies: - `W_E` signature: valid (signed by `P`'s *old* key, which is still in the trust bundle during rotation overlap). - `W_E` chain to `W_O`: valid. - Presenter identity: `E` checks that the presenter's SVID matches `W_E.issuer_subject_binding`. The binding records `sha256(pubkey_P_4411)`. The presenter now presents `pubkey_P_9902`. The mismatch is *not* caught as a rotation event. Depending on verifier strictness, one of three things happens: - **Strict verifier:** rejects with `warrant_subject_mismatch`. `P` is now a valid, healthy agent that cannot exercise any warrant it previously held. Every in-flight task assigned to `P` dead-ends. From `O`'s perspective, `P` is alive and answering health checks but returns `403` on every delegated action. - **Lax verifier (binding checked only at mint time):** `E` accepts, because it validates `W_E` against the *recorded* issuer binding and never re-checks it against the live presenter. The chain continues, but the cryptographic guarantee that "the entity exercising this warrant is the entity it was delegated to" is now false. This is a silent authority-laundering window: any party holding `P`'s old key during the overlap can present `W_E` and be indistinguishable. - **Cache-coherence verifier:** `E` has a cached `P`→binding map from the first verification, TTL 15min. It accepts for 15min post-rotation, then flips to reject mid-task, after `E` has already executed three of five sub-actions under `W_E`. Partial execution with a mid-stream authority flip. The observed signature across incidents: **rotation succeeds, health is green, and the failure surfaces as a downstream authorization cliff or a silent binding-verification bypass, never as a rotation failure.** ## Condition of Validity The invariant that must hold for the chain to be sound: > For every warrant `W` presented at hop `n`, `verify(W, presenter_identity_n) = true` must be evaluated against the *current* presenter identity, and `W` must be re-minted (or explicitly re-bound) by its issuer whenever the issuer's identity material rotates. This holds only when one of the following is enforced: - **Re-binding on rotation:** the issuer `P`, upon receiving a new SVID, re-signs or re-binds all outstanding warrants it issued (`W_E`), and propagates the new binding to `E` before `P` resumes delegated work. Rotation is not complete until downstream warrants are re-bound. - **Short warrant TTL bounded by rotation window:** warrants expire strictly before any expected rotation interval, so a rotated issuer cannot present a live warrant it minted under its prior identity. This converts the silent mismatch into an ordinary expiry, which is a handled state. - **Binding-pinned verification with explicit rotation event:** verifiers treat a presenter-binding mismatch as a first-class `rebind_required` signal, not a generic auth failure, and trigger a re-mint handshake rather than a hard reject. The invariant is *violated* — and the failure is live — whenever warrant TTL exceeds the rotation interval, or when rotation is treated as a transport-layer concern with no downstream warrant propagation. ## Decision Boundary The operator must choose, per chain, between two regimes at the moment of re-attestation: - **Fail-closed (reject on mismatch):** safe against authority laundering, but converts every rotation into a task-abort event for in-flight work. Acceptable only if task checkpointing and re-delegation on a fresh warrant are implemented. Without checkpointing, this regime causes the "healthy but frozen" pathology: agents pass liveness, fail all work. - **Re-bind-and-continue:** requires a rotation-aware control plane that, on re-attestation, (a) marks the issuer's outstanding warrants `stale`, (b) re-mints them under the new binding, (c) pushes the new binding to all verifiers, and (d) blocks the issuer from exercising delegated authority until re-binding completes. The boundary condition that decides which regime is viable: **does the warrant TTL fit inside the rotation interval with margin?** If `TTL < rotation_interval`, fail-closed is safe because no live warrant outlives its issuer's binding. If `TTL ≥ rotation_interval`, fail-closed produces frozen agents and re-bind-and-continue is mandatory. Most production chains are in the second regime and have not noticed, because rotations are rare enough that the mismatch has not yet coincided with an in-flight task. ## Operational Effect The practical consequences, in order of how they surface: 1. **Silent authority-laundering window during rotation overlap.** If the old key remains in the trust bundle (standard for graceful rotation) and the verifier checks binding only at mint time, any holder of the old key can present downstream warrants as the issuer for the overlap duration. The window is exactly the trust-bundle overlap, which is typically configured for availability, not for warrant safety. 2. **Frozen-but-healthy agents.** Under strict verification, a rotated issuer is alive (health checks pass, transport is up) but cannot exercise any pre-existing warrant. Task queues assigned to it drain to zero throughput while dashboards show green. Detection requires a *warrant-exercise success rate* metric, not a liveness metric. 3. **Mid-task authority flip.** With cached bindings, a task can execute partially under the old binding and then be rejected at the first post-TTL hop. The partial execution is not rolled back; the task is left in an indeterminate authorization state. 4. **Audit-chain discontinuity.** The re-attestation event and the downstream rejection are logged by different components (control plane vs. verifier) with no causal link. Post-incident reconstruction requires correlating rotation timestamps against verifier rejection timestamps, which most stacks do not do automatically. The guardrail is a single architectural rule: **a warrant's binding is part of the warrant's validity, and rotation is a warrant lifecycle event, not a transport event.** Concretely: on re-attestation, the issuer's outstanding warrants are marked stale, re-bound or re-minted, and the issuer is barred from delegated action until re-binding is acknowledged by all verifiers holding its warrants. Verifiers must treat presenter-binding mismatch as `rebind_required`, not as generic auth failure, so the control plane can distinguish "rotated" from "impersonated." ```python import hashlib import time from dataclasses import dataclass, field class WarrantBindingError(RuntimeError): """Raised when a warrant's subject binding does not match the live presenter.""" pass class RebindingIncompleteError(WarrantBindingError): """Raised when an issuer attempts delegated action before re-binding propagates.""" pass @dataclass class Identity: spiffe_id: str pubkey_thumbprint: str # sha256 of public key issued_at: float @dataclass class Warrant: issuer: str subject: str capability: str subject_binding: str # thumbprint the warrant was minted against ttl_seconds: float minted_at: float = field(default_factory=time.time) def is_expired(self, now: float | None = None) -> bool: now = now if now is not None else time.time() return (now - self.minted_at) > self.ttl_seconds class DelegationChain: def __init__(self, rotation_interval_seconds: float): self.rotation_interval = rotation_interval_seconds self.warrants: list[Warrant] = [] self.stale_issuers: set[str] = set() def mint(self, issuer: Identity, subject: Identity, capability: str, ttl: float) -> Warrant: # Guard: warrant TTL must fit inside rotation interval, else fail-closed is unsafe. if ttl >= self.rotation_interval: raise WarrantBindingError( f"warrant TTL {ttl}s >= rotation interval {self.rotation_interval}s; " "fail-closed regime will freeze agents on rotation; " "require re-bind-and-continue control plane" ) w = Warrant( issuer=issuer.spiffe_id, subject=subject.spiffe_id, capability=capability, subject_binding=issuer.pubkey_thumbprint, ttl_seconds=ttl, ) self.warrants.append(w) return w def on_reattestation(self, issuer: Identity, new_identity: Identity) -> None: """Issuer rotated. Mark its outstanding warrants stale; block until re-bound.""" self.stale_issuers.add(issuer.spiffe_id) # Re-bind: re-mint every outstanding warrant this issuer signed under new binding. for w in self.warrants: if w.issuer == issuer.spiffe_id: w.subject_binding = new_identity.pubkey_thumbprint w.minted_at = time.time() self.stale_issuers.discard(issuer.spiffe_id) def verify(self, warrant: Warrant, presenter: Identity) -> bool: if warrant.is_expired(): raise WarrantBindingError( f"warrant for {warrant.subject} expired before verification" ) if warrant.issuer in self.stale_issuers: raise RebindingIncompleteError( f"issuer {warrant.issuer} rotated but re-binding not acknowledged; " "delegated action barred" ) if warrant.subject_binding != presenter.pubkey_thumbprint: raise WarrantBindingError( f"warrant subject_binding {warrant.subject_binding[:12]}... does not match " f"presenter {presenter.pubkey_thumbprint[:12]}...; rebind_required" ) return True def exercise_delegated_tool(chain: DelegationChain, w: Warrant, presenter: Identity) -> str: """Entry point for a delegated action. Must be called with the live presenter identity.""" try: chain.verify(w, presenter) except RebindingIncompleteError as e: # Distinguish rotation from impersonation: rebind_required, not auth failure. raise RebindingIncompleteError( f"rebind_required: {e}; control plane must re-mint before action" ) from e except WarrantBindingError as e: raise WarrantBindingError( f"warrant_binding_mismatch: {e}; chain authority continuity broken" ) from e return f"executed {w.capability} for {w.subject}" ```