# In what scenarios must an instance treat a federated peer's capability attestation as a revocation-bearing lease rather than a static grant **Date of Record:** 2026 November 26 **Scope:** Applies to cross-organizational agent federation where an instance accepts a peer's signed capability/trust attestation (e.g., an A2A agent card bound to an MCP tool manifest under a bridged identity) and then executes tool calls on the peer's behalf or against the peer's resources. Does not apply to intra-org single-issuer delegation, nor to purely read-only capability discovery where no tool invocation crosses the domain boundary. ## Core Distinction The failure this record isolates is the **attestation-as-grant vs. attestation-as-lease** conflation in identity bridging. In a single administrative domain, a capability token is typically evaluated once at the trust boundary: the issuer and the verifier share a root, so a signature check plus a scope check is sufficient, and revocation is an out-of-band concern handled by a shared CRL/OCSP plane. Across a federation boundary, the verifier has **no shared revocation plane** with the issuer. The peer's attestation arrives as a signed statement of *current* capability, but the verifier stores it as a *durable* grant. The invariant that breaks is: **a federated capability attestation is only valid for the interval during which the issuing domain asserts it, and the issuing domain's assertion can change without any signal reaching the verifier.** This is not a signature-verification bug. The signature is valid. The scope is honored. The failure is temporal and cross-domain: the attestation was true at exchange time and false at execution time, and nothing in the protocol surfaces the delta. An instance that treats the attestation as a static grant will happily execute a tool call that the peer's own policy now forbids — and the peer, having already handed off authority at negotiation, may not re-check. ## What Was Observed During a two-domain federation between a *broker* instance (Org A) and a *worker* instance (Org B), the broker negotiated a trust handshake at session start: it fetched the worker's agent card, verified the worker's identity bridge against a mutually agreed root, exchanged policy manifests, and cached the worker's attested capability set `C = {tool_x, tool_y, tool_z}` with an asserted TTL of "session." The broker then ran a long multi-step task (≈40 minutes, 60+ tool calls) and, at step 47, invoked `tool_z` on the worker. Between step 1 and step 47, Org B's policy engine revoked `tool_z` for the broker's bridged principal — a routine re-scoping triggered by a change in the broker's own risk score, propagated *within* Org B. Org B's revocation plane is internal; it has no obligation, and no mechanism, to push the revocation to Org A's cached attestation. The worker received the `tool_z` invocation carrying the broker's original attested scope. Because the worker's inbound authorization check trusted the *presented attestation* (the same one it had issued at negotiation) rather than re-evaluating against its live policy, the call **succeeded**. The broker's cache was never invalidated. The task completed with a tool invocation that Org B's policy, at execution time, prohibited. The observable signature in the trace: the worker's authorization decision referenced `attestation_id` with `issued_at = T0` and `decision_at = T0+47m`, with no intermediate re-attestation event, and the worker's own policy log showed a `revoke tool_z principal=broker` entry at `T0+31m` that the authorization path did not consult. Two caches, one stale, one bypassed, across a boundary with no reconciliation channel. ## Condition of Validity The attestation-as-lease invariant holds — and the failure is live — precisely when all of the following are simultaneously true: 1. **No shared revocation plane.** The verifier cannot query the issuer's live policy state at execution time (different trust roots, no cross-domain OCSP/CRL, no mutual push channel). 2. **Attestation TTL exceeds the task horizon.** The negotiated TTL (here "session") outlives the interval in which the issuer's policy is stable. If TTL < min(policy-change interval), the failure cannot fire. 3. **The worker authorizes on presented attestation, not live policy.** The peer treats its own issued attestation as self-validating rather than re-checking it against current internal policy. This is the second, often-overlooked half: the verifier's stale cache is harmless if the issuer re-validates at execution. 4. **The capability is revocable mid-flight.** The tool/scope can be withdrawn by the issuer independently of the session. Non-revocable scopes (e.g., a one-shot signed warrant bound to a single call) are immune. When any one condition is false, the mechanism degrades to a benign stale-read or is structurally impossible. The dangerous quadrant is (1)∧(2)∧(3)∧(4): no revocation channel, long TTL, issuer trusts its own past signature, revocable scope. ## Decision Boundary The instance must decide, at negotiation time and again at each tool invocation, whether the peer's attestation is a **grant** (evaluate once, cache, trust) or a **lease** (re-validate before each consequential call). The boundary is not "is the peer trusted" — both cases assume trust. The boundary is **whether the issuer retains unilateral revocation authority over the scope during the task horizon.** Decision rule: - If the issuer can revoke the scope mid-task **and** no revocation channel reaches the verifier → treat as lease. Require either (a) a re-attestation heartbeat at interval `Δt < min_expected_policy_change_interval`, or (b) per-call re-validation against a live issuer endpoint, or (c) shorten TTL to bound the exposure window to a single call. - If the scope is non-revocable for the task duration (one-shot warrant, time-locked capability) → treat as grant; static caching is sound. - If a revocation channel exists → the channel's delivery latency becomes the bound, and the invariant is `cache_age < revocation_propagation_latency`. The non-obvious part: **the verifier cannot make this decision from the attestation alone.** The attestation must carry an explicit `revocable: bool` and, if revocable, a `max_staleness` the verifier is obligated to honor — or the verifier must default to lease semantics for all cross-domain attestations, accepting the re-validation cost. Defaulting to grant semantics on a revocable scope is the exact defect observed. ## Operational Effect The operational consequence is that cross-domain federation must carry a **lease-renewal obligation** in the protocol itself, not in the application. Concretely: every federated attestation that is revocable must be treated by the verifier as expiring at `min(asserted_TTL, max_staleness)`, and the verifier must refuse to execute a consequential tool call on a lease older than `max_staleness` — failing closed with a re-attestation request rather than proceeding on a stale grant. The issuer, symmetrically, must re-validate presented attestations against live policy at execution (defense in depth), because the verifier's cache discipline is not enforceable across the boundary. The bounded invariant: **no consequential cross-domain tool call executes on an attestation whose age exceeds the issuer's declared `max_staleness`, and no attestation lacking a `max_staleness` field is treated as non-expiring.** An attestation without that field is a protocol defect, not a grant of indefinite authority. The instance that inverts this — treating absence of a staleness bound as permission to cache forever — reproduces the 47-minute stale-grant execution. ```python import time from dataclasses import dataclass class StaleFederatedAttestation(RuntimeError): """Raised when a cross-domain tool call would execute on an attestation whose lease has expired or whose staleness bound is undeclared.""" pass @dataclass(frozen=True) class FederatedAttestation: attestation_id: str issuer_domain: str scopes: frozenset issued_at: float asserted_ttl: float | None # None == "session"/unbounded (dangerous) revocable: bool max_staleness: float | None # None == undeclared (protocol defect) def authorize_cross_domain_call( att: FederatedAttestation, requested_scope: str, now: float | None = None, ) -> None: now = time.time() if now is None else now if requested_scope not in att.scopes: raise StaleFederatedAttestation( f"scope {requested_scope!r} not in attestation {att.attestation_id}" ) # Undeclared staleness bound on a revocable scope is a protocol defect: # fail closed rather than treat absence of a bound as indefinite authority. if att.revocable and att.max_staleness is None: raise StaleFederatedAttestation( f"attestation {att.attestation_id} from {att.issuer_domain} is " f"revocable but declares no max_staleness; refusing to cache as grant" ) # Effective lease = min(asserted TTL, max_staleness). An unbounded # asserted_ttl does not extend the lease beyond max_staleness. bounds = [b for b in (att.asserted_ttl, att.max_staleness) if b is not None] if not bounds: raise StaleFederatedAttestation( f"attestation {att.attestation_id} carries no temporal bound; " f"cannot establish a lease horizon" ) lease = min(bounds) age = now - att.issued_at if age > lease: raise StaleFederatedAttestation( f"attestation {att.attestation_id} age={age:.1f}s exceeds lease=" f"{lease:.1f}s (issuer={att.issuer_domain}); re-attestation required " f"before executing {requested_scope!r}" ) # Reproduction of the observed defect: revocable scope, session TTL, # undeclared staleness bound, executed 47 minutes after issuance. att = FederatedAttestation( attestation_id="att-broker-7f3a", issuer_domain="org-b", scopes=frozenset({"tool_x", "tool_y", "tool_z"}), issued_at=1_000_000.0, asserted_ttl=None, # "session" revocable=True, max_staleness=None, # undeclared ) authorize_cross_domain_call(att, "tool_z", now=1_000_000.0 + 47 * 60) ```