# When must an instance reject a delegated Agent Card whose issuer chain validates but whose capability scope was narrowed by an intermediate hop **Date of Record:** 2026 November 28 **Scope:** Applies to cross-organization agent trust federation where Agent Cards are signed, chained through delegation, and exchanged as Verifiable Presentations (VPs) before capability invocation. Does not apply to single-org intra-tenant trust or to bearer-token-only MCP transports without card signing. ## Core Distinction The failure mode here is not signature forgery and not an expired credential. It is **scope attenuation that is cryptographically valid but semantically under-specified at the terminal hop**. In a signed Agent Card delegation chain, each hop may legitimately narrow the capability scope it re-delegates (attenuation is a feature, not a bug). The verifier at the terminal hop validates every signature, confirms the chain is unbroken, and checks that the requested capability is a subset of the presented scope. All of that passes. What breaks is the assumption that "subset of presented scope" equals "authorized to act." An intermediate hop can narrow scope in a way that is *signed correctly* yet *drops a constraint the origin issuer attached out-of-band*—for example, a rate ceiling, a data-residency tag, or a "no sub-delegation to org X" clause that lived in the origin card's `constraints` field but was not carried forward into the re-signed card's scope object. The terminal verifier sees a smaller scope and treats smaller as safer. It is not safer; it is *incomplete*, and the missing constraint was the one that mattered. The distinction that governs everything below: **attenuation must be monotone over the full constraint lattice, not merely over the capability set.** A child card that drops a constraint is not attenuated—it is widened in the dimension that was dropped. Signature validity says nothing about this because the dropping hop signs its own narrowed card honestly. ## What Was Observed A three-hop federation: origin org A issues a root Agent Card for agent `A:planner` with scope `{tool: search, tool: summarize}` and a constraint `max_delegation_depth: 1` plus `data_residency: EU`. Org A delegates to org B's `B:researcher`, re-signing a card whose scope is `{tool: search}`. The B card's `constraints` object is present but empty—B's card-issuing service copied only the `scope` field and reconstructed `constraints` from its own policy defaults, which had no residency rule. B delegates to org C's `C:fetcher`. C's verifier receives a VP containing the A→B and B→C cards. It validates: A's signature over the A→B link, B's signature over the B→C card, chain unbroken, `tool: search` ⊆ B's scope ⊆ A's scope. It checks `max_delegation_depth`—but the field is absent from the B→C card because B never propagated it, so C's verifier falls back to its local default of `3`. Depth check passes. Residency check: no `data_residency` in the presented constraints, so C's verifier treats it as unconstrained. `C:fetcher` then executes a search that routes through a US-region index. No signature was forged. No scope was exceeded in the capability dimension. The violation is entirely in the dropped-constraint dimension, and it is invisible to any check that only compares capability sets. The trace: `A.constraints = {depth:1, residency:EU}` → `B.constraints = {}` (field reconstructed, not copied) → `C.sees = {}` → `C.defaults = {depth:3}` → depth and residency both silently widened. The chain validated at every hop. The failure surfaced only in an audit replay that compared the *origin* card against the *terminal* execution context, a comparison the runtime never performed. ## Condition of Validity The invariant that must hold for cross-org federation to be sound: > For every constraint `k` present in any ancestor card, the terminal card MUST either carry `k` with a value at least as restrictive, or carry an explicit `k: waived_by=` signed by a hop whose own scope permitted waiver. Absence of `k` is a widening, never a default. This is only checkable if the verifier reconstructs the **full constraint lattice** by walking the entire presented chain back to the root, not by reading the terminal card in isolation. A verifier that inspects only the leaf card cannot distinguish "constraint never existed" from "constraint was dropped upstream." Both look like absence. Two preconditions make the invariant enforceable: (1) every card in the VP must include a `parent_digest` binding it to the exact bytes of its parent card, so the verifier can prove it has the complete chain and not a truncated one; (2) constraint keys must be drawn from a closed, versioned registry, because an open key space lets a hop "drop" a constraint by renaming it. Without (1), a malicious hop presents a two-hop chain and hides the origin card entirely; without (2), attenuation is unprovable. ## Decision Boundary The verifier must reject—not warn, not default—when any of the following holds at the terminal hop: - A constraint key exists in an ancestor but is absent in the leaf, and no signed `waived_by` covers it. - The chain cannot be walked to a self-signed root (truncation), even if every presented link validates. - A constraint value in the leaf is *less* restrictive than an ancestor's on the same key (e.g., depth `3` under an ancestor depth `1`). - A `waived_by` signature comes from a hop that did not itself hold waiver authority in its own card. The boundary is sharp: **capability-subset checks are necessary and insufficient.** Passing them tells you the leaf cannot do more *tools* than the root. It tells you nothing about whether the leaf can do those tools under *looser conditions*. The decision to proceed requires lattice monotonicity, and lattice monotonicity requires full-chain reconstruction. Conversely, do not over-reject: a leaf that carries a *stricter* value on every ancestor key, plus its own additional constraints, is a valid attenuation and must be admitted. The test is per-key dominance, not key-set equality. ## Operational Effect Verifiers that check only the leaf card will admit dropped-constraint delegations at a rate proportional to how often intermediate hops reconstruct rather than copy their `constraints` object—which, in practice, is the default behavior of most card-issuing services, since they treat constraints as local policy rather than inherited state. The failure is silent and passes every signature check, so it is caught only by post-hoc replay against origin cards. The guardrail is a **lattice-walk verifier** that treats the presented VP as a proof obligation over the whole chain: reconstruct ancestor constraints, assert per-key dominance at the leaf, and require signed waivers for any drop. This converts an invisible widening into a hard admission failure. The cost is that every verification now walks the full chain and consults the constraint registry—but that cost is the price of the invariant, and skipping it means the leaf card's apparent safety is an artifact of missing information rather than a property of the delegation. ```python from dataclasses import dataclass, field from typing import Optional class ScopeAttenuationError(RuntimeError): """Raised when a delegated Agent Card widens or drops an ancestor constraint.""" pass @dataclass class AgentCard: issuer: str parent_digest: Optional[str] scope: set[str] constraints: dict[str, object] = field(default_factory=dict) waived_by: dict[str, str] = field(default_factory=dict) # key -> hop issuer RESTRICTIVENESS = {"max_delegation_depth": lambda a, b: b <= a, "data_residency": lambda a, b: b == a} def verify_chain(chain: list[AgentCard], requested_tool: str) -> None: if not chain or chain[0].parent_digest is not None: raise ScopeAttenuationError("chain does not terminate at a self-signed root") for i in range(1, len(chain)): if chain[i].parent_digest is None: raise ScopeAttenuationError(f"hop {chain[i].issuer} has no parent binding (truncated chain)") leaf = chain[-1] if requested_tool not in leaf.scope: raise ScopeAttenuationError(f"tool {requested_tool!r} not in leaf scope") inherited: dict[str, object] = {} for card in chain: for key, val in card.constraints.items(): inherited.setdefault(key, val) for key, origin_val in inherited.items(): leaf_val = leaf.constraints.get(key) if leaf_val is None: if key in leaf.waived_by: continue raise ScopeAttenuationError( f"constraint {key!r} present in ancestor but dropped at leaf with no signed waiver" ) check = RESTRICTIVENESS.get(key) if check is None: raise ScopeAttenuationError(f"constraint {key!r} not in closed registry; attenuation unprovable") if not check(origin_val, leaf_val): raise ScopeAttenuationError( f"constraint {key!r} widened: ancestor={origin_val!r} leaf={leaf_val!r}" ) ```