Under what conditions must an instance refuse a transitively-attested capability grant in cross-org federation, and how does trust-anchor depth collapse expose it
**Date of Record:** 2026 December 2 **Scope:** Applies to federated agent meshes where an agent accepts a capability warrant (a signed, policy-bounded grant to invoke a tool or peer) that was issued by a foreign trust anchor and re-attested through one or more intermediary agents. Does not apply to single-org deployments with a monolithic issuer, nor to capability tokens validated by direct bilateral key exchange with no transitive hop.
Core Distinction
The distinction that matters is between **warrant authenticity** and **warrant authority**. Authenticity is a cryptographic property: the signature chain verifies, every hop's key is valid, no bytes were tampered with. Authority is a *policy* property: whether the chain of issuers, at the depth it actually traversed, was ever entitled to confer the specific capability being exercised on the specific resource being targeted.
Federated agents almost universally conflate the two. A verifier that checks "is this warrant signed by a key I trust, transitively" returns true for a warrant whose effective authority has been silently narrowed, widened, or voided somewhere in the middle of the chain. The failure is not a broken signature. It is a *valid* signature over a grant that the originating anchor never had the standing to make — and the receiving instance executes it because the cryptographic check passed.
What Was Observed
A three-org federation: Anchor **A** (issuer), intermediary agent **B** (a broker that re-attests warrants for downstream peers), and consumer **C** (the executing instance). A publishes a trust policy: warrants for tool `settle_payment` may be delegated at most **one** hop, and only to peers whose org-level policy digest matches a published set. B is on that set. B, however, runs a permissive local policy: it re-attests *any* warrant it receives to *any* downstream peer, and it stamps its own attestation with `max_delegation_depth = 3` copied from a default template rather than from A's original constraint.
C receives a warrant for `settle_payment` with a two-hop chain: `A → B → C`. C's verifier walks the chain, checks each signature, checks that each issuer key is in C's transitive trust closure, and checks the *leaf* constraint (`max_delegation_depth = 3`, satisfied). It does not check that B was authorized to *relax* A's depth-1 bound to depth-3. The signature over B's attestation is valid. The authority it encodes is forged-by-omission: B restated a constraint it had no standing to restate.
The observable symptom was not an auth error. It was C executing `settle_payment` against a counterparty that A's policy had explicitly excluded from multi-hop delegation — a resource A never intended to be reachable at depth 2. The failure surfaced only when A's auditor replayed the transaction log and found a settlement whose warrant chain depth exceeded A's published bound. Every signature in the chain verified at audit time. The breach was a *policy-depth* breach, invisible to signature verification.
The trigger condition, stated precisely: **an intermediary re-attests a warrant and restates a constraint field whose value it did not receive authority to modify, and the consumer validates the constraint against the leaf value rather than against the minimum over the chain.** The restated constraint is the attack surface; leaf-only validation is the missing guard.
Condition of Validity
A transitively-attested warrant is *authoritative* at the consumer only if all of the following hold simultaneously. Any one failing collapses authority even though authenticity holds:
- **Constraint monotonicity.** Every constraint field in the warrant (delegation depth, resource scope, expiry, rate bound, counterparty allowlist) must be *non-widening* along the chain. The effective value at the leaf is the lattice-meet (minimum for depth/expiry, intersection for allowlists) over all hops, not the leaf's stated value. A hop may narrow; a hop may never widen; a hop that restates a field must restate it to a value ≤ the value it received.
- **Anchor-scoped authority.** Each intermediary's right to re-attest is itself bounded by the anchor's policy for that intermediary, and that bound must be carried *in the warrant* (as a signed field), not inferred from the intermediary's local config. B's permissive default is irrelevant if the warrant carries A's bound; it is fatal if the bound lives only in B's config.
- **Policy-digest pinning at every hop.** The consumer must verify that each hop's org policy digest matches the set the *anchor* published, evaluated at the hop's position in the chain — not merely that the final issuer is trusted. A trusted intermediary running an untrusted policy is an untrusted hop.
- **Depth accounting against the anchor, not the leaf.** The remaining delegation budget must be decremented at each hop from the anchor's original grant, and the consumer must reject when cumulative depth exceeds the anchor's published maximum regardless of what any leaf field claims.
The condition of validity is therefore: *the consumer recomputes effective authority as the meet over the entire chain and rejects any hop whose restated constraint exceeds the value it inherited.* Leaf validation is necessary and insufficient.
Decision Boundary
The instance must refuse to execute when **any** of the following is true, and must treat refusal as a hard stop, not a degraded-mode proceed:
- A hop's restated constraint field is *greater* than the value that hop received (widening detected) — refuse, regardless of signature validity.
- The cumulative hop count exceeds the anchor's published `max_delegation_depth` — refuse, even if the leaf field permits it.
- A hop's policy digest is absent from the anchor's published peer set at that chain position — refuse.
- The chain contains a hop that is not itself named in the immediately-preceding issuer's peer allowlist (a "stranger hop") — refuse.
Conversely, the instance may proceed when constraints are monotonically narrowing, depth is within the anchor's bound, and every hop is policy-pinned — even if the leaf's stated fields are *stricter* than the chain meet, because narrowing is always safe.
The boundary is sharp: **authenticity is a boolean the verifier can compute locally; authority requires reconstructing the anchor's intent across hops the consumer did not witness.** When the consumer cannot reconstruct that intent — missing hop policy digests, unsigned constraint fields, ambiguous depth semantics — the correct action is refusal, not best-effort execution. The asymmetry is deliberate: a false refusal costs a retry; a false accept executes an unauthorized settlement.
Operational Effect
The architectural invariant this forces is **constraint-carrying warrants with meet-semantics validation**. Concretely:
- Constraint fields must be *signed into the warrant at issuance and re-signed at each hop*, so that a hop's restatement is itself an attested claim the consumer can audit. B's `max_delegation_depth = 3` becomes a signed assertion that C can compare against the inherited `1` and reject.
- The consumer's verifier must be a *fold over the chain*, not a check of the leaf. It maintains a running effective-constraint record, initialized from the anchor's grant, and at each hop applies `effective = meet(effective, hop_claim)`, rejecting if `hop_claim` exceeds `effective` on any widening-sensitive field.
- Trust-anchor depth must be accounted at the anchor, not the leaf: the `remaining_depth` in the effective record decrements per hop and the chain is rejected at zero, independent of any downstream field.
- Audit replay must re-fold the chain and compare the folded effective constraint against the executed action; a settlement executed under a folded constraint that excludes the counterparty is a replay-detectable breach even when all signatures verify.
The operational consequence is that cross-org federation cannot rely on "signed by a trusted key" as the admission predicate. It must rely on "signed by a trusted key *and* the chain's folded authority admits this exact action on this exact resource." The gap between those two predicates is exactly the space in which a permissive intermediary silently launders an anchor's narrow grant into a broad one, and the executing instance has no local signal — only a valid signature — that anything is wrong.
from dataclasses import dataclass, field
from typing import Optional
class WarrantAuthorityError(RuntimeError):
"""Raised when a warrant is authentic but its folded authority is insufficient."""
pass
@dataclass
class HopClaim:
issuer_did: str
policy_digest: str
max_delegation_depth: int # restated by this hop; must not widen
counterparty_allowlist: frozenset # restated; must not widen
signature_valid: bool
@dataclass
class AnchorPolicy:
anchor_did: str
max_delegation_depth: int
trusted_peer_digests: frozenset
counterparty_allowlist: frozenset
@dataclass
class EffectiveAuthority:
remaining_depth: int
allowlist: frozenset = field(default_factory=frozenset)
def fold_and_authorize(
anchor: AnchorPolicy,
chain: list[HopClaim],
target_counterparty: str,
) -> EffectiveAuthority:
"""
Fold a warrant chain under meet-semantics and authorize the target action.
Rejects widening, stranger hops, and depth overrun against the ANCHOR bound.
"""
eff = EffectiveAuthority(
remaining_depth=anchor.max_delegation_depth,
allowlist=anchor.counterparty_allowlist,
)
for idx, hop in enumerate(chain):
if not hop.signature_valid:
raise WarrantAuthorityError(
f"hop {idx} ({hop.issuer_did}): signature invalid"
)
if hop.policy_digest not in anchor.trusted_peer_digests:
raise WarrantAuthorityError(
f"hop {idx} ({hop.issuer_did}): policy digest "
f"{hop.policy_digest} not pinned by anchor {anchor.anchor_did}"
)
# Widening check: a hop may narrow but never exceed inherited depth.
if hop.max_delegation_depth > eff.remaining_depth:
raise WarrantAuthorityError(
f"hop {idx} ({hop.issuer_did}): widening delegation depth "
f"{hop.max_delegation_depth} > inherited {eff.remaining_depth}"
)
# Widening check on allowlist: hop's set must be a subset of inherited.
if not hop.counterparty_allowlist.issubset(eff.allowlist):
widened = hop.counterparty_allowlist - eff.allowlist
raise WarrantAuthorityError(
f"hop {idx} ({hop.issuer_did}): allowlist widening {sorted(widened)}"
)
# Meet: narrow the effective authority.
eff.remaining_depth = min(eff.remaining_depth, hop.max_delegation_depth) - 1
eff.allowlist = eff.allowlist & hop.counterparty_allowlist
if eff.remaining_depth < 0:
raise WarrantAuthorityError(
f"hop {idx} ({hop.issuer_did}): cumulative depth exceeds "
f"anchor bound {anchor.max_delegation_depth}"
)
if target_counterparty not in eff.allowlist:
raise WarrantAuthorityError(
f"target {target_counterparty} not in folded allowlist "
f"{sorted(eff.allowlist)}"
)
return eff