# What structural signals indicate trust-anchor staleness is corrupting boundary-crossing attestations in cross-org agent federations **Date of Record:** 2026 November 24 **Scope:** Applies to federated multi-agent systems where agents in Org A invoke peer agents in Org B under a signed policy-exchange protocol and present boundary-crossing attestations (capability warrants, delegation chains, or authorization receipts) at each hop. Does not apply to single-tenant agent meshes sharing one trust root, nor to stateless request/response tool calls that carry no delegated authority. ## Core Distinction The failure is not "an untrusted agent got in." It is that a **structurally valid attestation was minted against a trust anchor whose semantic content had already rotated out from under it**, and every downstream verifier accepted it because the signature and the *anchor identifier* matched. The distinction that matters operationally: - **Signature validity** answers "did the holder of anchor-key K sign this?" — a pure cryptographic predicate that stays true forever. - **Anchor validity** answers "does anchor-key K still represent the policy set that the issuing org intends to govern this class of delegation *now*?" — a semantic predicate that decays the moment the issuing org rotates policy. Federated verifiers almost always check the first and treat it as a proxy for the second. The gap between them is where the failure lives. A stale-anchor attestation is a *well-formed lie*: cryptographically sound, semantically expired. This is non-obvious because the standard defensive posture — "verify the signature, verify the anchor is in the trusted-anchor set, verify the chain terminates at a known root" — passes cleanly. The attestation is not forged. The anchor is not revoked. The chain is not broken. The only thing wrong is that the anchor's *policy binding* was superseded, and nothing in the verification path compares the attestation's embedded policy epoch against the anchor's current epoch. ## What Was Observed A cross-org delegation chain executed across three organizations: Org A (initiator) → Org B (broker) → Org C (resource holder). Org B acts as a policy-exchange intermediary: it accepts A's attestation, applies its own policy overlay, and re-issues a boundary-crossing attestation to C that *references A's trust anchor* as the delegation root while adding B's broker warrant. The trigger sequence: 1. At T0, Org A publishes trust anchor `A-root-v1` bound to policy epoch `p=41`, which permits delegated agents to invoke `billing.read` only for accounts the delegating principal owns. 2. At T1, Org A rotates its policy to epoch `p=42`, narrowing `billing.read` to accounts in the *same legal entity* as the delegating principal — a materially stricter rule. The anchor key `A-root-v1` is **not** revoked; A re-signs the same key against the new policy and republishes. This is the common, "cheap" rotation pattern: keep the key, bump the epoch. 3. At T2, an agent in Org A — spawned *before* the rotation, still holding a cached attestation minted under `p=41` — initiates a delegation. The attestation it presents carries `epoch=41` in its policy-binding claim, signed by `A-root-v1`. 4. Org B's verifier checks: signature valid ✓, anchor `A-root-v1` in trusted set ✓, chain terminates at known root ✓. It does **not** compare `epoch=41` to A's currently published epoch. It re-issues to C with an attestation that *inherits* the stale `epoch=41` binding but is now countersigned by B. 5. Org C verifies B's countersignature, walks the chain to `A-root-v1`, accepts. The invocation proceeds under the *loosened* `p=41` semantics — cross-entity `billing.read` — which `p=42` was specifically written to forbid. The observable structural signal was **not** an error. It was a *silent semantic regression*: post-rotation, the same principal identity successfully performed operations that the new policy prohibited, with every cryptographic check green. Audit logs showed "authorized under A-root-v1, epoch 41" — which reads as legitimate until someone diffs the epoch against A's current publication. A second-order effect compounded it: the pre-rotation agent instance in Org A had cached the anchor's *policy document* alongside the attestation. When it re-verified its own attestation before presenting it (a self-check some agents perform), it validated against its cached `p=41` policy and concluded — correctly, relative to its stale cache — that the attestation was current. The agent's local consistency check actively *reinforced* the staleness rather than detecting it. ## Condition of Validity The invariant that must hold for cross-org attestation to be sound: > **An attestation is valid at verification time T only if the policy epoch embedded in the attestation equals the epoch currently published by the issuing org's trust anchor at T, AND the verifier's view of that epoch is fresh within a bounded staleness window Δ.** Two independent things must be true, and the standard verifier checks neither: - **Epoch equality** — the attestation's `epoch` claim must match the anchor's *current* epoch, not merely be *a* valid epoch the anchor once published. This requires the verifier to fetch the anchor's current epoch, not just its key. - **Bounded staleness** — the verifier's own anchor cache must be no older than Δ. If Org C caches Org A's anchor for 24h, then for up to 24h after A's rotation, C is structurally blind to the epoch bump. Δ must be shorter than the minimum time between a policy tightening and the first prohibited invocation the tightening was meant to stop — in practice, Δ must be minutes, and the anchor publication must carry a `not_after` that the verifier enforces. The condition fails whenever **key identity is conflated with policy identity**. The moment an org adopts "rotate policy, keep key," every verifier that pins to key identity is silently trusting an unbounded set of historical policy epochs. The signature is a statement about *who*, frozen in time; the epoch is a statement about *what*, and it is the *what* that carries the security-relevant semantics. A corollary that is easy to miss: the broker (Org B) must **propagate the epoch claim faithfully and refuse to re-issue across an epoch discontinuity**. If B re-signs a `p=41` attestation after A has moved to `p=42`, B has laundered a stale epoch under its own fresh countersignature — converting a detectable staleness into an undetectable one, because C now trusts B's signature and has no independent window into A's epoch except through B. ## Decision Boundary The verifier must make an explicit, recorded decision at each of three boundaries, and the failure occurs precisely where any of them is left implicit: | Boundary | Wrong (implicit) default | Correct (explicit) predicate | |---|---|---| | Anchor → key | "anchor is in trusted set" | "anchor is in trusted set **and** its published epoch is fresh within Δ" | | Attestation → epoch | "epoch is a valid past epoch" | "epoch **equals** anchor's current epoch" | | Broker re-issue | "signature valid, forward it" | "**refuse** if incoming epoch ≠ anchor current epoch; never re-sign across a discontinuity" | The decision boundary that most systems cross without noticing is the third. A broker is architecturally a *trust amplifier*: its countersignature makes downstream verifiers stop looking upstream. Therefore the broker carries an obligation it is rarely configured to meet — it must be the *epoch enforcement point*, because it is the last hop that still has a reason to consult the issuing org directly. If the broker forwards stale epochs, no downstream party can recover the information. Concretely, the boundary condition is: **the broker must treat "incoming attestation epoch < current anchor epoch" as a hard reject, not a warning.** A warning is insufficient because the attestation is cryptographically valid and will pass every downstream check; a warning that is not a reject is a no-op in a federation where the downstream verifier cannot see the warning. ## Operational Effect When the invariant is violated, the system exhibits a characteristic signature that is *not* an error rate spike but a **semantic drift in the authorization surface**: - **Authorization decisions diverge from policy intent while all health metrics stay green.** Signature-verification success rate, chain-depth checks, anchor-reachability — all nominal. The corruption is invisible to every metric that measures *cryptographic* health. - **The drift is asymmetric and directional.** It only ever *loosens* authority, never tightens it, because a stale epoch is by construction an *older, less restrictive* policy (tightenings are the common rotation). This means the failure is a silent privilege expansion, not a denial — the worst direction for detection, since nothing fails closed. - **Audit trails look legitimate.** Logs record a valid anchor ID and a valid epoch number. Forensic reconstruction requires diffing each attestation's epoch against the issuing org's *publication history*, which most federations do not retain in a queryable form. - **The blast radius is bounded by Δ, not by the number of affected invocations.** Every invocation in the window between rotation and the verifier's cache refresh is exposed. If Δ is 24h and the org rotates weekly, the org spends 14% of its life in a state where its own tightenings are unenforced against federated peers. The architectural guardrail that bounds this: **epoch-pinned attestations with enforced freshness, and brokers that fail closed on epoch discontinuity.** The attestation must be self-describing about *which policy epoch* authorized it; the verifier must fetch and compare the *current* epoch; the broker must refuse to launder a discontinuity. And critically — because agents cache — the *agent's own* pre-presentation self-check must not substitute a cached policy document for a live epoch fetch; a stale local cache that validates its own staleness is worse than no self-check at all. ```python import time from dataclasses import dataclass class StaleAnchorAttestationError(RuntimeError): """Raised when a boundary-crossing attestation's policy epoch does not match the issuing org's currently published trust-anchor epoch, or when the verifier's cached view of that epoch is older than the staleness window. This is NOT a signature failure: the attestation is cryptographically sound and the anchor is not revoked.""" @dataclass(frozen=True) class Attestation: issuer_org: str anchor_id: str policy_epoch: int signed_at: float signature_valid: bool # assumed checked upstream @dataclass(frozen=True) class AnchorView: anchor_id: str current_epoch: int fetched_at: float MAX_STALENESS_SECONDS = 120.0 # Delta: bounded anchor-cache freshness def verify_boundary_attestation( att: Attestation, anchor: AnchorView, now: float, ) -> None: # 1. Cryptographic predicate (necessary, not sufficient). if not att.signature_valid: raise StaleAnchorAttestationError( f"signature invalid for anchor {att.anchor_id}" ) if att.anchor_id != anchor.anchor_id: raise StaleAnchorAttestationError( f"anchor mismatch: attestation cites {att.anchor_id}, " f"verifier holds {anchor.anchor_id}" ) # 2. Freshness predicate: the verifier's view of the anchor must be live. if (now - anchor.fetched_at) > MAX_STALENESS_SECONDS: raise StaleAnchorAttestationError( f"anchor view for {anchor.anchor_id} is stale by " f"{now - anchor.fetched_at:.1f}s (max {MAX_STALENESS_SECONDS}s); " f"cannot assert current policy epoch" ) # 3. Epoch-equality predicate: the semantic predicate the whole # federation silently skips. A past-valid epoch is NOT current. if att.policy_epoch != anchor.current_epoch: raise StaleAnchorAttestationError( f"epoch discontinuity: attestation minted under " f"epoch={att.policy_epoch} but {att.issuer_org} now publishes " f"epoch={anchor.current_epoch}; refusing to honor stale policy " f"semantics (likely a post-rotation agent cache)" ) def broker_forward( att: Attestation, anchor: AnchorView, now: float, ) -> Attestation: """Broker must be the epoch-enforcement point: it is the last hop with a direct line to the issuing org. It must FAIL CLOSED on discontinuity, never re-sign a stale epoch under its own fresh countersignature.""" try: verify_boundary_attestation(att, anchor, now) except StaleAnchorAttestationError: # Do not launder. Re-raise so the chain aborts at the broker. raise # Only reached if epoch is current and anchor view is fresh. return att # broker countersignature applied downstream ```