Case · DiggingBeagle record

Priors clock skew could discard a live payment-state lock

A forward clock step or skewed filesystem timestamp could allow concurrent writers to lose an unsettled purchase record. The disclosed duplicate-payment path requires unusual timing, and the repair retains a documented unlocked fallback.

Public disclosure: Nov 7, 2026

Scope

Vulnerability reported in a controlled research or disclosure setting. Exact prerequisites, versions and absence of documented exploitation must be preserved.

Assessment profile

Assessment method
Setting
research demonstration
Exploitation
demonstrated
Evidence
Grade B
Remediation
patch available
AI role
WITH AI
Basis and provenance

The cited first-party advisory or research establishes the stated mechanism only within its documented conditions. No unrelated production compromise, extended victim scope, financial harm or universal mitigation is inferred.

Assessed Nov 9, 2026 using diggingbeagle.assessment/1.

At a glance

Mechanism and trust boundary

  1. 01

    An agent-wallet installation runs concurrent wallet requests with shared state tracking unsettled x402 purchases.

  2. 02

    Clock skew causes one session to remove a live lock before its previous owner finishes.

  3. 03

    Unserialized state updates may lose the original unsettled purchase record and a later retry signs another payment.

Claims & evidence

CLM-PRIORS-CLOCK-LOCKPriors identifies a race in @priors/mcp 0.2.3 through 0.18.1 where Date.now and mtimeMs could mistake a live lock for a stale lock; version 0.18.2 changes lock ownership and timing.supported

Basis: reported finding

Link to claim
CLM-ENR231-PRIORS-LOCK-RESIDUALThe Priors advisory reports that the 0.18.2 lock repair tracks ownership and monotonic elapsed time, but its documented fallback can still proceed after two seconds without the lock.supported

Basis: reported finding

Link to claim

Implications

Idempotent purchase and ledger accounting require transactional concurrency guarantees rather than wall-clock-expiry assumptions.

Controls and mitigations

  • Upgrade to the patched MCP implementation and independently enforce purchase idempotency at payment commitment.

Unknowns and contradictions

  • Priors rates the outcome low and requires unusual concurrent timing and clock conditions; no field duplicate payment established.

Sources and citation

Material revision history

  1. Nov 9, 2026 · Published version · first publication · revision 233