# What structural signals indicate trust-broker attestation drift during cross-org capability exchange in federated agent meshes **Date of Record:** 2026 November 24 **Scope:** Applies to federated multi-agent systems where agent A in org X invokes agent B in org Y through a trust broker that mints scoped capability warrants from policy predicates. Does not apply to single-tenant meshes with a shared control plane, nor to stateless RPC where every call re-derives authorization from scratch. ## Core Distinction The failure mode is not "the broker rejected a valid request" (fail-closed, loud, recoverable) nor "the broker admitted an invalid request" (fail-open, loud, security incident). It is **attestation drift**: the broker admitted a request that was valid *at the instant of warrant minting* but whose backing policy predicate silently changed semantics between mint and consumption, so the consuming agent executes under a warrant that no longer corresponds to any live policy in the issuing org. The warrant is cryptographically intact, the signature verifies, the TTL has not expired — and yet the authorization it encodes is orphaned. This is a continuity invariant failure, not an authentication failure, and every standard verification gate passes. The distinction that matters operationally: authentication failures are detected by the verifier. Attestation drift is detected only by the *issuer*, and only if the issuer retains a post-hoc audit path back to the mint event. Most federations do not, because the broker is designed to be a stateless minting oracle for latency reasons. ## What Was Observed A three-org federation (X = orchestrator, Y = trust broker + policy owner, Z = tool executor). Agent `X.orchestrator` requests capability `z:db.read` scoped to a dataset. Broker `Y` evaluates policy predicate `P_read_v7` and mints a warrant with `scope={dataset: "catalog-prod", ops: ["read"], max_rows: 10000}`, TTL 900s, signed by `Y.broker.key`. Two things then happen concurrently: 1. Org Y's policy team deploys `P_read_v8`, which reclassifies `catalog-prod` from tier-2 to tier-3 and *narrows* the admissible scope to `max_rows: 1000` and forbids `ops: ["read"]` outside business hours. The policy store is versioned; `P_read_v7` is marked `superseded` but remains resolvable for audit. 2. `X.orchestrator` retries a failed sub-task (a prior tool call timed out on the Z side) and re-presents the *original, still-valid* warrant to `Z.executor`. `Z.executor` validates: signature against `Y.broker.key` ✓, TTL not expired ✓, scope includes requested op ✓. It executes a 9,800-row read. No error surfaces anywhere. The read is logged as authorized. The violation is only visible if someone later joins the Z execution log against the Y policy-supersession timeline and notices the warrant's mint-time predicate version (`v7`) no longer matches the live predicate (`v8`) at execution time. The structural signal that this had occurred was not an error. It was three correlated anomalies in the audit stream: - **Warrant-age / predicate-age divergence.** Warrants older than ~120s were being consumed at 4× the rate of fresh mints, because the retry path reused warrants while the happy path re-minted. The broker's mint rate dropped while consumption stayed flat — a gap that, in a healthy federation, should never open. - **Version-skew in the join key.** The Z-side execution log recorded `warrant_id` but not `predicate_version`. The Y-side mint log recorded both. The join was reconstructible only because `warrant_id` happened to be a deterministic hash of `(predicate_version, scope, nonce)`. Had the broker used a random UUID, the drift would have been permanently unobservable. - **Retry-path asymmetry.** Every drifted execution traced to a retry after a downstream timeout, never to a first-attempt call. The retry handler re-used the cached warrant because re-minting cost a 180ms round trip to Y and the retry budget was 200ms. ## Condition of Validity The drift is possible only when all four of the following hold simultaneously. Remove any one and the failure is bounded: 1. **Warrant TTL exceeds policy propagation latency.** If TTL ≤ the time for a supersession to reach every verifier, a stale warrant cannot outlive its predicate. Here TTL was 900s and propagation was ~3s — a 300× margin of exposure. 2. **Warrants are bearer tokens, not bound to a live predicate resolution.** The verifier checks signature and TTL but does not re-resolve the predicate against the issuer's live policy store. Re-resolution would catch the supersession; the federation skipped it to avoid a synchronous dependency on Y during every Z execution. 3. **Retry paths cache and re-present warrants rather than re-minting.** This is the trigger condition. Without warrant reuse on retry, the window closes because every execution is preceded by a fresh mint against live policy. 4. **The verifier's audit record omits the predicate version.** This does not cause the drift but determines whether it is *detectable after the fact*. Omitting it converts a recoverable incident into an invisible one. The invariant that must hold for the federation to be sound: **for every execution, the predicate version embedded in the consumed warrant must equal the live predicate version at the issuer at consumption time, OR the warrant must carry an explicit `pinned_policy_version` field and the issuer must honor pinned versions for the warrant's full TTL.** The second disjunct is the practical one — it converts drift into a deliberate, auditable pin rather than an accident. ## Decision Boundary The boundary is not "TTL short vs. long." It is **whether the warrant's authorization semantics are frozen at mint or tracked live.** Two coherent designs exist, and the failure occurs only when a system mixes them: - **Frozen-warrant design:** the warrant is a snapshot; the issuer commits to honoring the pinned predicate version for the full TTL, and supersession does not retroactively narrow live warrants. Sound, but requires the issuer to run parallel policy versions and accept that a narrowing takes effect only after the longest outstanding TTL. Choose this when execution latency is high and re-resolution is expensive. - **Live-warrant design:** the warrant is a pointer; the verifier re-resolves the predicate at consumption (or the warrant carries a short TTL bounded by propagation latency). Sound, but requires a synchronous or near-synchronous dependency on the issuer at execution time. Choose this when policy changes are frequent or high-stakes. The unsound configuration — which is what most federations ship — is a **frozen warrant with live-policy expectations**: the warrant is minted as a snapshot, the issuer's policy team assumes supersession takes effect immediately, and no one has written down which semantics the verifier is entitled to rely on. The decision boundary is crossed the moment a policy owner says "this takes effect now" while the broker's TTL says "in 15 minutes." Concretely: if `policy_propagation_latency + execution_p99 > warrant_ttl`, you are in the frozen regime whether you intended to be or not, and you must document it and pin versions explicitly. If the inequality is reversed, you are in the live regime and must re-resolve. There is no third regime, and pretending there is produces exactly the silent drift above. ## Operational Effect Downstream consequences, in order of when they bite: 1. **Silent over-permissioning during policy tightening.** The dangerous direction is always narrowing, because widening is caught by the next legitimate request failing and the team noticing. A narrowing deployed at 14:00 does not take effect for in-flight warrants until 14:15, and the executions in that window are logged as authorized. If the narrowing was a response to an incident, the incident's blast radius extends by exactly the TTL. 2. **Audit non-reconstructibility.** If the verifier log lacks `predicate_version`, the drift is unprovable after the fact. The remediation is not "log more" but "make `warrant_id` a deterministic function of `(predicate_version, scope, nonce)`" so the join is reconstructible from the issuer's mint log alone. This is a one-line change with outsized forensic value. 3. **Retry amplification.** Warrant reuse on retry means a single drifted warrant can authorize N executions, not one. The retry budget is a multiplier on the exposure window. Bound it: a retry must either re-mint or carry an explicit `reuse_reason` that the issuer can audit. 4. **Cross-org blame deadlock.** When the drift is discovered, org Z says "we verified the signature, the warrant was valid," and org Y says "the policy was superseded, the warrant should not have been honored." Both are correct under their own semantics. The resolution requires a written interop contract specifying which regime is in force — which is exactly the artifact that was missing. Without it, the federation cannot even agree on whether an incident occurred. The guardrail that bounds all four: **a warrant must carry `predicate_version` and `pinned_until`, the verifier must log both, and the issuer must expose a `resolve_warrant(warrant_id) -> live_predicate_version` endpoint that the verifier calls asynchronously (not on the hot path) to detect drift within one propagation cycle.** Drift detection becomes a background reconciliation, not a synchronous gate — preserving the latency that motivated the frozen design while restoring the continuity invariant. ```python import hashlib import time from dataclasses import dataclass class AttestationDriftError(RuntimeError): """Raised when a consumed warrant's pinned predicate version no longer matches the issuer's live predicate version and no pin is honored.""" pass @dataclass(frozen=True) class Warrant: warrant_id: str predicate_version: str pinned_until: float # epoch seconds; issuer commits to this version until here ttl_expires: float scope: dict signature_ok: bool def mint_warrant(predicate_version: str, scope: dict, ttl_s: int, now: float) -> Warrant: nonce = hashlib.sha256(f"{predicate_version}|{sorted(scope.items())}|{now}".encode()).hexdigest()[:16] return Warrant( warrant_id=f"w-{predicate_version}-{nonce}", predicate_version=predicate_version, pinned_until=now + ttl_s, ttl_expires=now + ttl_s, scope=scope, signature_ok=True, ) def verify_and_consume(w: Warrant, live_predicate_version: str, now: float) -> None: # Standard gates — all pass even under drift. if not w.signature_ok: raise AttestationDriftError(f"warrant {w.warrant_id}: signature invalid") if now > w.ttl_expires: raise AttestationDriftError(f"warrant {w.warrant_id}: expired") # The continuity invariant: the issuer must either honor the pin, or the # pinned version must equal the live version. Anything else is drift. pin_honored = now <= w.pinned_until version_matches = w.predicate_version == live_predicate_version if not (pin_honored or version_matches): raise AttestationDriftError( f"warrant {w.warrant_id}: pinned predicate {w.predicate_version} " f"superseded by {live_predicate_version} at t={now:.0f}, " f"pin expired at t={w.pinned_until:.0f}; authorization is orphaned" ) def reconcile_audit(mint_log: list[Warrant], exec_log: list[dict], live_versions: dict[str, str]) -> list[str]: """Background reconciliation: returns warrant_ids consumed under drift. Relies on warrant_id being a deterministic function of predicate_version.""" drifted = [] for entry in exec_log: w = next((m for m in mint_log if m.warrant_id == entry["warrant_id"]), None) if w is None: drifted.append(entry["warrant_id"]) # unjoinable — also a failure continue live = live_versions.get(w.predicate_version) if live is not None and live != w.predicate_version and entry["consumed_at"] > w.pinned_until: drifted.append(w.warrant_id) return drifted if __name__ == "__main__": now = time.time() w = mint_warrant("P_read_v7", {"dataset": "catalog-prod", "ops": ["read"]}, ttl_s=900, now=now) # Policy team ships v8 at now+3s; retry re-presents the old warrant at now+600s. verify_and_consume(w, live_predicate_version="P_read_v8", now=now + 600) # pin still honored verify_and_consume(w, live_predicate_version="P_read_v8", now=now + 950) # raises: pin expired, version stale ```