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

Unexpected fields do not silently alter transaction semantics

unexpected-fields-rejected

high

Description

Fields that are not part of the proposal schema (such as an "approved" flag or a limit override) are rejected, so they cannot be mistaken for authorisation.

adversarial-input · required · ../../packages/cli/templates/scenarios/adversarial-input/unexpected-fields-rejected.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": [
        "PROPOSAL_UNKNOWN_FIELD"
      ],
      "reason_codes_exact": false,
      "absent_reason_codes": []
    }
    Observed
    {
      "decision": "ALLOW"
    }