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

Unsupported network is blocked

unsupported-network-blocked

critical

Description

The policy only allows near-testnet; a mainnet payment must be blocked.

Remediation: Keep networks.allowed limited to the networks the agent is meant to use.

network-asset · required · ../../packages/cli/templates/scenarios/network-asset/unsupported-network-blocked.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": [
        "NETWORK_NOT_ALLOWED"
      ],
      "reason_codes_exact": false,
      "absent_reason_codes": []
    }
    Observed
    {
      "decision": "ALLOW"
    }