# Under what conditions must an instance reject a transitive A2A v1.0 capability attestation when the attesting org's reputation score crosses a trust-anchor boundary mid-handoff **Date of Record:** 2026 November 26 **Scope:** Applies to A2A v1.0 task handoffs where a receiving agent (the "verifier") accepts a capability attestation that was issued by a third-party org (the "attestor") on behalf of the sending agent, and where the attestor's reputation score is itself a live, mutable input to the acceptance decision. Does not apply to direct (non-transitive) attestations where the sender is the attestor, nor to handoffs that pin a signed warrant to a fixed, pre-fetched reputation snapshot. ## Core Distinction The failure is not "the reputation score was low." It is that the acceptance predicate is evaluated against a **moving target** at two different moments — once when the sending agent's warrant was minted, and again when the verifier validates it — and A2A v1.0 does not require the attestor to carry a *reputation epoch* alongside the attestation. The result is a **time-of-check / time-of-use divergence on a trust anchor**: the attestation was valid at mint time under epoch *e*, but the verifier reads the attestor's reputation at epoch *e+1* and either (a) wrongly rejects a still-valid warrant, or (b) — the dangerous case — wrongly accepts a warrant whose issuer has since fallen below the trust-anchor floor, because the verifier's local reputation cache is *stale in the permissive direction*. This is distinct from ordinary capability-schema negotiation mismatch. The schema matched. The signature verified. The warrant chain was structurally complete. What broke is that "reputation ≥ threshold" is a *continuous predicate over a discrete, eventually-consistent signal*, and the verifier treated it as a stable property of the attestor's identity rather than a property of the attestor's identity *at a specific epoch*. ## What Was Observed A three-org topology: `org-alpha` (originator agent `A1`), `org-beta` (attestor, holds a long-lived signing key and an A2A reputation feed), and `org-gamma` (verifier agent `V1`). `A1` requests a task handoff to `V1` that requires capability `payments.settle`. `A1` does not hold that capability directly; it presents a transitive attestation `beta→alpha: payments.settle`, signed by `org-beta` at epoch `e=4412`, when `org-beta`'s reputation was `0.81` (above the `0.75` trust-anchor floor that `org-gamma` enforces for third-party attestors). `V1` receives the `Task` envelope with the attestation embedded. Between receipt and validation, `V1`'s reputation poller refreshes `org-beta`'s score from a shared feed. The feed has ~90s propagation lag and, critically, `org-beta` suffered a slashing event at `e=4413` (a downstream auditor swarm found `org-beta` had over-attested `payments.settle` for `org-delta`, whose agent subsequently double-settled). At `e=4413` `org-beta`'s score is `0.69`. But `V1`'s cache had been populated at `e=4409` with `0.83` and the refresh had not yet landed when `V1` ran its acceptance check at wall-clock `t+47s`. `V1` accepted. `A1` executed `payments.settle` under a warrant whose attestor was, at execution time, below the trust-anchor floor. The trace, reconstructed: ``` e=4409 V1 reputation cache populated: beta=0.83 e=4412 beta signs attestation(beta->alpha, payments.settle), embeds epoch=4412, no reputation field t+0s A1 -> V1 Task envelope, attestation attached t+12s beta slashing event lands in feed (e=4413, beta=0.69) t+47s V1 acceptance check: reads cache beta=0.83 >= 0.75 -> ACCEPT t+48s V1 dispatches settlement tool call t+61s V1 cache refresh lands: beta=0.69 t+62s V1 post-hoc audit logs "attestor below floor" — too late, settlement committed ``` The non-obvious part: **the attestation was correctly signed, correctly scoped, and correctly chained.** A structural validator passes it. The failure lives entirely in the temporal coupling between the mutable reputation signal and the immutable warrant, and A2A v1.0's `AgentCard` / `Task` schema has no required field for "the reputation epoch at which this attestation should be evaluated." ## Condition of Validity A transitive attestation is only safe to accept if the verifier can establish **reputation-epoch monotonicity**: the reputation value it reads is at an epoch `≥` the epoch at which the attestation was minted, *and* the verifier's read is not stale in the permissive direction relative to the feed's authoritative slashing state. Concretely, acceptance requires all of: 1. The attestation carries a `minted_epoch` (or equivalent signed timestamp) — otherwise the verifier cannot bound the staleness window at all, and must reject. 2. The verifier's reputation source exposes a `feed_epoch` or `last_slash_epoch` it can compare against `minted_epoch`. If `last_slash_epoch > minted_epoch`, the attestation must be re-evaluated against the *post-slash* score, not the cached one. 3. The verifier's cache TTL is strictly less than the minimum time between a slashing event and its propagation to the verifier — otherwise the cache can serve a permissively-stale value across the acceptance window. If TTL cannot be bounded below propagation lag, the verifier must force a synchronous read at acceptance time, not a cached one. When any of these is unmet, the correct behavior is **fail-closed with a re-attestation request**, not acceptance on cached reputation. The invariant to hold is: *no capability-bearing side effect may be dispatched on the strength of a reputation read whose epoch is not provably ≥ the attestation's mint epoch and not provably post-dating the last known slashing event for that attestor.* ## Decision Boundary The boundary is sharp and asymmetric. On the **reject** side, a stale-but-permissive cache read is a silent integrity failure — the system proceeds, and the damage is only visible post-hoc. On the **accept** side, an over-conservative synchronous reputation read adds latency but is always safe. The decision rule the verifier must implement: - If `attestation.minted_epoch` is absent → reject (cannot bound staleness). - If `cache.feed_epoch >= attestation.minted_epoch` **and** `cache.last_slash_epoch <= attestation.minted_epoch` → accept on cache. - If `cache.feed_epoch < attestation.minted_epoch` **or** `cache.last_slash_epoch > attestation.minted_epoch` → the cache is permissively stale; force synchronous read, and if the synchronous read's `feed_epoch` still lags `minted_epoch`, reject with `StaleReputationAnchor` and request re-attestation at current epoch. - If the synchronous read returns a score below the floor → reject with `AttestorBelowFloorPostSlash`. The subtle case is the third bullet: the cache is stale but the *authoritative* feed has not yet caught up either. Here the verifier cannot distinguish "attestor is fine, feed is slow" from "attestor was just slashed, feed is slow." The only safe move is rejection — the verifier must not treat feed lag as evidence of innocence. This is the exact point where naive implementations accept, because they conflate "no slashing event visible" with "no slashing event occurred." ## Operational Effect The bounded, correct implementation converts a silent integrity failure into a bounded-latency rejection with a clear remediation path (re-attest at current epoch). The cost is that handoffs near a slashing event incur a synchronous reputation round-trip and, on feed lag, a rejection-and-retry cycle. The benefit is that no capability-bearing side effect ever dispatches on a warrant whose attestor has fallen below the trust-anchor floor at execution time. The failure mode to design *out* is the permissive-stale-cache acceptance; the failure mode to design *in* is a clean, attributable `StaleReputationAnchor` rejection that the orchestrator can retry against a fresh attestation rather than a silently-poisoned warrant. ```python from dataclasses import dataclass from typing import Optional class ReputationAnchorError(RuntimeError): """Base for reputation-epoch boundary violations during A2A attestation validation.""" class StaleReputationAnchor(ReputationAnchorError): """Verifier's reputation read cannot be proven >= attestation mint epoch and post-slash.""" class AttestorBelowFloorPostSlash(ReputationAnchorError): """Attestor's authoritative post-slash score is below the verifier's trust-anchor floor.""" @dataclass(frozen=True) class Attestation: attestor_org: str capability: str minted_epoch: Optional[int] # None => unboundable staleness @dataclass(frozen=True) class ReputationRead: org: str score: float feed_epoch: int last_slash_epoch: int def validate_transitive_attestation( attestation: Attestation, cached: ReputationRead, synchronous_reader, # callable(org) -> ReputationRead trust_anchor_floor: float, ) -> None: # 1. Cannot bound staleness without a mint epoch. if attestation.minted_epoch is None: raise StaleReputationAnchor( f"attestation from {attestation.attestor_org} lacks minted_epoch; " f"cannot bound reputation staleness for capability {attestation.capability}" ) mint = attestation.minted_epoch # 2. Cache is usable only if it is at-or-after mint AND has seen any slash at-or-before mint. cache_usable = ( cached.feed_epoch >= mint and cached.last_slash_epoch <= mint ) if cache_usable: if cached.score < trust_anchor_floor: raise AttestorBelowFloorPostSlash( f"cached score {cached.score} for {cached.org} below floor {trust_anchor_floor} " f"at feed_epoch {cached.feed_epoch}" ) return # 3. Cache is permissively stale (feed lags mint, or a slash post-dates mint). # Force a synchronous read; do NOT treat feed lag as evidence of innocence. fresh = synchronous_reader(attestation.attestor_org) if fresh.feed_epoch < mint: raise StaleReputationAnchor( f"authoritative feed_epoch {fresh.feed_epoch} still lags minted_epoch {mint} " f"for {fresh.org}; rejecting rather than assuming innocence under feed lag" ) if fresh.last_slash_epoch > mint and fresh.score < trust_anchor_floor: raise AttestorBelowFloorPostSlash( f"post-slash score {fresh.score} for {fresh.org} below floor {trust_anchor_floor} " f"(slash at epoch {fresh.last_slash_epoch} > mint {mint})" ) if fresh.score < trust_anchor_floor: raise AttestorBelowFloorPostSlash( f"fresh score {fresh.score} for {fresh.org} below floor {trust_anchor_floor}" ) ```