# Why does an instance accept a federated A2A warrant whose AAIF attestation chain re-roots mid-delegation? **Date of Record:** 2026 November 27 **Scope:** Applies to cross-organization agent-to-agent (A2A) task delegation where the requesting agent's authority is carried as a signed warrant and attested under an Agent Attestation and Identity Framework (AAIF) chain that spans more than one trust root. Does not apply to single-org delegation where all warrants descend from one root, nor to bearer-token auth without attestation. ## Core Distinction The failure is not signature forgery and not expiry. It is **trust-root substitution under chain compression**. When an A2A warrant is relayed across an org boundary, the receiving instance must verify two independent things: (a) the warrant's delegation chain is cryptographically intact back to the origin principal, and (b) the AAIF attestation attached to the *presenting* agent is anchored to a root the receiver trusts. These are usually treated as one check ("verify the chain"). They are not the same chain. The boundary condition: an intermediate agent in Org B re-signs the A2A warrant with its own AAIF attestation, which is validly rooted in Org B's trust anchor — and Org B's anchor is *cross-certified* by Org A. The receiver in Org C, trusting only Org A, sees a chain that terminates at a root it accepts. Every signature verifies. The warrant is accepted. But the *delegation semantics* have silently re-rooted: the effective authorizing principal is now Org B's cross-certified anchor, not the original human principal in Org A whose scope was narrower. The attestation chain is continuous; the *authority* chain is not. ## What Was Observed Trace from a federated procurement flow (Org A human → Org A orchestrator agent → Org B broker agent → Org C supplier agent): 1. Org A orchestrator issues A2A warrant `W1`: `principal=alice@A`, `scope={read:catalog, commit<=500USD}`, signed by `A/orch`, attested under `AAIF-A-root`. 2. Org B broker receives `W1`, needs to call Org C. It cannot forward `W1` unchanged because Org C does not trust `A/orch` as a presenter. Standard practice: broker attenuates to `W2 = W1 ⊗ delegate(B/broker)`, re-signs with `B/broker` key, and attaches its AAIF attestation `att(B/broker)`. 3. `att(B/broker)` is rooted at `AAIF-B-root`. Org B's root carries a cross-certification `X: B-root ← A-root` (A vouches for B). The broker's implementation *flattens* the attestation: it presents `att(B/broker)` plus the cross-cert `X`, and the flattened chain reads `B/broker → B-root →(X)→ A-root`. 4. Org C's verifier walks the flattened chain, finds `A-root` in its trust store, and accepts. It then checks `W2.scope ⊆ W1.scope`. Attenuation held at the signature layer — `W2` does carry `commit<=500USD`. 5. **The defect:** `W2`'s *effective* principal, as reconstructed by Org C, resolves through `B-root`, and `B-root`'s cross-cert `X` was issued with `scope={read:catalog, commit<=5000USD}` — the org-to-org federation agreement, not Alice's delegation. Org C's verifier never intersects the cross-cert scope with the warrant scope. It only checks warrant-to-warrant attenuation. The cross-cert's broader scope is invisible because it lives in the *attestation* layer, and the verifier treats that layer as identity-only. Result: a `commit<=500USD` warrant executed a `commit=4200USD` action. All signatures valid. All attenuation checks passed. The over-spend is real. ## Condition of Validity The invariant that was assumed and is false: *"if the delegation chain is attenuated and the attestation chain is continuous to a trusted root, then effective authority ≤ origin authority."* It holds only if the verifier computes effective authority as the **intersection across both chains** — the meet of (warrant scope at each hop) ∧ (attestation cross-cert scope at each re-root). The moment an attestation chain re-roots through a cross-certification, that cross-cert contributes a scope constraint that must be folded into the effective-authority lattice. If the verifier treats cross-certs as pure identity bindings (boolean trust, no scope), the lattice loses a dimension and the meet is computed over an incomplete set. Formally: let `S_w` be the warrant scope meet and `S_x` the meet of all cross-cert scopes traversed during attestation-chain resolution. The action is authorized iff `requested ⊆ S_w ∧ requested ⊆ S_x`. The observed failure is a verifier computing only `requested ⊆ S_w`. ## Decision Boundary A receiving instance must refuse to collapse attestation and delegation into one check when **any** of the following hold: - The AAIF attestation chain contains a cross-certification edge (root ≠ presenting org's root). Cross-certs are scope-bearing, not identity-only. - The A2A warrant was re-signed by an intermediary (presenter ≠ warrant issuer). Re-signing is where re-rooting happens. - The receiver's trust store contains a root that is *reachable only via* a cross-cert, not directly. Reachability-via-federation must trigger the scope-intersection path. Conversely, it is safe to treat attestation as identity-only **only** when the presenting agent's attestation terminates directly at a root the receiver holds natively, with no cross-cert edge — i.e., same-org or directly-peered. The boundary is the presence of a federation edge in the resolved chain. ## Operational Effect Verifiers that skip the cross-cert scope intersection exhibit a reproducible over-authorization class: any delegated action whose magnitude exceeds the origin warrant but stays under the org federation ceiling will execute. Because every signature and every warrant-level attenuation check passes, standard audit replay does not flag it — the audit log shows a valid `W2` with correct attenuation. The over-spend only surfaces when the cross-cert scope is replayed against the executed action, which most audit tooling does not do because it treats the attestation layer as out of scope for authorization. The guardrail is to make effective-authority a two-chain meet computed at verification time, and to make cross-cert edges first-class scope carriers in the attestation resolver — never flatten them into a boolean "trusted" bit. An instance that cannot resolve cross-cert scope must fail closed on federation-edge chains rather than degrade to identity-only trust. ```python from dataclasses import dataclass class FederationScopeCollapseError(RuntimeError): """Raised when an A2A warrant is verified against a re-rooted AAIF attestation chain without intersecting cross-cert scope into the effective-authority lattice.""" @dataclass(frozen=True) class Scope: ops: frozenset commit_cap: int def meet(self, other: "Scope") -> "Scope": return Scope(self.ops & other.ops, min(self.commit_cap, other.commit_cap)) def allows(self, requested: "Scope") -> bool: return requested.ops <= self.ops and requested.commit_cap <= self.commit_cap @dataclass(frozen=True) class AttestationEdge: issuer_root: str subject_root: str cross_cert_scope: Scope | None # None => native root, no federation edge def effective_authority( warrant_scope: Scope, attestation_path: list[AttestationEdge], trusted_roots: frozenset, ) -> Scope: # Fold every cross-cert edge's scope into the effective-authority meet. effective = warrant_scope saw_federation_edge = False for edge in attestation_path: if edge.cross_cert_scope is not None: saw_federation_edge = True effective = effective.meet(edge.cross_cert_scope) terminal = attestation_path[-1].subject_root if attestation_path else None if terminal not in trusted_roots and not saw_federation_edge: raise FederationScopeCollapseError( f"attestation terminates at untrusted root {terminal!r} with no " f"federation edge to a trusted root; refuse rather than degrade " f"to identity-only trust" ) return effective def authorize( requested: Scope, warrant_scope: Scope, attestation_path: list[AttestationEdge], trusted_roots: frozenset, ) -> bool: effective = effective_authority(warrant_scope, attestation_path, trusted_roots) if not effective.allows(requested): # This is the exact boundary the naive verifier misses: warrant-level # attenuation passed, but the cross-cert scope meet did not. if warrant_scope.allows(requested): raise FederationScopeCollapseError( f"requested {requested} passes warrant scope {warrant_scope} " f"but violates federated effective authority {effective} " f"after cross-cert intersection" ) return False return True ```