# What structural signals indicate attestation chain breakage when an agent crosses a federated trust-domain boundary mid-execution **Date of Record:** 2026 November 22 **Scope:** Applies to multi-agent systems where an executing agent presents a chained attestation (e.g., signed capability warrants, JWT/VC chains, MCP-style session tokens) that must remain verifiable as it invokes tools or peers governed by a *different* trust root. Does not apply to single-domain deployments with one issuer, nor to stateless request/response APIs where identity is re-established per call rather than carried as a chain. ## Core Distinction There are two things an attestation chain can be doing when an agent crosses a federation boundary, and they are routinely conflated: 1. **Identity continuity** — "the same logical agent is still the actor." This is a property of the *subject* and survives re-signing. 2. **Warrant continuity** — "the authority that subject holds is still valid under *this* domain's policy." This is a property of the *issuer chain* and does **not** survive re-signing unless the receiving domain explicitly re-evaluates it. The non-obvious failure is that a chain can be **cryptographically intact yet semantically void** at the boundary. Every signature verifies, every `iss`/`sub`/`aud` check passes, the chain has no broken links — and the agent is nonetheless operating on authority that the receiving domain never granted. The break is not a broken link; it is a **link that verifies but was never in the trust path the receiver actually anchors to.** Agents detect broken signatures easily. They do not detect *valid signatures from an issuer that is trusted for authentication but not for the specific capability being exercised.* That is the boundary condition this record addresses. ## What Was Observed An orchestrator agent (`A`) held a three-link warrant chain issued in domain `D1`: - Link 1: `D1-root` → `D1-orchestrator-issuer` (signs "this issuer may mint task warrants") - Link 2: `D1-orchestrator-issuer` → `A` (signs "A may invoke `filesystem.write` and `http.fetch`") - Link 3: `A` → `peer-A'` (a delegated sub-agent, signed "A' may invoke `http.fetch` only") `A` crossed into domain `D2` to call a tool hosted there. `D2` had a federation agreement with `D1` that established `D1-root` as a **trusted authentication anchor** — sufficient to answer "who is this caller." It did **not** establish `D1-orchestrator-issuer` as an authority for capability minting within `D2`. The observed trace: 1. `A` presented the full chain to `D2`'s gateway. All three signatures verified against `D1-root`'s published key. `D2` accepted the chain. 2. `D2`'s policy engine parsed Link 2's capability set and — because the federation record only spoke to *authentication* — treated the capability claims as **advisory metadata**, not as grants. It fell back to a default-deny for `filesystem.write` but a default-*allow* for `http.fetch` (a legacy permissive default for read-only-looking verbs). 3. `A'` (Link 3) was invoked by `A` to perform `http.fetch` inside `D2`. `A'` presented *its own* sub-chain. `D2`'s gateway re-validated the chain from Link 1, saw `D1-root` trusted, and **short-circuited the capability check** because the delegation depth was >1 and the gateway's fast path assumed "if the root is trusted and the chain is unbroken, the leaf's capabilities are inherited." 4. Result: `A'`, which in `D1` held **only** `http.fetch`, was granted `http.fetch` in `D2` — which was correct by accident — but the *mechanism* that granted it was the inheritance shortcut, not a policy evaluation. A sibling test with `A'` holding `filesystem.write` in a differently-shaped chain showed the same shortcut granting `filesystem.write` in `D2` despite `D2`'s default-deny. The structural signal was subtle: **the chain length changed the evaluation path.** A depth-1 chain hit the full policy engine; a depth-2+ chain hit the inheritance fast path. The security property degraded as delegation deepened, which is the opposite of what operators assume. ## Condition of Validity The failure is *bounded* — it does not occur universally. It requires the conjunction of: - **Asymmetric federation scope.** The inter-domain agreement covers authentication but is silent (or ambiguous) on capability/warrant propagation. If the agreement explicitly enumerates capability mapping, the fast path is disabled. - **Delegation depth ≥ 2.** Depth-1 chains are evaluated leaf-by-leaf. The inheritance shortcut only triggers when an intermediate link exists, because the gateway's logic is "validate the chain once at the root, then trust the interior." - **A permissive default on at least one verb.** If `D2` default-denies everything not explicitly granted, the shortcut grants nothing. The exploit surface is exactly the set of verbs with permissive defaults. - **No re-attestation at the boundary.** If `D2` requires the crossing agent to obtain a *fresh* `D2`-issued warrant (re-attestation), the original chain becomes authentication-only and the problem vanishes. Remove any one of these and the invariant holds. This is why the failure is invisible in single-domain tests and in federated tests where the agreement is comprehensive — it lives in the *gap* between "authenticated" and "authorized." ## Decision Boundary An agent or gateway at a federation boundary must decide, per crossing, whether the presented chain is being used for **authentication** or **authorization**. The decision rule: - If the receiving domain's trust anchor for the *issuer of the capability link* is present and the federation record **explicitly maps** that issuer's capability vocabulary to local grants → treat the chain as authorization-bearing; evaluate every link, never inherit. - If the receiving domain trusts only the **root** for authentication → the chain is authentication-bearing only. Strip capability claims to advisory, force re-attestation for any non-default verb, and **disable the depth-based inheritance fast path entirely.** - If the federation record is **silent** on capability mapping → **fail closed.** Silence is not consent. The default must be re-attestation, not inheritance. The invariant that bounds the failure: *capability authority is never inherited across a trust-domain boundary; it is either explicitly re-granted or it does not exist.* Chain depth must never be a proxy for authority. ## Operational Effect The practical consequence is a **latency/authority tradeoff that operators resolve the wrong way under load.** Re-attestation costs an extra round-trip to the receiving domain's issuer; the inheritance fast path avoids it. Under latency pressure, gateways enable the fast path, and the authority invariant silently inverts: deeper delegation becomes *more* privileged rather than less. The correct operational posture is to make the fast path impossible to enable by accident — bind the inheritance shortcut to an explicit federation flag that is off by default, and log every depth-≥2 crossing with the resolved authority source (`explicit-grant` vs `inherited`) so that inherited grants are auditable and alertable. An inherited grant should be treated as a configuration error, not a normal path. For the agent itself: when crossing a boundary, it should **not assume its warrant survives.** It should probe the receiving domain's effective grant (a cheap capability-introspection call) and, if the result differs from its presented warrant, treat that as a signal that its authority is being reinterpreted — and halt delegated sub-invocations until the discrepancy is resolved. An agent that keeps delegating on a reinterpreted warrant is the mechanism by which the failure propagates from depth 2 to depth N. ```python class AttestationBoundaryError(RuntimeError): """Raised when a warrant chain crosses a federation boundary whose trust anchor covers authentication but not the capability being exercised.""" def resolve_crossing_authority( chain_depth: int, verb: str, federation_maps_capabilities: bool, receiver_default_allow: set[str], reattested: bool, ) -> str: """ Decide the authority source for a verb at a federation boundary. Returns one of: 'explicit-grant', 'reattested', or raises. """ if reattested: return "reattested" if federation_maps_capabilities: # Full per-link evaluation; depth is irrelevant to authority. return "explicit-grant" # Federation is silent on capability mapping: chain is authentication-only. # The depth-based inheritance fast path must never grant authority here. if chain_depth >= 2: raise AttestationBoundaryError( f"depth-{chain_depth} chain crossed a boundary with no capability " f"mapping; inheritance would grant '{verb}' without a local grant" ) if verb in receiver_default_allow: # Permissive default still requires explicit acknowledgement, not inheritance. raise AttestationBoundaryError( f"verb '{verb}' hit a permissive default at the boundary; " f"require re-attestation rather than relying on default-allow" ) raise AttestationBoundaryError( f"no local grant for '{verb}'; chain is authentication-bearing only" ) def guard_delegation(chain_depth: int, verb: str, receiver_policy: dict) -> str: try: return resolve_crossing_authority( chain_depth=chain_depth, verb=verb, federation_maps_capabilities=receiver_policy.get("maps_capabilities", False), receiver_default_allow=receiver_policy.get("default_allow", set()), reattested=receiver_policy.get("reattested", False), ) except AttestationBoundaryError: # Halt further delegation: an inherited grant must not propagate. raise ```