# When must an instance reject a federated capability grant whose jurisdiction tag was laundered through an intermediate agent's re-attestation **Date of Record:** 2026 December 2 **Scope:** Applies to cross-org agent federations where capability grants carry jurisdiction/residency tags that are re-attested (re-signed or re-wrapped) by intermediate agents before reaching a downstream executor. Does not apply to single-org deployments or to federations where the original issuing authority's signature is preserved end-to-end without re-wrapping. ## Core Distinction There are two structurally different things an intermediate agent can do to a capability grant it forwards: 1. **Delegation** — the intermediary mints a *new* grant derived from the one it holds, with a fresh issuer identity and a scope that is provably a subset of its own. The chain of custody is explicit: each link names its parent grant. 2. **Re-attestation** — the intermediary re-wraps the *same* logical capability under its own signature, asserting "this is equivalent to what I was given." The downstream executor now sees a grant whose issuer is the intermediary, not the original authority. The failure mode lives entirely in case 2. When an agent re-attests a grant to route it across an org boundary, the jurisdiction/residency tag travels as *data inside the re-wrapped payload* rather than as a *property bound to the signing identity*. The intermediary can faithfully copy the tag `residency=EU` into the new envelope while its own signing identity is anchored in `us-east`. The downstream policy engine, which typically validates the tag against the *presenting* issuer's registered jurisdiction, now has two facts that disagree: the payload says EU, the signer's identity resolves to US. Whether the request is allowed depends on an ordering bug in the policy check — and that ordering is the boundary. ## What Was Observed A three-hop federation: Org A (EU issuer, holds the regulated dataset) → Org B (US intermediary, generic routing/planning agent) → Org C (EU executor, performs the actual retrieval). Org B's job is to decompose a task and forward sub-capabilities to Org C. The grant from A to B carried `{"cap": "read:records", "residency": "EU", "issuer": "A", "audience": "B"}`. B, lacking a native delegation endpoint, used its generic "re-issue with provenance" path, which produced `{"cap": "read:records", "residency": "EU", "issuer": "B", "parent": "hash(grant_A)", "audience": "C"}` signed by B's key. Org C's policy engine evaluated in this order: 1. Resolve signer identity → B → jurisdiction `US`. 2. Check `audience == C` → pass. 3. Check `residency == C.allowed_residency` → reads payload field `EU` → pass. The request was allowed. The record left Org A under an EU residency guarantee, transited B (a US processor), and was *read* by C — but the read was gated on a payload field that B had authored, not on any constraint B was actually bound by. B never had authority to assert EU residency on its own signature; it merely echoed a string. In a second incident, B's planner rewrote the field to `residency: "EU-or-global"` during a normalization pass (it treated the value as free text), and C's substring matcher still passed it. The invariant that broke: **a residency tag is only meaningful when it is cryptographically bound to an issuer whose registered jurisdiction is compatible with that tag.** Re-attestation severs that binding and leaves the tag as unverified metadata. ## Condition of Validity The downstream check `payload.residency ∈ executor.allowed_residency` is sound **only if** the presenting issuer's registered jurisdiction equals (or is a verified subset of) `payload.residency`. Formally, allow the request iff: ``` jurisdiction(issuer_of(presented_grant)) ⊆ payload.residency AND payload.residency ⊆ executor.allowed_residency ``` The first conjunct is the one that is silently dropped in re-attestation flows, because the executor's mental model is "the issuer is whoever signed it, and I trust them to have copied the tag correctly." That trust is exactly what the intermediary's probabilistic planner cannot be relied on to preserve — normalization, summarization, and field-rewriting passes inside an LLM intermediary routinely mutate metadata strings it regards as prose. This condition is *not* satisfied by: - Signature verification alone (B's signature is valid; the problem is what B is allowed to assert). - Chain-of-custody hashing alone (`parent` proves derivation, not jurisdiction authority). - Payload-field matching alone (the field is attacker/planner-controlled). It *is* satisfied when the grant is a true delegation: the child grant's issuer is B, but the child carries `delegated_from: A` and the executor walks the chain, checking at each hop that `jurisdiction(hop_issuer) ⊆ hop_payload.residency`. B's hop fails that check, so the chain is rejected — correctly, because B is a US processor and cannot vouch for EU residency. ## Decision Boundary An instance must **reject** a federated capability grant at the moment it detects that the grant's residency tag is asserted by an issuer whose registered jurisdiction does not satisfy the tag, *regardless of whether the tag string matches the executor's allow-list*. The reject must fire before any tool call that touches the regulated resource, and it must be a hard failure — not a downgrade to "best effort" or a warning logged and continued. The boundary is sharp: **payload says EU, signer resolves to US, no delegation chain proving the tag originated with an EU authority → reject.** Do not attempt to "repair" by consulting the parent hash and trusting it; the parent proves derivation, not authority. Do not fall back to the original issuer's tag if the intermediary's planner has already rewritten it — the rewrite is unrecoverable from the re-wrapped envelope alone. The one legitimate escape is an explicit delegation chain where every hop's issuer jurisdiction is a verified subset of that hop's asserted residency. Absent that, the grant is unverifiable and must be treated as non-compliant. ## Operational Effect Without this boundary, federations develop a quiet class of residency violations that no signature check catches: data transits a jurisdiction it was never cleared for, gated on a string an LLM intermediary authored. The violations are non-deterministic — they appear when the intermediary's normalization pass happens to rewrite the tag, and vanish when it doesn't — which makes them nearly invisible to replay-based auditing. The remediation is architectural: intermediaries must either implement true delegation (mint subset grants with explicit parent linkage and per-hop jurisdiction checks) or refuse to forward residency-tagged capabilities at all. Executors must validate jurisdiction against the *signing identity at every hop*, never against the payload field alone, and must treat a mismatch as a terminal rejection rather than a soft flag. ```python class ResidencyLaunderingError(RuntimeError): """Raised when a federated grant's residency tag is not bound to a signer whose registered jurisdiction satisfies that tag.""" pass def validate_federated_grant(grant: dict, executor_allowed: set[str], jurisdiction_of: dict[str, str]) -> None: """Walk the delegation chain and enforce per-hop jurisdiction binding. grant = { "issuer": str, "residency": str, "delegated_from": dict | None, # parent grant, recursively } """ hop = grant seen = set() while hop is not None: issuer = hop["issuer"] if issuer in seen: raise ResidencyLaunderingError( f"delegation cycle detected at issuer {issuer!r}") seen.add(issuer) asserted = hop.get("residency") if asserted is None: raise ResidencyLaunderingError( f"grant from {issuer!r} carries no residency tag") signer_juris = jurisdiction_of.get(issuer) if signer_juris is None: raise ResidencyLaunderingError( f"issuer {issuer!r} has no registered jurisdiction") # The conjunct that re-attestation silently drops: # the signer must actually be allowed to assert this residency. if signer_juris != asserted and not signer_juris.startswith(asserted + ":"): raise ResidencyLaunderingError( f"residency laundering: issuer {issuer!r} is in " f"{signer_juris!r} but asserts residency {asserted!r}") hop = hop.get("delegated_from") # Only after the chain is proven authority-consistent do we check # the executor's own allow-list against the *root* assertion. root_asserted = grant["residency"] if root_asserted not in executor_allowed: raise ResidencyLaunderingError( f"executor does not accept residency {root_asserted!r}") ```