# How should an instance detect and contain transitive trust inflation when a federation broker re-signs delegated capability warrants across organizational boundaries **Date of Record:** 2026 November 22 **Scope:** Applies to federated agent deployments where a trust broker in organization B accepts a capability warrant issued by organization A, re-signs or re-issues it for downstream agents in organization C, and the resulting delegation chain is evaluated by a policy engine at execution time. Does not apply to single-org delegation where the issuer and verifier share a root of trust, nor to stateless request/response tool calls that carry no delegated authority. ## Core Distinction The failure mode is not signature forgery, key compromise, or policy misconfiguration. It is *transitive trust inflation*: a broker that is authorized to *attest* an inbound warrant (confirm "this warrant was validly issued by A and its subject is who it claims") is conflated with a broker authorized to *extend* that warrant (mint a new warrant whose subject is a different agent, with a possibly broader scope, at a later expiry). These are two distinct operations with two distinct trust semantics, and most federation brokers implement both through the same code path because both produce a signed token. The distinction that matters at the agent layer: an attestation preserves the *delegation depth* and *scope-set* of the original warrant; an extension resets the depth counter and may union scopes. When a broker re-signs rather than counter-signs, the receiving policy engine sees a warrant of depth 1 issued by B, not a warrant of depth 2 rooted in A. The chain-of-custody metadata that would let the verifier reconstruct the original attenuation is destroyed at the broker boundary, and every downstream agent inherits the broker's full authority rather than the attenuated authority the original issuer intended. ## What Was Observed A three-org federation: org A (issuer, holds the root signing key for the `data.read` and `data.export` capability families), org B (trust broker, runs the federation gateway), org C (consumer, runs a swarm of retrieval agents). A's policy: `data.read` may be delegated to depth 3; `data.export` may be delegated to depth 1 only, and never across more than one organizational hop. A issues a warrant W₁ to agent `a-scraper` in A with scope `{data.read, data.export}`, depth budget 2, expiry T+15m. `a-scraper` delegates to a peer in B via a proper attenuation: W₂ has scope `{data.read}`, depth budget 1, expiry T+10m, and carries a `parent_hash` pointing at W₁. So far correct. The B gateway receives W₂, validates the signature chain against A's published JWKS, and — because its broker code path is shared with its "issue local service token" path — mints W₃ for `c-retriever` in C. W₃ has scope `{data.read, data.export}` (the broker unioned the *inbound subject's* declared capabilities, which it read from a stale capability manifest, not from W₂'s scope set), depth budget 3 (the broker's local default), expiry T+60m (the broker's local default), and issuer = B. The `parent_hash` field is absent because the broker's minting path does not populate it. The policy engine in C evaluates W₃: valid signature from B, depth 1 as seen locally, scope includes `data.export`. It has no way to know that the effective depth is 3 and that `data.export` was attenuated away two hops ago. `c-retriever` exports a dataset. The audit trail in C shows a clean, shallow, locally-authorized delegation. The audit trail in A shows a warrant that expired at T+15m and never authorized export past depth 1. The two audit trails do not reconcile, and the reconciliation failure is invisible until someone manually joins them. The trigger condition is narrow and therefore easy to miss: it requires (a) a broker that re-signs rather than counter-signs, (b) a broker whose local defaults are broader than the inbound warrant's attenuation, and (c) a downstream verifier that trusts the broker's issuer field as the root of the chain. Any one of these absent, the inflation does not occur. All three present, it occurs silently on the first cross-org hop. ## Condition of Validity The invariant that must hold for federated delegation to be sound: **for every warrant W presented to a verifier, the verifier must be able to reconstruct the full attenuation chain back to the root issuer, and the effective authority of W must be the intersection of the scopes of every warrant in that chain, with the effective depth equal to the chain length and the effective expiry equal to the minimum expiry in the chain.** This invariant is only satisfiable if the broker boundary preserves chain structure. Concretely, a counter-signing broker produces W₃' with: issuer = B, but a `chain` field containing the full ordered list of (issuer, scope_set, depth, expiry, signature) tuples for W₁, W₂, and the broker's own attestation; and W₃' scope = W₂ scope (never a union); depth = W₂ depth (never reset); expiry = min(W₂ expiry, broker attestation expiry). The verifier then computes the intersection and rejects if any link is missing or if the computed effective scope is empty. The condition of validity for the *verifier* is that it must refuse to evaluate any warrant whose `chain` field is absent or whose chain does not terminate at a root issuer in its configured trust store. A broker that emits a chainless warrant must be treated as a root issuer, not as a broker — which means its authority is bounded by its own configured root scope, not by the inbound warrant's scope. Most deployments get this wrong by treating every warrant with a valid signature as chain-complete. ## Decision Boundary The decision boundary is between *attestation* and *extension*, and it must be enforced at the broker's minting function, not at the verifier. A broker function that accepts an inbound warrant and produces an outbound warrant must branch explicitly: - If the outbound warrant's subject is the *same* agent identity as the inbound subject (the broker is merely re-attesting for a local trust domain), it may re-sign, but it must copy the inbound scope, depth, expiry, and parent chain verbatim, and it must set its own issuer field alongside — not in place of — the inbound issuer. - If the outbound warrant's subject is a *different* agent (the broker is extending delegation), it must counter-sign: append its attestation to the chain, intersect scopes with the inbound, decrement depth, and clamp expiry to the inbound expiry. The boundary is crossed — and the failure occurs — when a single minting function serves both cases and the branch is selected by a runtime flag, a config default, or (worst) the presence of a `subject` field in the request. The flag is the bug. The two operations have different type signatures: attestation returns the same warrant with an added signature; extension returns a strictly attenuated warrant with an appended chain link. They should not share a return type, because sharing a return type is what allows the verifier to accept an extended warrant as if it were attested. A second decision boundary sits at the verifier: it must distinguish "warrant issued by a root I trust" from "warrant issued by a broker I trust to relay." The first is evaluated against the root's scope policy directly. The second is evaluated only by chain reconstruction, and a chainless warrant from a broker-trusted issuer must be rejected with a distinct error, not silently promoted to root authority. ## Operational Effect Downstream of the inflation, three effects compound. First, *audit non-reconciliation*: the issuer's log and the consumer's log describe different authority graphs, and the join key (`parent_hash`) is missing on the consumer side, so forensic reconstruction requires out-of-band correlation by timestamp and subject. Second, *scope creep persistence*: once `c-retriever` holds a broadened warrant, any further delegation it performs inherits the broadening, and the inflation propagates to depth N without any further broker involvement. Third, *revocation lag*: A's revocation of W₁ at T+5m has no effect on W₃, because W₃'s chain does not reference W₁; the consumer continues to operate on authority that was revoked ten minutes ago in the issuer's domain. The guardrail that bounds all three is the chain-completeness check at the verifier plus the counter-sign-only rule at the broker. Neither is sufficient alone: a counter-signing broker that omits the chain field produces a chainless warrant, and a chain-checking verifier that accepts chainless warrants from brokers produces the same inflation. The invariant is only enforced when both ends agree that a broker-issued warrant without a reconstructable chain is invalid, full stop — not degraded, not promoted, not "trusted because the broker is trusted." The operational tell that this failure is present in a running federation: the consumer's effective-depth distribution has a mode at 1 regardless of how many org hops a request traversed. If every warrant arriving at a consumer shows depth 1, the brokers are re-signing, and the federation's attenuation guarantees are nominal. ```python from dataclasses import dataclass, field from typing import Optional class TrustInflationError(RuntimeError): """Raised when a warrant's chain cannot be reconstructed to a trusted root.""" pass @dataclass(frozen=True) class ChainLink: issuer: str scope: frozenset depth_budget: int expiry: int parent_hash: Optional[str] @dataclass(frozen=True) class Warrant: issuer: str subject: str scope: frozenset depth_budget: int expiry: int chain: tuple = field(default_factory=tuple) TRUSTED_ROOTS = {"org-a-root"} TRUSTED_BROKERS = {"org-b-broker", "org-c-broker"} def evaluate(w: Warrant, now: int) -> frozenset: # A chainless warrant is only valid if its issuer is a root. if not w.chain: if w.issuer not in TRUSTED_ROOTS: raise TrustInflationError( f"chainless warrant from non-root issuer {w.issuer!r}: " f"broker re-signing detected, effective authority unbounded" ) if w.expiry <= now: raise TrustInflationError(f"root warrant expired at {w.expiry}") return w.scope # Reconstruct: chain must terminate at a trusted root and be contiguous. if w.chain[0].issuer not in TRUSTED_ROOTS: raise TrustInflationError( f"chain does not terminate at trusted root: head issuer " f"{w.chain[0].issuer!r}" ) for i in range(1, len(w.chain)): prev, cur = w.chain[i - 1], w.chain[i] if cur.issuer not in TRUSTED_BROKERS: raise TrustInflationError( f"chain link {i} issuer {cur.issuer!r} is not a trusted broker" ) if cur.parent_hash is None: raise TrustInflationError( f"chain link {i} missing parent_hash: broker dropped chain " f"continuity, attenuation cannot be verified" ) if cur.depth_budget >= prev.depth_budget: raise TrustInflationError( f"chain link {i} depth {cur.depth_budget} not strictly less " f"than parent {prev.depth_budget}: depth reset detected" ) if cur.expiry > prev.expiry: raise TrustInflationError( f"chain link {i} expiry {cur.expiry} exceeds parent " f"{prev.expiry}: expiry extension detected" ) if not cur.scope.issubset(prev.scope): raise TrustInflationError( f"chain link {i} scope {set(cur.scope)} not subset of parent " f"{set(prev.scope)}: scope union detected" ) effective = w.scope for link in w.chain: effective = effective & link.scope effective_expiry = min(link.expiry for link in w.chain) if effective_expiry <= now: raise TrustInflationError( f"effective expiry {effective_expiry} already passed at {now}: " f"revocation lag across broker boundary" ) if not effective: raise TrustInflationError("effective scope empty after intersection") return effective ```