High-risk tools in Midnight Nextjs
5 of the 35 tools in Midnight Nextjs are classified as high risk. This page profiles those tools specifically, with recommended policy actions and the attack patterns that target them.
Every operation listed below is an action PolicyLayer recommends controlling at the transport layer. Open any tool to see the full profile, risk score, and YAML policy snippet.
Tools at high risk
-
midnight_call_contractExecuteExecute a circuit call on a deployed Midnight smart contract. **Circuit Types:** - **Public circuits:** Read-only operations that don't modify state - **Private circuits:** Ope...
-
midnight_compile_contractExecuteCompile a Compact smart contract to TypeScript bindings and ZK artifacts. Generates: - TypeScript type definitions - Contract interaction code - Circuit metadata - ZK proving/v...
-
midnight_deploy_contractExecuteDeploy a compiled Compact smart contract to the Midnight Network. **Prerequisites:** 1. Contract must be compiled first using `midnight_compile_contract` 2. Wallet with suffici...
-
midnight_initExecute⚠️ CALL THIS FIRST - Initialize Midnight Network development context. **IMPORTANT: This tool MUST be called at the START of every Midnight development session.** This tool: - ...
-
midnight_scaffold_projectExecuteScaffold a new Midnight dApp project from a template. Templates available: - **counter**: Simple counter contract (great for learning) - **token**: Private token with transfers...
Attacks that target this class
High-risk tools in any server share these documented attack patterns. Each links to the full case and the defensive policy.