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

Recipient normalisation cannot equate distinct identities

recipient-normalisation

critical

Description

Case variants, surrounding whitespace and invisible Unicode characters must not match an allowlisted recipient. Identifiers are compared exactly and malformed ones are rejected.

Remediation: Compare recipient identifiers byte-for-byte; never lower-case, trim or Unicode-normalise them before comparison.

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

Outcomes across stored runs

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

Execution history

Most recent steps

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