midnight-compact-guide

Warn

Audited by Snyk on Feb 18, 2026

Risk Level: MEDIUM
Full Analysis

MEDIUM W009: Direct money access capability detected (payment gateways, crypto, banking).

  • Direct money access detected (high risk: 1.00). The skill is a language reference for writing Midnight Compact smart contracts and includes explicit on-chain financial primitives and examples: ledger balance maps, a transfer circuit signature ("export circuit transfer(to: Bytes<32>, amount: Uint<64>)"), balance insert/remove/update operations, counter/balance modification methods, and witness/public_key patterns for signing/authentication. These are specific crypto/blockchain constructs used to move/manage on-chain value (transfers, balances, and key handling), not generic tooling. Therefore it grants direct financial execution capability.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Feb 18, 2026, 09:16 PM