What happens when an instance accepts a federated verifiable credential whose revocation status is only checked at presentation time, not at execution time

**Date of Record:** 2026 December 1 **Scope:** Applies to autonomous agents that accept cross-organizational authorization via Verifiable Credentials (VCs) — e.g., a "task warrant" VC issued by Org A and presented to a worker agent in Org B — where revocation is implemented as a status-list or status-list-credential (BitstringStatusList) checked once during the handshake. Does not apply to same-org, single-issuer authorization where the executing agent and the issuer share a live session and a synchronous revocation channel.

Core Distinction

The failure is not "revocation is not implemented." It is that revocation is *sampled at a different instant than the action it authorizes*. A verifiable credential is a point-in-time attestation. An agent execution is an interval: a plan is admitted, then runs across N tool calls, M wall-clock minutes, and possibly K sub-agent handoffs. The standard VC verification procedure (verify signature, check issuer trust anchor, check `credentialStatus` against the current status list, check `expirationDate`) proves the credential was valid *at verification time*. It says nothing about validity at `t + Δ` when the agent finally invokes the high-impact tool the warrant was issued to gate.

This is non-obvious because the verification ceremony *looks* complete and cryptographically sound. Every signature checks out. The status list is fresh. The trust chain resolves. The gap is temporal, not cryptographic, and it widens exactly in proportion to how long the agent's execution loop runs — which, for autonomous agents doing multi-step work, is the whole point.

What Was Observed

A worker agent in Org B (the "executor") received a task warrant VC from Org A (the "delegator") authorizing it to call a downstream data-export API on Org A's behalf. The warrant carried `credentialStatus` pointing at a BitstringStatusList hosted by Org A, with a `statusPurpose: "revocation"` index. The executor's onboarding routine did the following, in order:

  1. Resolved the DID of the delegator, walked the trust chain to a recognized federation anchor.
  2. Verified the warrant's data-integrity proof.
  3. Fetched the status list, indexed the bit, confirmed it was `0` (not revoked).
  4. Admitted the task into its plan queue.

The task then sat in the queue behind a long-running batch job for 41 minutes. During that window, Org A's security team revoked the warrant — a delegated employee had left, and the warrant was scoped to that employee's delegation chain. Org A's revocation propagated correctly: the status list bit flipped to `1` within seconds, and any *new* verification would have failed. But the executor never re-verified. At `t+41min` it executed the export, using a credential that had been dead for 41 minutes, against an API that trusted the executor's cached "verified" verdict.

The trace:

The second-order observation is worse: the executor's *sub-agents* inherited the warrant by reference, not by re-verification. Each sub-agent that received the warrant as part of a handoff payload treated the parent's `verified_at` as transitive proof. The revocation had to cross not one but a tree of cached verdicts, and none of the nodes re-checked.

Condition of Validity

The "verify once at admission" pattern is only sound under a conjunction of conditions that agent systems routinely violate:

When any of these fails, the invariant "an agent never acts on a revoked credential" is violated not by a bug but by the structure of the verification ceremony. The ceremony is a *sample*, and sampling a time-varying predicate once does not bound the predicate over the interval.

The correct invariant is stronger and must be stated explicitly: **every action that the credential gates must be preceded by a status check whose freshness bound is tighter than the action's own latency, and no cached verdict may be inherited across an agent boundary without a re-check at that boundary.** Freshness is a property of the *action*, not of the *credential*.

Decision Boundary

The engineering decision is where to place the re-check and how to bound staleness. Three regimes, and the boundary between them is set by the ratio of revocation-propagation latency to action latency:

The trap is treating the third regime with the machinery of the first. The machinery looks identical — same signature check, same status list — so the boundary is invisible until a revocation lands inside an execution window. The tell is architectural: if the agent's scratchpad contains a boolean like `credential_valid: true` with no accompanying `verified_at` and no freshness bound, the system is in the third regime while behaving like the first.

Operational Effect

The observable effect is a class of incidents that are hard to attribute because every individual log line is "correct." The verification log shows a successful check. The status-list server shows correct revocation. The action log shows a successful export. Only the *composition* is wrong, and it is wrong across an org boundary where neither side's logs are joined by default.

Downstream, three costs compound:

  1. **Revocation becomes advisory, not enforcing.** Org A believes revocation is a hard stop; it is actually a best-effort signal with an unbounded delay equal to the longest execution latency in Org B's fleet. Security postures calibrated on "revocation is immediate" are miscalibrated.
  2. **Sub-agent fan-out amplifies the window.** A warrant inherited by K sub-agents yields K independent executions past the revocation instant, each with its own stale `verified_at`. The blast radius scales with the agent graph's branching factor, not with the number of warrants.
  3. **Audit replay diverges.** Replaying the execution trace with a fresh status list produces a different verdict than the live run, because the live run sampled a stale list. The replay "disagrees" with production, and the discrepancy is the bug, not the replay.

The guardrail is to make freshness a first-class field on the cached verdict, bind it to the action rather than the credential, and refuse to inherit it across handoffs. The code below encodes that: a verdict carries `verified_at` and a `max_staleness` derived from the gated action's latency class, and every gated call and every handoff re-checks it, failing closed on staleness or revocation.

import time
from dataclasses import dataclass


class RevocationFreshnessError(RuntimeError):
    """Raised when a cached credential verdict is too stale to gate an action."""
    pass


@dataclass(frozen=True)
class Verdict:
    credential_id: str
    revoked: bool
    verified_at: float          # monotonic seconds
    max_staleness: float        # bound for the *action* this verdict gates


def check_verdict_before_action(
    verdict: Verdict,
    action_latency_bound: float,
    now: float | None = None,
) -> None:
    """Re-check a cached verdict immediately before a gated action.

    Fails closed if the verdict is revoked, if it is older than its own
    staleness bound, or if the action's latency bound exceeds the verdict's
    freshness budget (meaning verify-once cannot cover this action).
    """
    now = time.monotonic() if now is None else now

    if verdict.revoked:
        raise RevocationFreshnessError(
            f"credential {verdict.credential_id} is revoked; action blocked"
        )

    age = now - verdict.verified_at
    if age > verdict.max_staleness:
        raise RevocationFreshnessError(
            f"verdict for {verdict.credential_id} is {age:.1f}s old, "
            f"exceeds max_staleness={verdict.max_staleness:.1f}s"
        )

    if action_latency_bound > verdict.max_staleness:
        # The action itself can outlive the verdict's freshness budget;
        # verify-once cannot cover it. Require a longer-lived warrant or
        # a mid-action re-check.
        raise RevocationFreshnessError(
            f"action latency bound {action_latency_bound:.1f}s exceeds "
            f"verdict freshness budget {verdict.max_staleness:.1f}s; "
            f"verify-once is unsound for this action"
        )


def handoff_verdict(parent: Verdict, child_max_staleness: float) -> Verdict:
    """Prepare a verdict for a sub-agent handoff.

    The parent's verified_at is preserved (we do not claim a fresher check
    than actually happened), but the child must re-verify if the parent's
    verdict is older than the child's own bound. Refusing to widen the
    budget silently is the point: inheritance must not launder staleness.
    """
    if parent.revoked:
        raise RevocationFreshnessError(
            f"cannot hand off revoked credential {parent.credential_id}"
        )
    if child_max_staleness > parent.max_staleness:
        raise RevocationFreshnessError(
            f"child staleness budget {child_max_staleness:.1f}s exceeds "
            f"parent {parent.max_staleness:.1f}s; re-verify at handoff"
        )
    return Verdict(
        credential_id=parent.credential_id,
        revoked=parent.revoked,
        verified_at=parent.verified_at,
        max_staleness=child_max_staleness,
    )