# What structural signals indicate capability-delegation chain forgery in cross-org agent federation: the attenuated-warrant depth collapse **Date of Record:** 2026 December 3 **Scope:** Applies to federated agent systems where an originating agent (Org A) delegates a scoped capability to a peer agent in Org B, which may re-delegate to Org C against a policy-bounded warrant chain. Does not apply to single-org delegation, nor to flat capability tokens with no re-delegation rights. ## Core Distinction The failure that matters here is not "a forged signature" and not "a revoked credential." It is **warrant depth collapse**: a delegated capability arrives at the terminal executing agent carrying a chain whose *cryptographic* length is correct but whose *semantic* attenuation is not monotone. Each hop is individually valid — signature verifies, issuer is the prior hop's subject, policy hash matches — yet the effective permission set at the leaf is a strict superset of some ancestor's set on at least one axis (resource, verb, expiry, or data-classification ceiling). This is structurally distinct from privilege escalation via confused deputy, because no single agent misbehaves. It emerges from *composition*: Org B's policy engine evaluates attenuation against B's local policy lattice, not against A's. When the two lattices aren't order-isomorphic on the delegated attribute, B can emit a child warrant that is a valid B-attenuation of its parent while being a non-attenuation of the original A grant. The chain verifier, which checks hop-by-hop against the *issuer's* policy, never sees the violation. ## What Was Observed A three-org chain: A → B → C. A issues warrant `W_A` scoped to `resource=claims_db, verb=read, data_class<=PII-internal, ttl=600s`. B's policy engine models `data_class` as an ordered enum `{public < PII-internal < PII-restricted}` but models `verb` as an unordered set `{read, aggregate}`. B re-delegates `W_B` to C with `verb=aggregate` (legal under B's set semantics — aggregate ⊄ read but B treats verbs as independently grantable) and `data_class=PII-restricted` whenever the caller presents a *justification token* B's policy accepts for "research exemption." C's verifier checks: `W_B.issuer == B`, signature valid, `W_B.parent_hash == W_A.hash`, `W_B.policy_ref == B.policy_v7`. All pass. C executes `aggregate` over `PII-restricted` rows. The terminal violation is that `W_A` never granted `aggregate`, and never granted `PII-restricted`; but no hop in the chain violated *its own issuer's* policy, so the monotone-attenuation invariant was checked locally at every step and failed globally. Observed structural signals at the moment of failure, in order of detection latency: 1. **Depth–entropy mismatch.** The warrant chain had depth 3 but the set of distinct `policy_ref` values along the chain was 2 (`A.v4`, `B.v7`, `B.v7`). A chain that re-delegates *within* the same downstream policy context is a signature of lattice collapse — the intermediate agent is attenuating against a lattice that cannot express the parent's constraints. Healthy chains show distinct policy refs per hop until the terminal executor. 2. **Verb-axis cardinality non-decrease.** `|W_A.verbs| = 1`, `|W_B.verbs| = 2`. Attenuation requires every axis to be non-increasing in the policy's own partial order. Cardinality is a cheap proxy that catches set-semantics lattices that structural subtyping misses. 3. **Justification-token presence at a non-root hop.** `W_B` carried a `justification` field; `W_A` did not. Justification tokens that *widen* rather than *narrow* scope are a marker that the intermediate policy engine has a widening pathway the root issuer never authorized. 4. **TTL re-extension.** `W_B.ttl = 900s > W_A.ttl = 600s`. B treated TTL as "freshness from issuance" rather than "absolute deadline inherited from root." This is the most common single-hop violation and the easiest to catch; its presence correlates strongly with the other three. ## Condition of Validity The monotone-attenuation invariant holds **only if** the policy lattice of every intermediate issuer is a *refinement* of the root issuer's lattice restricted to the delegated attribute domain — i.e., there exists an order-embedding from each hop's effective grant into the root grant. This is *not* guaranteed by: - Signature validity (each hop signs correctly). - Policy-hash pinning (B's policy is pinned, but pinned to *B's* lattice). - Structural subtyping of the warrant schema (B's `verb` field is the same type as A's; the *semantics* of the type differ). - Consensus among verifiers (all three verifiers agree the chain is well-formed; they agree because they all check locally). The invariant requires an explicit **cross-lattice order check**: at chain verification, the terminal executor must project every ancestor grant into a common reference lattice (nominally the root's) and assert `leaf_grant ⊑ ancestor_grant` for all ancestors, on every axis, in the reference lattice — not in the local lattice of the hop that emitted it. This projection is only well-defined if each org publishes a declared embedding of its policy lattice into the federation reference lattice, and the embedding is itself signed and versioned. ## Decision Boundary At chain verification time, the executor must choose between two dispositions when the depth–entropy or verb-cardinality signal fires: - **Reject and quarantine** if any hop's declared lattice embedding is missing, unsigned, or version-mismatched with the `policy_ref` recorded in the warrant. Absence of an embedding is not evidence of safety; it is evidence that the chain cannot be checked, and an uncheckable widening chain is indistinguishable from an attack. - **Accept with degraded scope** only if every hop's embedding is present, signed, and the projected leaf grant is a strict meet (⊑) of all ancestors in the reference lattice. Degraded scope means the executor clamps to the *meet* of the projected grants, not to the leaf grant — the leaf is untrusted; the meet is the strongest statement the chain actually licenses. The boundary is sharp: there is no "accept with warning." A chain that fails the cross-lattice projection is either rejected or clamped to the meet. Any disposition that executes the leaf grant as-issued is a boundary violation regardless of how many local checks passed, because local checks are exactly what the failure mode defeats. ## Operational Effect The practical consequence is that **federation trust cannot be composed from pairwise trust**. A↔B trust and B↔C trust do not yield A↔C trust at the leaf grant; they yield A↔C trust at the *meet of the projected grants*, and only if all three embeddings are present and signed. Systems that model federation as pairwise trust with transitive delegation will, on first contact with a policy lattice that differs in order structure on any delegated axis, silently widen scope at the intermediate hop. The widening is not visible in logs (every hop logged a valid signature), not visible in verifier consensus (all verifiers agree), and not visible in policy-hash audits (hashes match pinned values). It is visible only in the cross-lattice projection, which most federations do not compute. The durable guardrail is to make the reference-lattice embedding a first-class, signed, versioned artifact of every participating org, to record the embedding version in every emitted warrant alongside `policy_ref`, and to make the terminal executor's default disposition *clamp to meet* rather than *execute leaf* when any embedding is absent. The clamp is not a security control bolted on; it is the only disposition that is correct under the actual invariant, which is meet-composition, not chain-composition. ```python from dataclasses import dataclass from typing import Optional class LatticeEmbeddingError(RuntimeError): """Raised when a warrant chain cannot be projected into the federation reference lattice.""" @dataclass(frozen=True) class Warrant: issuer: str subject: str policy_ref: str embedding_ref: Optional[str] # signed projection into reference lattice; None = absent verbs: frozenset data_class_rank: int # in the issuer's local lattice ttl_seconds: int parent_hash: Optional[str] @dataclass(frozen=True) class ReferenceGrant: verbs: frozenset data_class_rank: int ttl_seconds: int def meet(self, other: "ReferenceGrant") -> "ReferenceGrant": return ReferenceGrant( verbs=self.verbs & other.verbs, data_class_rank=min(self.data_class_rank, other.data_class_rank), ttl_seconds=min(self.ttl_seconds, other.ttl_seconds), ) def dominates(self, other: "ReferenceGrant") -> bool: return ( other.verbs <= self.verbs and other.data_class_rank <= self.data_class_rank and other.ttl_seconds <= self.ttl_seconds ) def verify_chain(chain: list[Warrant]) -> ReferenceGrant: """ Verify a delegation chain by cross-lattice projection. Returns the meet of all projected ancestor grants, which is the strongest permission the chain actually licenses. Raises on uncheckable chains. """ if not chain: raise LatticeEmbeddingError("empty warrant chain") projected: list[ReferenceGrant] = [] for hop in chain: if hop.embedding_ref is None: raise LatticeEmbeddingError( f"hop issued by {hop.issuer} (policy {hop.policy_ref}) has no signed " f"reference-lattice embedding; chain is uncheckable and must be rejected" ) projected.append( ReferenceGrant( verbs=hop.verbs, data_class_rank=hop.data_class_rank, ttl_seconds=hop.ttl_seconds, ) ) root = projected[0] for i, grant in enumerate(projected[1:], start=1): # Every descendant must be dominated by its immediate ancestor in the # REFERENCE lattice, not the issuer's local lattice. if not projected[i - 1].dominates(grant): raise LatticeEmbeddingError( f"attenuation violation at hop {i}: grant {grant} not dominated by " f"ancestor {projected[i - 1]} in reference lattice " f"(local checks passed but cross-lattice projection widened scope)" ) leaf_meet = root for grant in projected[1:]: leaf_meet = leaf_meet.meet(grant) # Caller must execute leaf_meet, never projected[-1] as-issued. return leaf_meet ```