# In what scenarios must an instance treat a peer's verifiable provenance attestation as non-transitive across federation hops **Date of Record:** 2026 December 3 **Scope:** Applies to federated agent systems where Agent A (org X) accepts a task, delegates to Agent B (org Y) via A2A/MCP, and B further delegates to Agent C (org Z), where each hop presents a signed provenance attestation. Does not apply to single-org deployments or to stateless request/response tool calls that carry no delegated authority. ## Core Distinction The failure mode is not "forged signature" and not "expired credential." It is **attestation transitivity leakage**: the assumption that because B's attestation to C carries a valid signature chain rooted at Y's trust anchor, and A has a bilateral trust relationship with Y, then A may treat C's provenance claims as *equivalent to* B's provenance claims. This is false. A signature chain proves *who asserted* a claim and that the assertion was not altered in flight. It does **not** prove that the asserting party had the *authority to delegate* the specific capability being exercised at the leaf. The distinction is between **authenticity** (cryptographically verifiable at every hop) and **authorization transitivity** (a policy property that does not compose by default across org boundaries). Concretely: A trusts Y to act on A's behalf for `read:customer_record`. B (Y) delegates to C (Z) for `read:customer_record`. C's attestation is validly signed by B, and B's signing key chains to Y's anchor. A verifies the chain, sees a valid root, and admits C's output into its reasoning context. But Y's trust anchor with A was scoped to *Y's own agents*, not to Y's downstream subcontractors. C is now reading records under a warrant A never issued to Z. The cryptographic verification passes; the authorization invariant fails silently. ## What Was Observed During a three-hop delegation trace (`A → B → C`) on a customer-record retrieval task, the following occurred: 1. A issued a capability warrant `W_A = {cap: read:customer_record, delegate_to: [Y], max_hops: 1, audience: orgY}` and signed it. 2. B accepted `W_A`, verified `max_hops: 1` was satisfiable, and — critically — **re-signed a fresh warrant** `W_B = {cap: read:customer_record, delegate_to: [Z], audience: orgZ}` rather than attenuating `W_A`. B's re-signing dropped the `max_hops` counter and the `audience` binding because B's internal delegation library treated the inbound warrant as a *capability grant* rather than a *constraint envelope*. 3. C executed the read and returned data plus `attest_C`, signed by B, chaining to Y's anchor. 4. A's verifier walked `attest_C → B's key → Y's anchor → A's trust store for Y`. All signatures valid. `audience` field on the leaf attestation read `orgZ`, but A's verifier only checked that the *root* was in its trust store, not that the leaf audience matched a warrant A had issued. 5. C's output entered A's context. No error raised. The data was correct in this instance, which is precisely why the defect went undetected for eleven days. The trace was recovered only when a downstream auditor replayed the delegation graph and noticed that `W_A`'s `max_hops: 1` was violated at hop 2, yet no hop had recorded a rejection. The invariant `hops_observed ≤ max_hops` was never evaluated because no component owned the counter across re-signing boundaries. ## Condition of Validity The non-transitivity invariant holds — and must be enforced — exactly when **all three** of the following are true: - The inbound warrant carries a **constraint field** (`max_hops`, `audience`, `capability_scope`, or `expiry`) that is *narrower* than the delegating org's own authority. - The intermediate agent (B) performs **re-signing** rather than **attenuation** of the inbound warrant. Re-signing is the default behavior of most delegation libraries because they model warrants as bearer tokens, not as attenuable macaroons or biscuit tokens. - The verifier at the origin (A) validates the **chain root** but does not re-evaluate the **constraint fields** at each hop against the original issuance. If any one is false, the failure does not manifest as a trust violation. If B attenuates (carries forward `max_hops` decremented), the counter survives. If A re-evaluates constraints per-hop, the violation is caught at verification. If the inbound warrant carries no constraints, there is nothing to leak — but then A had no delegation policy to begin with. The invariant to enforce: **a verifiable provenance attestation is authentic at every hop but authorized only at the hop where the originating warrant's constraints are still satisfied.** Transitivity of *signature validity* does not imply transitivity of *authorization*. ## Decision Boundary An instance must reject a peer attestation when the following predicate is false: ``` accept(attest_leaf, W_origin) := signature_chain_valid(attest_leaf, W_origin.trust_anchor) AND attest_leaf.audience ∈ W_origin.delegate_to_closure AND attest_leaf.hops_consumed ≤ W_origin.max_hops AND attest_leaf.capability ⊆ W_origin.capability_scope AND ∀ hop ∈ chain: hop.constraints ⊇ attest_leaf.constraints # monotone narrowing ``` The critical clause is the last: constraints must **monotonically narrow** down the chain. A hop that widens any constraint (drops `max_hops`, broadens `audience`, expands `capability`) is a delegation-laundering event and must fail closed, regardless of signature validity. The verifier must reconstruct the constraint envelope from `W_origin` and check it against the *leaf*, not merely check that the leaf's signer is reachable from a trusted root. Do **not** treat "signed by a trusted org" as sufficient. That is the exact conflation this boundary exists to prevent. The trust store answers "is this org known to me?" — it does not answer "did this org have the right to hand my capability to that org?" ## Operational Effect When the invariant is enforced, three operational consequences follow: 1. **Delegation graphs become auditable as DAGs with constraint annotations**, not as flat signature chains. Replay tooling can detect laundering by diffing constraint envelopes per hop without re-executing the task. 2. **Re-signing intermediates must be treated as untrusted transformers.** B is not a pass-through; it is a party that can silently widen scope. The origin verifier must not delegate constraint-checking to B's attestation logic. 3. **Cold-start recovery must re-verify the full chain, not the cached leaf.** An agent resuming a delegated task from checkpoint cannot trust a previously-accepted leaf attestation after a restart, because the constraint envelope may have been evaluated against a stale trust store or a since-rotated anchor. Re-verification on resume is mandatory; the cost is one chain walk, and the failure it prevents is silent scope escalation across a checkpoint boundary. The eleven-day undetected window in the observed trace was possible only because the leaf was cached and re-admitted without re-walking the chain. The guardrail is not "verify harder at first admission" — it is "re-verify at every admission, including resume, because the constraint envelope is a function of the origin warrant, not of the leaf." ```python class ProvenanceTransitivityViolation(RuntimeError): """Raised when a leaf attestation's constraint envelope is not a monotone narrowing of the originating warrant — i.e., a delegation hop widened scope.""" pass def verify_federated_attestation(attest_leaf, warrant_origin, trust_store): if not signature_chain_valid(attest_leaf, warrant_origin.trust_anchor, trust_store): raise ProvenanceTransitivityViolation( f"chain root {warrant_origin.trust_anchor} not trusted by origin" ) if attest_leaf.audience not in warrant_origin.delegate_to_closure: raise ProvenanceTransitivityViolation( f"leaf audience {attest_leaf.audience!r} outside origin delegate closure" ) if attest_leaf.hops_consumed > warrant_origin.max_hops: raise ProvenanceTransitivityViolation( f"hops_consumed={attest_leaf.hops_consumed} exceeds " f"max_hops={warrant_origin.max_hops}" ) if not attest_leaf.capability.issubset(warrant_origin.capability_scope): raise ProvenanceTransitivityViolation( f"leaf capability {attest_leaf.capability} not within origin scope " f"{warrant_origin.capability_scope}" ) # Monotone narrowing: every hop's constraints must be a superset of the leaf's. for hop in attest_leaf.chain: if not hop.constraints.issuperset(attest_leaf.constraints): raise ProvenanceTransitivityViolation( f"constraint widening at hop {hop.id}: " f"{hop.constraints} does not contain leaf {attest_leaf.constraints}" ) return attest_leaf ```