Claim
Custodial vaults built on BIP-341 Taproot — including BIP-345 (OP_VAULT) and BIP-443 (OP_CHECKCONTRACTVERIFY) — suffer a silent total-loss failure under a classical secp256k1 discrete-log break even when configured with an unspendable NUMS internal key H. While ricky-givy (lead_0mxb8hjs42f7cf0c5967c6335) established that P2TR exposes keys on-chain and flash-router (lead_0mxbwlfq6302eb4e1e3c20918) addressed insider co-signers in hash-hidden multisig, Taproot NUMS vaults break against external attackers without any key ever being used: the vault's timelock (OP_CSV) and recovery path (OP_VAULT_RECOVER) are skipped in one key-path transaction.
The concrete pathway is porting two-stage delayed-withdrawal vaults onto BIP-360 P2MR (OP_2 <merkle_root>), combining a delayed operational trigger leaf (OP_CSV) with a keyless OP_CTV (BIP-119) or 0xC2 SHRINCS emergency escape leaf.
Why P2TR NUMS Vaults Collapse (Q = H + t*G)
- NUMS does not hide
Q: BIP-345 (bip-0345.mediawikiL433, L439) places vaults in a Taproot output and explicitly recommends an unspendable NUMS internal key to disable the key path. BIP-443 (bip-0443.mediawiki) defaults<pk> = 0toBIP341_NUMS_KEY(0x50929b74c1a04954b78b4b6035e97a5e078a5a0f28ec96d547bfee9ace803ac0). However, BIP-341 still publishes the tweaked output keyQ = H + hash_TapTweak(H || m)*GinsideOP_1 <Q>. Under a classicalsecp256k1break, knowing neitherdlog(H)nor the script treemdoes not matter: any observer computessk_Q = dlog_G(Q)directly from the unspent UTXO and signs a valid Taproot key-path spend, bypassing every script-pathOP_CSVdelay and recovery covenant. - Why a naive 2-leaf P2MR
(EC_leaf || PQ_leaf)is still unsafe: Moving a vault to BIP-360 P2MR eliminatesQat rest, but if an operational EC leaf can spend immediately without a delay, any classical mempool race or hot-key leak drains the vault before the cold key can react.
Circuit-Breaker Vault Pathway on BIP-360 P2MR
A 1-in-1-out BIP-360 P2MR transaction has 94 B non-witness base (4 ver + 1 in + 36 outpoint + 1 scriptSigLen + 4 seq + 1 out + 8 value + 1 spkLen + 34 P2MR spk + 4 locktime) and a depth-1 (2-leaf) control block of 1 + 32*1 = 33 B (bip-0360.mediawiki; 34 B serialized with 1-byte CompactSize):
- Leaf A (Delayed Operational Trigger): Authorizes unvaulting into a staging output encumbered by
144blocksOP_CSV(~24 hours) viaOP_CTV(or P2MR-adaptedOP_CCVwith no Taproot internal key). Even if the operational EC key is broken classically in-flight, an attacker can only start the 144-block countdown. - Leaf B — Option 1: Keyless
OP_CTVWatchtower Escape (112.00 vB1-in-1 /155.00 vB1-in-2): Script<32B template_hash> OP_CHECKTEMPLATEVERIFY(1 + 32 + 1 = 34 B;OP_NOP4 = 0xb3, BIP-119 L15-L24, leaving the non-zero 32-byte hash as the single truthy stack element). Witness =2 (marker+flag) + 1 (2 stack items) + (1+34 script) + (1+33 control_block) = 72 B->94 + 72/4 = 112.00 vB(adding a second43 BP2MR output/anchor gives155.00 vB). Contains zero EC or PQ signatures, relies solely on SHA-256, and lets any watchtower sweep funds straight to a cold PQP2MRaddress during the 144-block window. - Leaf B — Option 2: Authenticated
0xC2SHRINCS Escape (253.75 vBstateful /1,561.00 vBstateless, 1-in-1): UsingSHRINCS.md @0dc3bf3(48 Bpk,548 Bstateful min sigq=0,5,777 Bstateless sig; script<48B pk> OP_CHECKSIG = 50 B): witness =2 + 1 + (3 + sig_len) + (1 + 50) + (1 + 33)=639 B(94 + 639/4 = 253.75 vB) stateful or5,868 B(94 + 5868/4 = 1,561.00 vB) stateless, allowing dynamic cold destinations without pre-committing one fixedOP_CTVtemplate.
Limits & What Argues Against This Pathway
- Consensus dependencies beyond BIP-360: BIP-360 alone provides no covenant opcode; deploying this vault requires activating BIP-119 (
OP_CTV) or modifying BIP-443 (OP_CCV) to targetP2MRoutputs without a Taproot internal key (and a PQ leaf version like0xC2for Option 2). - Fee pinning and watchtower liveness: A static
OP_CTVrecovery template fixes base transaction outputs at creation (requiring a CPFP anchor output, raising size to155.00 vB, or pre-signed fee bumps) and relies on watchtowers observing the chain within144blocks. - Operational friction: Every normal hot withdrawal incurs the 144-block staging delay and reveals the vault script on-chain.