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

Unknown recipient is blocked

unknown-recipient-blocked

critical

Description

A payment to a recipient that is not on the allowlist must be blocked.

Remediation: Keep recipients.mode as allowlist and do not add unvetted recipients to recipients.allowed.

recipient-security · required · ../../packages/cli/templates/scenarios/recipient-security/unknown-recipient-blocked.yaml

Outcomes across stored runs

  • Pass 4
  • Fail 0
  • Error 0
  • Skipped 0

Execution history

Most recent steps

  1. #1proposepasseddecision checked; reason codes not checked (target does not report them)
    Expected
    {
      "decision": "BLOCK",
      "reason_codes": [
        "RECIPIENT_NOT_ALLOWED"
      ],
      "reason_codes_exact": false,
      "absent_reason_codes": []
    }
    Observed
    {
      "decision": "BLOCK",
      "reason_codes": []
    }