# In what scenarios must an instance reject a peer's signed Agent Card despite a valid signature chain **Date of Record:** 2026 November 22 **Scope:** Applies to cross-organizational agent discovery and trust brokering where an Agent Card (capability manifest + provenance attestation) is presented over A2A/MCP-style handshakes and verified via a signature chain rooted in a foreign trust anchor. Does not apply to intra-org cards under a single anchor, nor to cards whose provenance is established out-of-band by a human operator. ## Core Distinction A signature chain proves *who issued the bytes and that they were not altered*. It does not prove *that the issuer was entitled to assert the claims the bytes contain*. The failure mode this record isolates is **provenance-claim overreach**: a cryptographically valid Agent Card whose `capabilities`, `max_delegation_depth`, or `data_residency` fields were asserted by a signing key that is authorized to authenticate the agent's *identity* but was never authorized to *warrant its behavioral envelope*. Verification that stops at "chain validates to a trusted root" accepts an entitlement the root never granted. The distinction that matters operationally: **identity provenance** (key X belongs to agent A of org O) versus **capability provenance** (org O's governance authorized agent A to exercise capability C up to bound B). A single signature over the whole card conflates the two. When the verifying instance treats a valid identity signature as sufficient for capability claims, it grants the peer an authority surface that the peer's own governance layer never conferred. ## What Was Observed A verifying instance `V` (org β) received an Agent Card from `P` (org α) during an A2A task handoff. The card carried a three-hop chain: α-root → α-agent-issuer → P. Every signature validated; every certificate was unexpired; the root was in β's configured trust store with a `trust_scope` of `identity_only`. The card asserted: - `capabilities: ["file.read", "shell.exec"]` - `max_delegation_depth: 4` - `audience: ["*"]` `V` accepted the card and, on the strength of `max_delegation_depth: 4`, allowed `P` to re-delegate the task to a sub-agent `S` two hops downstream. `S` presented a derived card asserting `shell.exec`. `V` executed it. The break: α's root certificate carried a `nameConstraints`-style extension restricting it to identity assertions. The `capabilities` and `max_delegation_depth` fields had been populated by `α-agent-issuer` — a key permitted to sign *identity* cards but not *capability-warranting* cards. The card was internally consistent, correctly signed, and entirely unauthorized in its behavioral claims. No signature was forged. The failure was a **missing authorization predicate between the signed field and the signer's warrant**. A second observation compounded it: because `audience: ["*"]`, `V`'s acceptance of the card made it a *reusable warrant* — `S`'s derived card inherited `V`'s acceptance without `V` re-evaluating whether `S`'s provenance path crossed the capability-authorized segment of α's chain. The delegation depth bound was self-asserted by an unauthorized signer, so the only guardrail against unbounded re-delegation was a number the attacker-adjacent key controlled. ## Condition of Validity A signed Agent Card is only admissible for capability brokering when **all** of the following hold: 1. **Signer-warrant containment.** Every field the verifier will act on (`capabilities`, `max_delegation_depth`, `audience`, `data_residency`, `tool_scopes`) is covered by a signature whose signer certificate carries an explicit warrant for that field class — not merely a valid identity assertion. The warrant must be a signed, machine-checkable extension, not an out-of-band policy doc. 2. **Scope narrowing along the chain.** At each hop, the warrant set on the child certificate must be a subset of the parent's. A child that asserts a field class its parent was not warranted to assert is rejected regardless of signature validity. 3. **Audience binding.** `audience` must name the verifying instance (or a set containing it) explicitly; wildcard audience is treated as *no capability warrant* for any field beyond identity, because a wildcard cannot be scoped to the verifier's risk posture. 4. **Delegation-bound provenance.** `max_delegation_depth` is honored only if the warranting signer was itself authorized to set it; otherwise the effective depth is the minimum depth asserted anywhere along the chain, floored at 0 for sub-delegation. 5. **Replay binding.** The card carries a nonce and the verifier's challenge, and acceptance is recorded against that nonce so a downstream derived card cannot inherit acceptance without re-entering verification. The invariant: *a field is only as trustworthy as the weakest signer in its provenance path that was authorized to assert it.* Signature validity is necessary and nowhere near sufficient. ## Decision Boundary The verifier must reject the card — raising, not degrading — when the following predicate fails: ``` for each acted_field f in card: signer = last signer whose signature covers f warrant = signer.cert.warrants[f.field_class] if warrant is None: REJECT (capability provenance absent) if not warrant.covers(f.value): REJECT (value exceeds warrant) if not chain_subset_at_each_hop(f): REJECT (scope widening) if card.audience is wildcard and card asserts any non-identity field: REJECT (unscopable warrant) ``` Two boundaries are easy to get wrong: - **Degrade-vs-reject.** For *identity-only* fields (agent name, endpoint, public key), a valid identity signature is sufficient — degrade is acceptable. For *behavioral* fields, there is no safe degradation: a partially-trusted `shell.exec` is still `shell.exec`. The boundary is field-class, not confidence-level. - **Unknown field class.** A card asserting a field class the verifier's policy engine does not recognize must be rejected, not ignored. Ignoring it lets a peer smuggle a capability the verifier will later act on through a code path that reads the field without re-checking provenance. ## Operational Effect Without the warrant-containment check, cross-org trust brokering collapses into "any peer whose root you trust can assert any capability, and can re-delegate it arbitrarily deep." The blast radius is the full transitive closure of the trusted-root set, because a wildcard-audience capability card accepted at one hop becomes an inherited warrant for every downstream sub-agent. The self-asserted `max_delegation_depth` means the verifier's only bound on fan-out is a number the peer chose. With the check, the effective capability surface of a peer is the intersection of (a) what its chain's warrants actually cover and (b) the verifier's own policy — and re-delegation is bounded by the minimum warranted depth along the path, not the maximum asserted. The cost is that card issuance must carry per-field-class warrants, which pushes real work onto the issuing org's governance layer; that is the point. The verification-side guardrail is cheap and must be mandatory: reject on missing warrant, reject on wildcard audience for behavioral fields, and never let a derived card inherit acceptance without re-entering the predicate. ```python from dataclasses import dataclass, field from typing import Optional IDENTITY_FIELDS = {"agent_name", "endpoint", "public_key"} BEHAVIORAL_FIELDS = {"capabilities", "max_delegation_depth", "audience", "data_residency", "tool_scopes"} class CapabilityProvenanceError(RuntimeError): """Raised when a signed Agent Card asserts a behavioral field its signer was not warranted to assert.""" @dataclass class SignerCert: subject: str warrants: dict[str, Optional[object]] # field_class -> warrant object (None = identity-only) @dataclass class AgentCard: fields: dict[str, object] chain: list[SignerCert] # root first, leaf (card signer) last audience: list[str] nonce: str def verify_card(card: AgentCard, verifier_id: str, expected_nonce: str) -> None: if card.nonce != expected_nonce: raise CapabilityProvenanceError(f"replay binding failed: nonce {card.nonce!r} != {expected_nonce!r}") wildcard = "*" in card.audience if wildcard and any(f in BEHAVIORAL_FIELDS for f in card.fields): raise CapabilityProvenanceError("wildcard audience cannot warrant behavioral fields") if verifier_id not in card.audience and not wildcard: raise CapabilityProvenanceError(f"audience does not bind verifier {verifier_id!r}") leaf = card.chain[-1] for name, value in card.fields.items(): if name in IDENTITY_FIELDS: continue if name not in BEHAVIORAL_FIELDS: raise CapabilityProvenanceError(f"unknown field class {name!r} cannot be safely ignored") warrant = leaf.warrants.get(name) if warrant is None: raise CapabilityProvenanceError( f"signer {leaf.subject!r} holds no warrant for behavioral field {name!r}" ) if hasattr(warrant, "covers") and not warrant.covers(value): raise CapabilityProvenanceError( f"value {value!r} for {name!r} exceeds signer {leaf.subject!r} warrant" ) # scope narrowing: each hop's warrant set must be a subset of its parent's for parent, child in zip(card.chain, card.chain[1:]): extra = set(child.warrants) - set(parent.warrants) if extra: raise CapabilityProvenanceError( f"scope widening at hop {child.subject!r}: asserts {sorted(extra)} not warranted by {parent.subject!r}" ) # effective delegation depth is the minimum warranted along the path depths = [c.warrants.get("max_delegation_depth") for c in card.chain if "max_delegation_depth" in c.warrants] if depths: effective = min(d for d in depths if d is not None) if card.fields.get("max_delegation_depth", 0) > effective: raise CapabilityProvenanceError( f"asserted delegation depth {card.fields['max_delegation_depth']} exceeds warranted {effective}" ) ```