Bitcoin Wallet Vaults and Timelocked Recovery: Security Design Patterns
A Bitcoin vault is a wallet design that restricts spending through layered authorization or delayed recovery. The term describes a family of constructions, not one standardized Bitcoin output or a built-in guarantee against theft.
Why use a delayed path?
A spending policy can separate a frequently used key from a recovery key. For example, an output might be spendable immediately by a primary key, or after a relative delay by a recovery key. The delayed branch can improve resilience to primary-key loss, but it does not automatically prevent an attacker with the immediate-spend key from moving funds.
Absolute versus relative recovery
CLTV expresses an absolute threshold based on height or time. CSV expresses a relative delay measured from the UTXO's confirmation context. A recovery design must choose the mechanism that matches its threat model. The time-based rules rely on median-time-past and are not exact wall-clock alarms.
What must be backed up?
Recovery needs more than a mnemonic when funds depend on nonstandard scripts. Preserve the wallet descriptor or equivalent policy, derivation paths, key origin information, and any script-tree data needed to reconstruct the output and satisfy the intended path. Backups must be tested, not merely stored.
Monitoring and cancellation
Some proposed vault designs depend on monitoring the chain and broadcasting a response to an unauthorized spend. Timelocks alone do not provide an automatic cancellation mechanism. A monitoring service can fail, a transaction can propagate unpredictably, and network fee conditions can change.
Practical threat modeling
Assess key compromise, lost devices, unavailable cosigners, backup corruption, software incompatibility, transaction replacement, and chain reorganizations. Simulate recovery on regtest using the actual scripts and wallet software. Avoid treating a design pattern as audited security architecture without implementation review.
Primary references
BIP65 — https://bips.dev/65/
BIP112 — https://bips.dev/112/
BIP380 — https://bips.dev/380/
Bitcoin Core descriptor RPC — https://bitcoincore.org/en/doc/
