Under what conditions must an instance treat a peer's signed policy attestation as bounded by the attestation's own expiry rather than by the federation session's trust epoch — and what breaks when it does not
**Date of Record:** 2026 December 2
**Scope:** Applies to cross-org federations where agents negotiate capability and policy grants via signed attestations (warrants, capability tokens, policy bundles) under a long-lived federation session with a distinct trust-epoch identifier. Does not apply to single-org deployments where attestation lifetime and session lifetime are administratively coupled, nor to stateless request/response tool calls carrying no warrant.
Core Distinction
A federation session has a *trust epoch*: a monotonic identifier (counter, hash, or timestamp band) under which mutual authentication, key material, and negotiated policy roots are considered jointly valid. An *attestation* is a signed, individually-scoped claim from one org's issuer about one subject, capability set, and policy predicate — and it carries its own `not_before`/`not_after` bounds independent of the epoch.
The failure mode is **epoch-attestation lifetime conflation**: an agent, having completed a successful trust negotiation inside epoch E, caches the negotiated policy state and thereafter treats every attestation received during E as valid for the remainder of E. This is non-obvious because the two lifetimes look redundant — both are "how long this trust lasts." They are not. The epoch bounds *who may speak to whom and under which roots*; the attestation bounds *what a specific peer may cause to happen and until when*. Collapsing them means a short-lived, narrowly-scoped grant silently inherits the lifetime of the widest, longest-lived session in the federation.
What Was Observed
In a three-org federation (issuer A, broker B, executor C), C negotiates a session with B and reaches epoch E=7 with a TTL of six hours. During negotiation, A issues C an attestation granting `write:telemetry` scoped to a specific dataset, with `not_after = T0 + 90s` — deliberately short because the underlying dataset is reclassified hourly and A wants re-issuance to force re-evaluation against the current policy bundle.
The trace:
- `t=0s` — C completes trust negotiation with B; epoch E=7 established; C caches `{epoch: 7, peer_roots: [...], policy_bundle_hash: h1}`.
- `t=0s` — A's attestation arrives and is validated: signature chains to A's root (present in E=7 roots), `not_after` checked once at admission. C records `grant: write:telemetry` in its session policy table keyed by `(peer=A, epoch=7)`.
- `t=90s` — attestation expires. No event fires. C's policy table has no expiry index; expiry was evaluated only at admission.
- `t=200s` — A's dataset is reclassified; A's *current* policy bundle (hash `h2`) forbids `write:telemetry` to C. A cannot retroactively revoke the signed attestation without a revocation channel, and does not have one wired to C.
- `t=3100s` — C, still inside E=7, executes a `write:telemetry` call. Its authorization check consults the session policy table, finds `grant: write:telemetry` under `(A, 7)`, and admits the write. The write lands on data A has since declared out-of-policy.
The observable symptom is not an authentication failure — every signature verifies — but an **authorization decision made against a superseded policy state that the verifier believes is current because the epoch is current**. Auditors replaying the action see a valid signature, a valid epoch, and a policy violation, and cannot tell from C's logs whether the grant was live, because C never recorded the attestation's expiry in the decision path.
A second-order effect: when C finally renegotiates at `t=6h`, it re-validates against `h2`, discovers `write:telemetry` is gone, and logs a "policy drift" alarm — attributing the change to the epoch boundary. The actual violation occurred 5h50m earlier. Post-incident attribution is systematically wrong.
Condition of Validity
An attestation's authority is bounded by `min(attestation.not_after, epoch.valid_until, issuer_policy_bundle.valid_until_at_issuance)`. The invariant a conforming executor must hold is:
> **Every authorization decision re-evaluates the full lifetime conjunction at decision time, not at admission time. A cached grant is a *reference* to an attestation, never a *copy* of its authority.**
Equivalently: the session policy table must store the attestation's `not_after` and the policy-bundle hash under which it was issued, and every `authorize()` call must reject if `now > not_after` **or** if the currently-pinned bundle hash for that issuer differs from the issuance hash (absent an explicit re-attestation). The epoch is necessary but not sufficient.
The condition fails — the invariant is violated — precisely when the executor's cache key omits the attestation lifetime and the bundle hash, i.e. keys only on `(peer, epoch)`. That is the default in most naive federation caches, because the epoch is the natural unit of "session" and the attestation is treated as session metadata rather than a first-class bounded object.
Decision Boundary
The boundary is not "short attestations are dangerous." It is: **does the executor's authorization path have a per-decision lifetime check, or only a per-admission one?** Concretely:
- If attestations in the federation are *always* re-issued at or before epoch boundaries and the issuer guarantees no policy change mid-epoch, epoch-keyed caching is sound. This is a real deployment mode and should not be reflexively rejected.
- If any issuer can change its policy bundle mid-epoch, or issues attestations whose `not_after` is shorter than the epoch TTL, epoch-keyed caching is unsound and the executor must fall back to per-decision lifetime evaluation.
The decision an agent must make at negotiation time is therefore: *query the peer's declared re-issuance discipline.* If the peer cannot attest "no mid-epoch policy change" (a signed claim, not a verbal one), the executor must assume mid-epoch drift is possible and adopt per-decision evaluation. The failure is treating the absence of a re-issuance guarantee as an implicit guarantee — a default-trust inversion that is invisible because it produces no error until the first mid-epoch policy change.
Operational Effect
Consequences when the invariant is not held:
- **Silent over-authorization for the residual epoch.** A 90-second grant can authorize actions for six hours. The blast radius is `epoch_ttl - attestation_ttl` per grant, multiplied by every grant cached the same way.
- **Mis-attributed drift.** Violations surface at epoch renegotiation, not at the violating action, corrupting incident timelines and root-cause analysis.
- **Replay-verification disagreement.** An auditor replaying with correct per-decision semantics flags violations the executor's own logs call compliant; the two cannot reconcile without the issuance-time bundle hash, which the executor discarded.
- **Trust-negotiation poisoning surface.** A peer that *knows* the executor conflates lifetimes can issue a long-TTL epoch with a short-TTL attestation, then change policy, and the executor will honor the stale grant — an exploitable, non-cryptographic attack requiring no key compromise.
The guardrail is structural: the session policy table stores `(attestation_id, not_after, issuance_bundle_hash)` and `authorize()` refuses on any conjunct failure. The refusal must be a distinct, alertable error class — not a generic denial — so that mid-epoch expiry is observable rather than absorbed into normal authorization noise.
from dataclasses import dataclass
from typing import Optional
class AttestationLifetimeViolation(RuntimeError):
"""Raised when an authorization decision relies on an attestation whose
lifetime conjunction no longer holds at decision time, even though the
federation trust epoch is still current."""
pass
@dataclass(frozen=True)
class Attestation:
attestation_id: str
issuer: str
capability: str
not_after: float # absolute seconds
issuance_bundle_hash: str
@dataclass(frozen=True)
class TrustEpoch:
epoch_id: int
valid_until: float
pinned_bundle_hash: dict # issuer -> current bundle hash
def authorize(
now: float,
epoch: TrustEpoch,
attestation: Attestation,
requested_capability: str,
) -> None:
# Epoch is necessary but NOT sufficient.
if now > epoch.valid_until:
raise AttestationLifetimeViolation(
f"epoch {epoch.epoch_id} expired at {epoch.valid_until}, now={now}"
)
# Per-decision attestation lifetime check — the invariant under test.
if now > attestation.not_after:
raise AttestationLifetimeViolation(
f"attestation {attestation.attestation_id} expired at "
f"{attestation.not_after}, now={now}; epoch still current"
)
# Per-decision policy-bundle check: mid-epoch policy drift invalidates
# grants issued under a superseded bundle unless re-attested.
current = epoch.pinned_bundle_hash.get(attestation.issuer)
if current != attestation.issuance_bundle_hash:
raise AttestationLifetimeViolation(
f"attestation {attestation.attestation_id} issued under bundle "
f"{attestation.issuance_bundle_hash}, issuer now at {current}; "
f"re-attestation required"
)
if requested_capability != attestation.capability:
raise AttestationLifetimeViolation(
f"capability {requested_capability} not granted by "
f"{attestation.attestation_id}"
)