Security

Tags: self-custody, seed, multisig, hardware-wallets, cold-storage


The Core Principle

“Not your keys, not your coins.” If a third party holds your bitcoin, you have an IOU, not bitcoin. The bankruptcy of FTX, Mt. Gox, Celsius, and others illustrates this. Self-custody is not advanced — it is the point.


Seed Phrases (BIP39)

A 12- or 24-word seed phrase (mnemonic) is the master key to your bitcoin. All addresses and private keys are derived from this single seed using a deterministic algorithm (BIP32/44/49/84).

Critical rules:

  • Never enter your seed online (no photos, no cloud storage, no typing into any website)
  • Store offline, physically (metal plate, fireproof safe)
  • Store redundant copies in different locations
  • The seed is everything — whoever has it, has your bitcoin

Source: raw/Theory/security/seed.md


Passphrase (25th Word)

An optional BIP39 extension: add an arbitrary passphrase to your seed. This creates an entirely different wallet tree. Benefits:

  • Protection against physical seed discovery (attacker finds your seed words but not the passphrase)
  • “Plausible deniability” wallet: keep a small decoy amount on the no-passphrase wallet

Warning: Passphrase loss = permanent funds loss. Store separately from the seed words.

Source: raw/Theory/security/passphrase.md


Hardware Wallets

Hardware wallets are dedicated signing devices that keep private keys off internet-connected computers. The private key never leaves the device; transactions are signed on the device and broadcast via an airgap or USB.

DeviceSecurity ModelNotable Feature
ColdcardAirgapped (microSD), secure elementPSBT, advanced multisig, open firmware
SeedSignerDIY (RPi Zero + camera), statelessNo persistent storage; generates keys from seed at runtime
Foundation PassportOpen source, airgappedUS-made, QR-based signing
TrezorUSB, open sourceMost accessible; no secure element on older models
LedgerUSB, closed sourceLargest market share; secure element
BitBox02USB, open source SwissBitcoin-only edition

Recommended: Coldcard for advanced users; SeedSigner for DIY/open source enthusiasts; Trezor/Foundation Passport for accessibility.

Source: raw/Theory/security/hwws.md, raw/Practice/hodl/coldcard.md, raw/Practice/hodl/seedsigner.md


Multisig

Multisig (M-of-N) requires M signatures out of N possible keys to spend. Benefits:

  • Eliminates single point of failure: lose one key → funds still safe
  • Eliminates single point of theft: steal one key → funds still safe
  • Geographic distribution: keys can be stored in different locations

Common setups:

  • 2-of-3: most common; one key lost is tolerable; two keys required to spend
  • 3-of-5: higher redundancy, higher complexity

Unchained Capital’s model: collaborative custody with 2-of-3 where the user holds 2 keys and Unchained holds 1. The user retains control; Unchained can help recover if one user key is lost.

Source: raw/Theory/security/multisig-1.md, raw/Theory/security/multisig-2.md, raw/Theory/security/what-is-multisig.md


Wallets

WalletTypePlatformNotes
ElectrumDesktop hot + coldWindows/Mac/LinuxMature, coin control, connects to own node
BlueWalletMobileiOS/AndroidWatch-only, PSBT multisig, LN layer
ColdcardHardware signing deviceAirgappedBest-in-class cold storage
SeedSignerDIY hardwareAirgapped RPiStateless, cheapest airgapped option
Smartphone cold storageRepurposed phoneAirgapped phoneOld phone + Electrum in airplane mode

Source: raw/Practice/hodl/


PGP (Verifying Software Downloads)

Before running any Bitcoin software, verify the cryptographic signature of the download. PGP (Pretty Good Privacy) allows developers to sign releases; users verify signatures against known public keys.

The pgp.md guide walks through the full process using GPG command-line tools.

Source: raw/Practice/security/pgp.md


Physical Security

The weakest link in Bitcoin security is often physical:

  • Seed stored in a single location can be lost in a fire or flood
  • Seed written on paper can be read by anyone who finds it
  • Passphrase stored with seed defeats its purpose

Best practices:

  • Metal seed plate (fire/water resistant)
  • Seed and passphrase stored separately
  • Multisig with geographically distributed keys
  • Trusted party with one key but not the passphrase (Unchained model)

Common Attacks

AttackDescriptionDefense
Supply chainCompromised hardware wallet before deliveryBuy direct from manufacturer; verify firmware
Seed theftPhysical access to seed storagePassphrase, geographic distribution
PhishingFake wallet websiteVerify URLs; use hardware wallets
$5 wrenchPhysical coercionGeographic key distribution, multisig, decoy wallets
MalwareClipboard hijacking of addressesAir-gapped signing, hardware wallets

Sources


Glossary | Bitcoin | privacy | UTXO | MuSig2 | cold storage | Hal Finney | cypherpunks

  • bitcoin] — what you’re securing
  • privacy] — privacy enhances security
  • multisig] — deep-dive on multisignature schemes, M-of-N, MuSig2, PSBT workflow
  • storage] — practical setup guides
  • hal-finney] — PGP pioneer, security thinking