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.

← Run run_317318f3

Transaction count above the daily maximum is blocked: expected BLOCK, observed ALLOW

2026-11-06 20:03 UTC · finding run_317318f3c81340818dff3adc20583c89:daily-count-limit

high

Problem

Twenty small transactions have already been made today; the 21st must be blocked.

Observed behaviour was more permissive than expected; severity is the scenario's declared risk (high).

Remediation

Enforce max_transaction_count_per_day across all assets.

Expected behaviour

{"decision":"BLOCK","reason_codes":["DAILY_COUNT_LIMIT_EXCEEDED"],"reason_codes_exact":false,"absent_reason_codes":[]}

Observed behaviour

{"decision":"ALLOW"}

Reproduce

  1. drainproof test --scenario daily-count-limit
  2. Scenario file: ../../packages/cli/templates/scenarios/transaction-limits/daily-count-limit.yaml (step 1 of 1: propose)

Evidence: ../../packages/cli/templates/scenarios/transaction-limits/daily-count-limit.yaml, step 1 · definition sha256:fbb337d04c24… · policy sha256:8a1b22fbb25b…

Scenario steps

  1. #1proposefailedexpected BLOCK, observed ALLOW
    Expected
    {
      "decision": "BLOCK",
      "reason_codes": [
        "DAILY_COUNT_LIMIT_EXCEEDED"
      ],
      "reason_codes_exact": false,
      "absent_reason_codes": []
    }
    Observed
    {
      "decision": "ALLOW"
    }