# What happens when an instance accepts a brokered capability attestation whose trust chain was re-signed after the leaf was issued **Date of Record:** 2026 November 29 **Scope:** Applies to cross-org agent federations where a trust broker (a third-party attestation service) exchanges signed capability warrants between mutually-untrusting organizations, and where a receiving agent validates a warrant by walking a signature chain up to a trusted root. Does not apply to single-org deployments or to federations where every warrant is validated directly against the issuer's own root without an intermediate broker. ## Core Distinction The distinction that matters is between **attestation freshness** and **attestation continuity**. Freshness asks: *is this warrant's signature valid right now, and is the leaf still within its TTL?* Continuity asks: *is this the same warrant lineage that the broker vouched for when the leaf was issued, or was the chain re-parented underneath it?* Most federated agent stacks validate freshness and silently assume continuity. They verify a signature chain leaf→broker→root, check the expiration, and admit the peer agent. This is correct for a single monotonic issuer. It is wrong for a broker that is permitted to *re-sign* intermediate links — for example, when the broker rotates its signing key, re-issues a trust anchor after a CA compromise, or merges two trust domains during an acquisition. In those cases the leaf's signature remains cryptographically valid, the broker's new signature is valid, the root is valid — and yet the leaf is now anchored to a broker identity that did not exist (or did not have that authority scope) at the moment the leaf was minted. The chain verifies but the lineage has a discontinuity. A receiving agent that only checks freshness admits a capability that was never actually brokered. The invariant that must hold is: **a leaf warrant is only admissible if every link in its chain was signed by the same broker identity, under the same authority scope, that held that role at the leaf's issuance time.** Freshness is necessary but not sufficient; continuity is the missing predicate. ## What Was Observed During a federation drill between three organizations (call them A, B, C), org A's planner agent requested a `read:telemetry` capability from org B's data agent. B does not trust A directly; the federation routes the request through broker `brk-eu-1`, which issues a leaf warrant `W_leaf(A→B, read:telemetry, exp=T+300s)` and signs it with key `K_brk_v3`. The chain is `W_leaf ← brk-eu-1(K_v3) ← root-federation`. Mid-task, at T+120s, `brk-eu-1` rotated its signing key to `K_brk_v4` and re-signed all *active* intermediate links, including the broker→leaf link for `W_leaf`. The re-signing was performed by a routine "key rotation reconciliation" job that walked the broker's live warrant table and re-issued signatures under the new key. The leaf's payload — the actual capability grant, its subject, its scope, its TTL — was not altered. Only the broker signature over the leaf changed. At T+180s, org B's data agent re-validated `W_leaf` before serving a second batch of telemetry (it re-validates on every batch to bound exposure to a revoked warrant). The chain walked cleanly: `W_leaf` signature matched `K_v4`, `K_v4` matched the current broker certificate, the broker certificate matched the root. Freshness passed. Continuity did not — the leaf was now anchored to a broker identity (`K_v4`) that did not hold the `read:telemetry` authority scope at T+0. The authority scope had been *widened* for `K_v4` during the same rotation, to cover an unrelated `write:config` capability for a different tenant. Because the broker re-signed the old leaf under the new key, the old leaf inherited the new key's wider scope in the eyes of any validator that resolves scope from the *current* broker certificate rather than from the certificate in force at leaf issuance. The concrete failure: org B served telemetry to A, and in the same validation pass admitted a second warrant `W_leaf2` (a `write:config` warrant that had been legitimately issued to a different org D under `K_v3`) because it had also been re-signed under `K_v4`, whose scope now included `write:config`. Org B's validator saw a valid chain and a valid scope and admitted both. Org D's warrant, brokered under v3, was now admissible to B under v4's scope. Cross-org capability bleed. ## Condition of Validity The freshness-only check is valid **if and only if** the broker's signing key is immutable for the lifetime of every leaf it signs, *or* the broker never widens authority scope across a key transition, *or* the validator resolves scope from the historical certificate pinned at leaf issuance. In practice none of these hold across a multi-year federation: keys rotate, scopes are renegotiated, and trust domains merge. The condition under which the failure is *reachable* is narrower and worth stating precisely, because it determines whether a given deployment is exposed: 1. The broker is authorized to re-sign existing intermediate links (rotation reconciliation, anchor migration, domain merge). If the broker only ever signs *new* leaves and never re-signs old ones, the leaf's chain is frozen and continuity is trivially preserved. 2. The validator resolves authority scope from the *current* broker certificate rather than from a certificate pinned at leaf issuance. If the validator pins the historical certificate (e.g., by carrying a `broker_cert_hash` inside the leaf payload and requiring the resolved certificate to match), the widened scope cannot leak into the old leaf. 3. The leaf's TTL outlives a key transition. Short TTLs (seconds) make the window small; long TTLs (hours) make it a standing exposure. All three must hold for the bleed to occur. The drill hit all three: rotation reconciliation was enabled, scope was resolved live, and the TTL was 300s with a rotation at T+120s. ## Decision Boundary The decision boundary for a receiving agent is not "is the chain valid" but "is the chain valid **and** is the leaf's anchoring broker identity the same one that held authority at issuance." Operationally: - **Admit** a warrant when the chain verifies, the leaf is within TTL, *and* the broker certificate resolved during validation has a hash equal to the `issuer_cert_hash` embedded in the leaf at mint time. The leaf must carry that hash; a leaf without it is un-pinnable and must be treated as non-continuous. - **Reject** when the chain verifies but the resolved broker certificate hash differs from the leaf's pinned hash, even if the new certificate is a valid successor. Rejection here does not mean the warrant is forged; it means the lineage was re-parented and the authority scope at issuance cannot be reconstructed from the current chain. The correct recovery is re-issuance of a fresh leaf under the current key, not acceptance of the old leaf under the new key. - **Escalate to the broker's audit log** when the pinned hash matches no historical certificate the validator has seen — this indicates the broker re-signed under a key the validator never observed, which is a rotation-visibility gap, not a continuity failure per se, but it must be resolved before the leaf is admitted. The boundary is sharp: pinned-hash match admits, pinned-hash mismatch rejects. There is no "accept with warning" branch, because the failure mode is precisely that a warning is indistinguishable from a valid chain to every downstream consumer of the admitted capability. ## Operational Effect The immediate effect is capability bleed across tenants: a warrant issued to one org becomes admissible to another because the broker's scope widened between issuance and validation. The downstream effects compound: - **Audit non-reconstructability.** The admitted capability is logged against the *current* broker identity, so post-hoc audit cannot tell whether the grant was legitimate at issuance. The leaf's original `issuer_cert_hash` is the only record of the true anchor, and if the validator did not preserve it, the audit trail is broken. - **Revocation lag.** When the broker later revokes `K_v3` (the key under which the leaf was originally issued), the revocation does not reach the re-signed leaf, because the leaf no longer references `K_v3`. A revoked authority remains live under a successor key. This is the most dangerous downstream effect: revocation is defeated by re-signing. - **Silent scope expansion.** Every re-sign under a widened scope silently expands the authority of every still-live leaf the broker touches. In a federation with hundreds of live warrants, a single rotation reconciliation job can widen the effective authority of the entire live set in one pass. The guardrail that bounds this is the pinned-hash check plus a broker-side invariant: **rotation reconciliation must re-issue leaves, never re-sign them.** Re-signing preserves the leaf payload but destroys the issuance-time anchor; re-issuance mints a new leaf with a new `issuer_cert_hash` and a fresh TTL, forcing every validator to re-admit under the new scope explicitly. The broker's reconciliation job is the single point where the invariant is either honored or broken, and the receiving validator's pinned-hash check is the only thing that catches a broker that breaks it. ```python import hashlib from dataclasses import dataclass from typing import Optional class AttestationContinuityError(RuntimeError): """Raised when a warrant's chain verifies but its issuance-time anchor was re-parented.""" pass @dataclass(frozen=True) class LeafWarrant: subject: str capability: str expires_at: float issuer_cert_hash: str # pinned at mint time; the continuity anchor @dataclass(frozen=True) class BrokerCert: key_id: str scope: frozenset not_before: float not_after: float def fingerprint(self) -> str: material = f"{self.key_id}|{sorted(self.scope)}|{self.not_before}|{self.not_after}" return hashlib.sha256(material.encode()).hexdigest() def admit_warrant( leaf: LeafWarrant, resolved_broker_cert: BrokerCert, now: float, chain_verified: bool, ) -> None: if not chain_verified: raise AttestationContinuityError( f"chain did not verify for subject={leaf.subject!r} capability={leaf.capability!r}" ) if now >= leaf.expires_at: raise AttestationContinuityError( f"leaf expired: now={now} exp={leaf.expires_at} subject={leaf.subject!r}" ) # Freshness passed. Now the continuity predicate: the broker cert resolved # during validation must be the same identity that anchored the leaf at mint. resolved = resolved_broker_cert.fingerprint() if resolved != leaf.issuer_cert_hash: raise AttestationContinuityError( "attestation lineage discontinuity: leaf was re-signed under a successor " f"broker identity. leaf pinned={leaf.issuer_cert_hash[:12]} " f"resolved={resolved[:12]} key_id={resolved_broker_cert.key_id!r}. " "Reject and require re-issuance; do not admit under the widened scope." ) # Scope is now trustworthy because it is the scope of the pinned cert. if leaf.capability not in resolved_broker_cert.scope: raise AttestationContinuityError( f"capability {leaf.capability!r} not in pinned broker scope " f"{sorted(resolved_broker_cert.scope)}" ) ```