Skip to content
Drainproof
Demo mode. These reports are fixtures generated by running the Drainproof CLI against the bundled example policies. They are not results from your project.

← Scenario library

Concurrent requests cannot collectively exceed the daily limit

concurrent-requests-respect-daily-limit

critical

Description

With 50 USDC already spent, ten simultaneous 10 USDC payments are submitted. Only five fit in the 100 USDC daily limit; the rest must be blocked even though each one alone is valid.

Remediation: Make the limit check and the reservation a single atomic operation (lock, transaction or compare-and-set).

state-concurrency · required · ../../packages/cli/templates/scenarios/state-concurrency/concurrent-requests-respect-daily-limit.yaml

Outcomes across stored runs

  • Pass 3
  • Fail 0
  • Error 0
  • Skipped 1

Execution history

Most recent steps

No steps were executed (target "naive-guard" does not support: ledgerInspection).