# What happens when an instance accepts a federated capability warrant without re-deriving the liability chain **Date of Record:** 2026 December 3 **Scope:** Applies to cross-organization agent federations where a remote agent (the *grantee*) is issued a capability warrant by an issuing agent (the *grantor*) and subsequently performs a state-mutating action whose liability must be attributed to a principal. Does not apply to single-org deployments, read-only capability grants, or federations with a shared trust root that pre-attributes liability by policy. ## Core Distinction The failure is not a broken signature. It is a *semantic* mismatch between what the grantor's warrant asserts and what the grantee's local policy engine can re-derive. A capability warrant carries two distinct payloads that are routinely conflated: 1. **Authorization payload** — the set of actions the grantee may take (e.g., `transfer_funds`, `write_record`), signed by the grantor. 2. **Liability payload** — the chain of principals (grantor → grantor's org → grantee's org → end principal) that will be held accountable if the action produces harm. Standard capability negotiation (MCP tool schemas, A2A agent cards, OAuth-style scope grants) validates the *authorization* payload cryptographically. It almost never validates that the *liability* payload is derivable from the grantee's own trust anchors. The grantee accepts the warrant, executes, and only discovers the liability chain is un-attributable when an incident occurs — at which point the grantee's org is holding the bag for an action it cannot trace back to a consenting principal. ## What Was Observed A grantee agent in Org B received an A2A handoff from a grantor agent in Org A. The grantor presented a warrant: ``` issuer: agent://org-a/orchestrator-7 subject: agent://org-b/worker-3 capability: { action: "issue_refund", max_amount: 5000, currency: "USD" } liability_chain: [ org-a/orchestrator-7, org-a/finance-principal-42 ] expiry: 2025-06-13T18:00:00Z signature: ``` The grantee's negotiation layer verified the signature against Org A's published JWKS, confirmed `subject` matched its own identity, confirmed `max_amount` fell within its local policy ceiling, and accepted. It then executed `issue_refund(amount=4820)` on behalf of a customer. The refund was later disputed. Org B's auditor attempted to attribute liability by walking the chain. It reached `org-a/finance-principal-42` and queried Org A: *did this principal consent to this specific refund?* Org A's response: the principal's consent record was scoped to `agent://org-a/orchestrator-7` acting *autonomously within a bounded budget*, not to delegating `issue_refund` to a third-party agent. The warrant's `liability_chain` field was asserted by the grantor, not attested by the principal. Org A declined attribution; Org B absorbed the loss. The grantee had no way to distinguish "principal attested this chain" from "grantor asserted this chain" because both produce identical, valid signatures. The signature proves *the grantor said it*, not *the principal authorized it*. ## Condition of Validity The grantee's acceptance was valid only under a condition it never checked: that every link in `liability_chain` beyond the immediate grantor carries an **independent attestation** — a signature by that principal over the delegation edge, not merely inclusion in a list the grantor signed. Formally, a liability chain `[G, P]` is re-derivable at the grantee iff there exists a signed edge `P → G` asserting `P` authorized `G` to delegate `capability` to subjects of class `C`. The grantor's warrant signature covers `G`'s assertion that `P` is in the chain. It does not cover `P`'s assertion that `G` may put `P` in the chain. These are different statements, and only the second is what liability attribution requires. The invariant: **a grantee may execute a state-mutating capability only if it can locally reconstruct the full liability chain from independently verifiable attestation edges, terminating at a principal whose consent scope explicitly covers third-party delegation of that capability class.** ## Decision Boundary The boundary between "accept and execute" and "reject or escalate" is not the signature check. It is the *attestation closure check*: - **Accept** iff every non-terminal link in the liability chain presents an attestation edge the grantee can verify against a trust anchor it already holds, and the terminal principal's consent scope names the capability class and permits delegation depth ≥ 1. - **Escalate** (do not reject, do not execute) iff the chain is cryptographically intact but attestation-closed only up to the grantor. This is the common case: Org A's grantor is honest but its principal's consent scope is private to Org A. The grantee must request an out-of-band attestation edge from the principal, or refuse execution and return a `liability_unattested` handoff error to the grantor. - **Reject** iff any signature fails or the chain contains an unverifiable link (unknown issuer, expired edge). The non-obvious part: an *escalate* outcome looks identical to an *accept* outcome at the negotiation layer. Both have valid signatures. The distinguishing signal lives in a field most negotiation protocols do not carry — the per-edge attestation — and so the grantee defaults to accept, silently converting an unattested chain into an assumed one. ## Operational Effect When the grantee skips the closure check, three things follow: 1. **Liability silently migrates to the grantee.** The grantee's org becomes the de facto principal of last resort for any action whose upstream chain fails to attest. This is not a rare edge case in federations with heterogeneous consent models; it is the default whenever the grantor's org treats consent scope as internal. 2. **The failure is latent until incident time.** No runtime error fires. The refund executes, the record is written, the tool call returns success. The defect surfaces only when an auditor walks the chain, which is typically weeks later and after the harm is realized. 3. **Replay cannot recover the missing edge.** An auditor replaying the grantee's decision trace sees a valid signature and a well-formed chain. The trace is *complete* with respect to what the grantee knew and *incomplete* with respect to what it needed to know. Post-hoc forensics cannot distinguish a grantee that checked closure and found it satisfied from one that never checked — unless the grantee logged the per-edge attestation result, which it did not because it did not perform the check. The guardrail is architectural: the negotiation layer must treat `liability_chain` as *claims to be resolved*, not *facts to be trusted*, and must fail closed on unresolved claims before any state-mutating tool call is dispatched. The grantee's warrant-acceptance path must be gated on attestation closure, and the closure result must be written into the decision trace as a first-class field so replay can distinguish checked-and-satisfied from never-checked. ```python from dataclasses import dataclass from typing import Optional class LiabilityChainUnattestedError(RuntimeError): """Raised when a federated warrant's liability chain cannot be reconstructed from independently verifiable attestation edges.""" pass @dataclass(frozen=True) class AttestationEdge: principal: str delegate: str capability_class: str allows_third_party_delegation: bool signature_valid: bool @dataclass(frozen=True) class Warrant: issuer: str subject: str capability_class: str liability_chain: tuple[str, ...] # grantor-asserted, NOT principal-attested signature_valid: bool def accept_warrant( warrant: Warrant, local_trust_anchors: frozenset[str], attestation_edges: tuple[AttestationEdge, ...], ) -> None: # Step 1: cryptographic validity of the grantor's assertion. if not warrant.signature_valid: raise LiabilityChainUnattestedError( f"warrant signature invalid for issuer {warrant.issuer}" ) # Step 2: attestation closure over the liability chain. # Every non-terminal link must be backed by an edge the grantee can # verify against a trust anchor it already holds. chain = warrant.liability_chain if len(chain) < 2: raise LiabilityChainUnattestedError( f"liability chain {chain!r} has no principal beyond grantor; " "cannot attribute harm" ) edges_by_delegate = {e.delegate: e for e in attestation_edges} for i in range(len(chain) - 1): principal, delegate = chain[i + 1], chain[i] edge: Optional[AttestationEdge] = edges_by_delegate.get(delegate) if edge is None: raise LiabilityChainUnattestedError( f"no attestation edge for delegate {delegate} in chain {chain!r}; " "grantor assertion is not principal consent" ) if not edge.signature_valid: raise LiabilityChainUnattestedError( f"attestation edge {principal}->{delegate} signature invalid" ) if edge.principal != principal: raise LiabilityChainUnattestedError( f"attestation edge principal {edge.principal} does not match " f"asserted chain link {principal}" ) if edge.capability_class != warrant.capability_class: raise LiabilityChainUnattestedError( f"attestation edge covers {edge.capability_class!r}, " f"warrant requires {warrant.capability_class!r}" ) if principal not in local_trust_anchors: raise LiabilityChainUnattestedError( f"principal {principal} is not a local trust anchor; " "cannot re-derive liability" ) # Step 3: terminal principal must permit third-party delegation. terminal = chain[-1] terminal_edge = edges_by_delegate.get(chain[0]) if terminal_edge is None or not terminal_edge.allows_third_party_delegation: raise LiabilityChainUnattestedError( f"terminal principal {terminal} consent scope does not permit " "third-party delegation of this capability class" ) # Closure satisfied; dispatch of state-mutating tool call may proceed. return None ```