# What structural signals indicate a delegated-warrant replay window in cross-org signed agent manifests **Date of Record:** 2026 November 26 **Scope:** Applies to agent-to-agent trust established by signed manifests (Ed25519/JWS) where a *delegating* org issues a warrant to a *delegate* agent that later presents it to a third-party *verifying* org across MCP/A2A handoffs. Does not apply to single-org manifest pinning or to manifests re-fetched and re-verified on every call within one trust boundary. ## Core Distinction The naive model treats a signed agent manifest as a bearer credential: signature valid → trust granted. The failure is that a manifest is a *time-bounded warrant with a delegation chain*, and the verifier's clock, the issuer's `nbf`/`exp`, and the delegate's replay of a previously-authorized `(manifest, task_scope, nonce)` tuple are three independent axes. Trust federation breaks not when the signature is wrong, but when the verifier accepts a structurally valid warrant whose *delegation chain has been replayed* against a scope the original issuer never intended for this second presentation. The non-obvious signal: a replayed warrant is byte-identical to a fresh one. The only structural evidence lives in the *chain topology* — the `delegated_by` link, the `aud` (audience) binding, and whether the verifier's org appears in the manifest's `sub_delegation` allow-list at the depth the delegate is actually operating. ## What Was Observed A delegate agent `agent://beta/researcher` held a manifest signed by `org://alpha` with: - `iss: org://alpha`, `sub: agent://beta/researcher` - `aud: [org://gamma]` (gamma is the intended verifier) - `scope: read:dataset:q3` - `exp: T+3600`, `nbf: T` - `delegation_depth: 1`, `may_redelegate: false` - `jti: 0x9f...` (unique warrant id) The delegate, mid-task, hit a tool-call failure against gamma and fell back to a *second* verifier `org://delta` that beta had a pre-existing peer relationship with. Beta presented the **same signed manifest bytes** to delta. Delta's verifier checked: signature ✓, `exp` not passed ✓, `sub` matches presented agent identity ✓ — and granted `read:dataset:q3`. The structural signals that should have blocked this, and were present in the manifest but unread: 1. **`aud` mismatch.** Delta is not in `aud`. The manifest was never issued for delta. A correct verifier rejects on audience binding before any signature work. 2. **`may_redelegate: false` + `delegation_depth: 1`.** Beta presented a depth-1 warrant as if it were a root warrant to a new verifier. The chain topology says "alpha → beta, terminal." Presenting to delta is an implicit redelegation of *audience*, which the flag forbids. 3. **`jti` reuse across verifiers.** The same `jti` was consumed at gamma (a partial call that failed at the tool layer but *succeeded* at the trust layer) and re-presented at delta. Without a cross-verifier `jti` ledger, delta cannot see gamma's consumption. The verifier that "worked" did so because it checked the cryptographic invariant (signature) and ignored the *authorization topology* invariant (audience + redelegation + replay ledger). ## Condition of Validity The manifest-as-bearer model is valid **only** when all of the following hold simultaneously: - The verifier org appears in `aud` for the exact `scope` being exercised. - `delegation_depth` at presentation equals `delegation_depth` at issuance minus any hops already traversed, and `may_redelegate` is `true` if hops > 0. - The `jti` has not been consumed by *any* verifier in the federation's shared ledger within the warrant's `[nbf, exp]` window. - The delegate's presented identity (`sub`) matches the transport-layer authenticated identity (mTLS SAN or A2A agent card thumbprint), not merely a string claim in the manifest. Drop any one and the warrant is structurally valid but operationally forged — a *topology forgery*, invisible to signature verification. ## Decision Boundary The boundary is between **cryptographic acceptance** and **topological acceptance**. A verifier must compute both and AND them: - Cryptographic: signature verifies against issuer's published key, `exp`/`nbf` within skew, `jti` well-formed. - Topological: `aud` contains verifier, delegation depth consistent with hop count, `may_redelegate` permits the traversal, `jti` absent from shared consumption ledger, `sub` bound to transport identity. The failure mode is a verifier that implements only the first predicate and treats the second as "policy" rather than as a hard precondition. In federation, the second predicate *is* the security boundary; the signature only proves the issuer said something, not that the issuer authorized *this* verifier for *this* scope at *this* depth. Replay across verifiers is the sharp edge: because `jti` is per-warrant and verifiers are per-org, a warrant consumed at gamma and replayed at delta passes every local check. The invariant required is a **federation-wide `jti` consumption set** with a bounded TTL equal to the maximum `exp` window, or — where no shared ledger exists — an audience-bound nonce that makes the manifest unusable outside its `aud`. ## Operational Effect When the topological predicate is enforced, the delegate's fallback path fails closed: beta cannot silently pivot to delta with alpha's warrant. The correct recovery is for beta to request a *new* warrant from alpha with `aud: [org://delta]`, which forces alpha to re-evaluate whether delta should see `read:dataset:q3` — restoring the issuer as the authority over audience, not the delegate. The cost is one extra round-trip on fallback; the benefit is that a compromised or confused delegate cannot expand its own trust surface by replaying a valid warrant against an unintended verifier. Verifiers that skip the predicate appear to "just work" in single-verifier tests and fail only under multi-verifier federation — which is exactly the condition the manifest format was designed for. ```python from dataclasses import dataclass from typing import FrozenSet class WarrantTopologyError(RuntimeError): """Raised when a signed manifest is cryptographically valid but topologically unauthorized for the presenting verifier.""" @dataclass(frozen=True) class Manifest: iss: str sub: str aud: FrozenSet[str] scope: str jti: str delegation_depth: int may_redelegate: bool nbf: int exp: int def verify_warrant( manifest: Manifest, verifier_org: str, presented_identity: str, transport_identity: str, hops_traversed: int, consumed_jti_ledger: FrozenSet[str], now: int, clock_skew: int = 30, ) -> None: # Cryptographic predicate (assumed already checked upstream for signature). if not (manifest.nbf - clock_skew <= now <= manifest.exp + clock_skew): raise WarrantTopologyError( f"warrant {manifest.jti} outside validity window" ) # Topological predicate — the federation boundary. if verifier_org not in manifest.aud: raise WarrantTopologyError( f"audience mismatch: verifier {verifier_org} not in aud={set(manifest.aud)} " f"for jti={manifest.jti}; delegate attempted cross-verifier replay" ) if presented_identity != transport_identity: raise WarrantTopologyError( f"sub/transport identity divergence: manifest claims {presented_identity}, " f"transport authenticates {transport_identity}" ) if hops_traversed > 0 and not manifest.may_redelegate: raise WarrantTopologyError( f"redelegation forbidden: may_redelegate=false but hops_traversed={hops_traversed} " f"for jti={manifest.jti}" ) if manifest.delegation_depth - hops_traversed < 0: raise WarrantTopologyError( f"delegation depth exhausted: depth={manifest.delegation_depth}, " f"hops={hops_traversed}" ) if manifest.jti in consumed_jti_ledger: raise WarrantTopologyError( f"jti replay: {manifest.jti} already consumed in federation ledger; " f"refusing second presentation at {verifier_org}" ) ```