# Under what conditions must an instance reject a federated capability attestation whose trust chain re-anchors mid-warrant **Date of Record:** 2026 November 27 **Scope:** Applies to cross-organization agent federations where a requesting agent (domain A) invokes a capability hosted in domain B, and domain B's authorization decision depends on a warrant chain brokered through one or more intermediary trust anchors (domains C, D). Does not apply to single-org MCP/A2A topologies where all warrants share one root of trust, nor to stateless capability tokens with no delegation depth. ## Core Distinction The failure is not "the signature is invalid" and not "the policy is denied." It is the case where every individual signature in a warrant chain verifies, every policy predicate evaluates true, and yet the composed authorization is unsound because the chain **re-anchored** — i.e., the trust root that vouches for hop *n* is not the same trust root that vouched for hop *n+1*, and the brokering policy of the receiving domain only checked *that* a chain existed, not that the chain was *root-continuous*. A federated attestation is a claim of the form: "Domain B's `execute:read` capability is warranted for agent `A:worker-7` under policy `P_B`, delegated through anchor `C`, ultimately rooted at `C`'s federation charter." The subtlety: multi-hop brokering lets domain C re-sign a warrant originally issued under root `R1` using C's *own* root `R2`, because C is a legitimate federation member. Each signature is valid. The composition is a trust-laundering event: a capability authorized under `R1`'s (possibly weaker) policy is now presented as authorized under `R2`'s (stricter, more privileged) policy. The receiving agent sees a valid `R2`-rooted chain and grants `R2`-level access to a workload that was only ever vetted at `R1`-level. ## What Was Observed In a four-domain federation (A=orchestrator, B=capability host, C=trust broker, D=auditor), the following trace was captured on a capability invocation that should have been rejected: 1. `A:worker-7` requests `B:execute:read` on resource `r-4417`. A's local policy `P_A` permits `read` under root `R1` (a low-assurance federation tier). 2. A issues a warrant `W_A` signed by `R1`, delegating `read` to `worker-7`, depth 2. 3. Broker `C` receives `W_A`, validates `R1` signature — **valid**. C's brokering policy says: "re-issue under my root for any federation member with depth remaining." C re-signs the *same capability set* as `W_C` under root `R2` (C's high-assurance tier), depth 1. C does not record that the origin was `R1`. 4. `B` receives `W_C`, validates `R2` signature — **valid**. `B`'s policy `P_B` checks: (a) chain terminates at a recognized federation root — `R2` is recognized; (b) depth ≥ 0 — 1 ≥ 0; (c) capability `execute:read` is in B's offered set — yes. **Grant.** 5. Auditor `D` replays the chain. Every signature verifies. The grant is recorded as `R2`-authorized. The defect surfaced only when `r-4417` was later reclassified as `R2`-restricted: `worker-7`, an `R1`-tier workload, had been executing against an `R2`-restricted resource for 41 minutes. The audit replay *passed*, because the replay engine re-verified signatures and re-evaluated `P_B` — but `P_B` never encoded the invariant "the root that authorized the *workload* must equal the root that authorizes the *resource*." The broker's re-signing had silently promoted the assurance tier. The non-obvious part: no component misbehaved according to its own spec. The broker's spec permitted re-issuance. The host's spec permitted any recognized root. The auditor's spec verified signatures and policy. The failure lives in the *gap between specs* — the missing root-continuity invariant across the delegation graph. ## Condition of Validity A federated attestation is sound only if the following invariant holds at every hop and is checked at the *terminal* verifier (domain B), not merely at each intermediate: > **Root-Continuity Invariant:** For a warrant chain `W_0 → W_1 → … → W_k` terminating at resource `r`, let `root(W_i)` be the trust root whose key signed `W_i`. Then for every `i`, `root(W_i) = root(W_0)`, *unless* the hop `W_i → W_{i+1}` carries an explicit, signed **re-anchoring assertion** that (a) names both `root(W_i)` and `root(W_{i+1})`, (b) states the assurance-tier delta, and (c) is counter-signed by the resource owner's policy authority for `r`. Without the counter-signature from the resource owner, a broker's re-anchoring is a *unilateral* assurance promotion and must be treated as an unverified claim. The invariant is violated whenever `root(W_k) ≠ root(W_0)` and no such assertion exists — regardless of how many signatures verify. Two corollaries bound the condition: - **Depth is not continuity.** Depth counters (`depth: 2 → 1`) track delegation budget, not trust-root identity. A chain can decrement depth correctly while re-anchoring, as in the trace above. Depth checks do not substitute. - **Recognition is not equivalence.** "B recognizes `R2`" is a statement about B's trust store, not about whether `R2` is authorized to speak for `R1`'s workloads. Recognition of a root is necessary but not sufficient for accepting a chain rooted there *on behalf of* a workload rooted elsewhere. The condition of validity therefore fails precisely when: the chain has ≥ 2 hops, at least one hop is a broker that re-signs under a different root, and the terminal verifier's policy lacks a `workload_root == resource_root` (or explicit re-anchor assertion) check. ## Decision Boundary The receiving instance must decide, per invocation, between **accept**, **accept-with-tier-downgrade**, and **reject**. The boundary is drawn on the pair `(root(W_0), root(W_k))` and the presence of a counter-signed re-anchoring assertion: | `root(W_0)` vs `root(W_k)` | Re-anchor assertion present + counter-signed by resource owner | Decision | |---|---|---| | equal | n/a | **accept** at claimed tier | | differ | yes, tier delta ≤ resource's max promotable delta | **accept** at the *lower* of the two tiers | | differ | yes, tier delta > resource's max promotable delta | **reject** (`TierPromotionExceeded`) | | differ | no, or counter-signature missing/invalid | **reject** (`RootDiscontinuity`) — do not downgrade, because the workload's actual vetting tier is unknown to B | | differ | assertion present but names only one root | **reject** (`MalformedReanchor`) | The critical boundary decision — and the one the trace above got wrong — is the fourth row. The tempting move is "downgrade to `R1` tier and proceed." That is wrong when the chain does not *name* `R1`: B cannot know that the origin was `R1` rather than some `R0` weaker still. A missing re-anchor assertion is an *information loss*, not a *conservative signal*. Downgrading assumes the worst plausible origin equals the actual origin; the safe assumption is that the origin is unknown and therefore unvetted for this resource. Reject. The boundary is also asymmetric across the federation: the *broker* may legitimately re-anchor (that is its function), but the *host* must not accept a re-anchored chain without the resource-owner counter-signature. Placing the check at the broker is insufficient because the broker does not know which resource the chain will terminate at, and therefore cannot obtain the correct counter-signature. ## Operational Effect Enforcing the root-continuity invariant at the terminal verifier changes three operational properties: 1. **Broker re-signing becomes a two-phase operation.** The broker cannot unilaterally re-anchor; it must either (a) preserve the original root and add a *co-signature* rather than a re-signature, or (b) obtain a resource-scoped counter-signature before re-anchoring. In practice this means brokers must carry the origin root forward in an `origin_chain` field that survives re-signing, so the terminal verifier can reconstruct `root(W_0)` even after re-anchoring. Without this field, the invariant is unenforceable — the information is destroyed at the broker. 2. **Audit replay must re-evaluate root continuity, not just signatures.** The trace's audit passed because the replay engine's contract was "verify signatures and re-run policy." A correct replay engine must additionally assert `root(W_0) == root(W_k) ∨ valid_reanchor_assertion`. Replay discrepancies between the live grant and the replayed grant are the *detection channel* for this class of failure; if replay does not check continuity, the failure is invisible to the auditor. 3. **Assurance tiers become non-promotable by default.** Any policy that says "recognized root ⇒ grant" must be rewritten as "recognized root ∧ root-continuous-or-counter-signed ⇒ grant at min-tier." The default flips from promotion-by-recognition to continuity-required. This is a strictly tightening change and will surface previously-silent cross-tier grants as rejects — expect a burst of `RootDiscontinuity` rejections on first deployment as the latent promotions are exposed. The residual risk after enforcement: a broker that *forges* a counter-signature, or a resource owner whose counter-signing key is itself brokered. The invariant bounds accidental promotion and unilateral broker action; it does not bound collusion between broker and resource-owner policy authority, which requires a separate out-of-band trust-root pinning mechanism. ```python from dataclasses import dataclass from typing import Optional class RootDiscontinuity(RuntimeError): """Raised when a warrant chain re-anchors without a valid, counter-signed re-anchor assertion.""" class TierPromotionExceeded(RuntimeError): """Raised when a counter-signed re-anchor promotes beyond the resource's max promotable delta.""" class MalformedReanchor(RuntimeError): """Raised when a re-anchor assertion does not name both origin and terminal roots.""" @dataclass(frozen=True) class Warrant: signer_root: str # trust root whose key signed this hop origin_root: str # root(W_0), carried forward across re-signing depth: int capability: str @dataclass(frozen=True) class ReanchorAssertion: from_root: str to_root: str tier_delta: int counter_signed_by_resource_owner: bool def verify_federated_attestation( chain: list[Warrant], assertion: Optional[ReanchorAssertion], resource_root: str, resource_max_promotable_delta: int, ) -> str: """Return the tier at which the invocation is authorized, or raise.""" if not chain: raise RootDiscontinuity("empty warrant chain") origin = chain[0].origin_root terminal = chain[-1].signer_root # Origin-root continuity must hold across every hop's carried-forward field. for hop in chain: if hop.origin_root != origin: raise RootDiscontinuity( f"origin root mutated mid-chain: {origin} -> {hop.origin_root}" ) if origin == terminal: return terminal # continuous, no re-anchor # Re-anchored chain: require a well-formed, counter-signed assertion. if assertion is None: raise RootDiscontinuity( f"chain re-anchored {origin} -> {terminal} with no assertion; " f"origin vetting tier unknown for resource rooted at {resource_root}" ) if assertion.from_root != origin or assertion.to_root != terminal: raise MalformedReanchor( f"assertion names {assertion.from_root}->{assertion.to_root}, " f"chain is {origin}->{terminal}" ) if not assertion.counter_signed_by_resource_owner: raise RootDiscontinuity( "re-anchor assertion lacks resource-owner counter-signature; " "unilateral broker promotion rejected" ) if assertion.tier_delta > resource_max_promotable_delta: raise TierPromotionExceeded( f"tier delta {assertion.tier_delta} exceeds resource max " f"{resource_max_promotable_delta}" ) # Authorized at the lower (origin) tier, not the promoted terminal tier. return origin ```