Sub topic 3
What you are protecting against
This chapter assumes you know what a private key is and have sent crypto from a wallet app or exchange. Earlier chapters covered how keys sign transactions and who controls them. Here you will name the ways funds are lost, so that later chapters can judge hot and cold wallets against something concrete.
Why start with a threat model
A threat model is a short written answer to four questions:
- What do I hold, and how much is it worth?
- Who or what could take it, or make it unreachable?
- How could they do it?
- What am I willing to give up to prevent it?
Security advice without a threat model is a list of rules with no way to rank them. A hardware wallet in a safe-deposit box suits someone holding a life-changing sum. It is a poor fit for someone who pays for coffee with a few dollars of crypto each week. The model tells you which risks deserve your effort.
A threat model for a self-custody wallet has two kinds of failure:
- Theft: someone else gains the ability to sign. This means they obtain your private key or seed phrase, or they trick you into signing.
- Loss: nobody, including you, can sign any more. The key is destroyed, forgotten, or locked away.
A setup that blocks every thief but destroys the only backup has failed. So has a setup that survives every fire but leaves the seed phrase on a cloud drive. Hot and cold storage trade these two failure kinds against each other.
Assets and attack surface
The asset is not the coins. The coins exist on the blockchain regardless of what happens to you. The asset is the ability to produce a valid signature. Anything that can produce, copy, or influence a signature is part of your attack surface:
- The private key or seed phrase, in every place it is stored.
- The device that runs the wallet software.
- The screen that shows you what you are about to sign.
- The network path between your wallet and the blockchain.
- Every backup, and every person who knows where a backup is.
- The accounts that guard any of the above, such as an email account used to reset passwords.
Hot and cold wallets differ mainly in how large this surface is. A hot wallet's key sits on a device that browses the web, installs apps, and receives messages. A cold wallet's key lives on a device or paper that does none of those things.
The main threats
Malware
Malware is software that runs on your device without your informed consent. Four kinds matter for wallets:
- Keyloggers and screen scrapers record what you type or see. They capture a password or a seed phrase typed into a wallet.
- Clipboard hijackers watch for something that looks like an address and swap it for the attacker's. You paste, the address looks right at a glance, and the funds go elsewhere.
- Remote access trojans give the attacker control of the machine. They can open your wallet, read unencrypted key files, and click "send".
- Malicious browser extensions read page contents and can alter the transaction a web wallet displays.
Malware attacks the device, so it threatens any key that touches the device. This is the strongest argument for cold storage. If a key never exists on an internet-connected machine, malware on that machine cannot read it.
Malware can still attack a cold setup indirectly, by changing what you are asked to sign. If an infected computer builds the transaction and an offline device signs it, the infected computer may have put the attacker's address in it. This is why a signing device with its own screen, and the habit of checking that screen, matters. Later chapters cover it.
Phishing and social engineering
Phishing tricks you into handing over a secret or approving something harmful. No software vulnerability is needed, because you are the one who acts. Common forms:
- Fake wallet sites and apps. A search ad or look-alike app prompts you to "import" your seed phrase. Anyone who types a seed phrase into a site or app they did not verify has handed over everything.
- Fake support. A message or call claims to be from a wallet company or exchange and asks for your seed phrase to "verify" or "fix" your account. Legitimate support never needs it.
- Address poisoning. The attacker sends you a tiny transaction from an address that matches the first and last characters of one you use. Later you copy it from your transaction history by mistake.
- Malicious approvals. On smart-contract chains, a site asks you to sign a message that grants a contract permission to spend your tokens. The signature looks harmless but is a blank cheque.
- Fake airdrops and urgent offers. These pull you toward a link or a signing request.
Phishing hits hot wallets hardest. They are built for quick interactions with websites and apps, and every one of those is a chance to be fooled. Cold wallets reduce the exposure because you interact with them rarely. They do not remove it, since someone can still phish a seed phrase out of you.
Physical theft and unauthorized access
Physical threats cover anyone who gets their hands on a device or a backup:
- A stolen or lost phone with an unlocked or weakly protected wallet.
- A burglar who finds a seed phrase written on paper.
- A family member, houseguest, or contractor with unsupervised access.
- A tampered hardware wallet intercepted in shipping.
A seed phrase is as powerful as the wallet it came from. Anyone who reads the words can rebuild the wallet on another device and spend the funds. A written backup is therefore a high-value target and needs its own protection. A thief with the device but not the PIN is far less dangerous than a thief with the words.
Loss, failure, and your own mistakes
Loss is the quietest threat, and for many people the most likely one. Typical causes:
- A phone breaks and the seed phrase was never written down.
- The only backup is destroyed by fire, flood, or a house move.
- A passphrase is forgotten, or the backup is stored somewhere that turns out to be unreadable.
- The owner dies and nobody knows the funds exist or how to reach them.
- A transaction is sent to the wrong address or the wrong network. The blockchain does not reverse it.
Cold storage can make loss more likely, because the setup is more complex and gets used rarely. You may go years between interactions, and a procedure you have not tested may not work when you need it. Hot wallets have the opposite problem. Daily use keeps you familiar with them, but a phone is a fragile place to keep a key.
Coercion
Coercion means being forced to sign. It is sometimes called a "wrench attack", after the idea that an attacker who cannot break the cryptography can threaten the owner instead. It matters more once your holdings are known to others, through a public social post, a leaked exchange database, or a visible on-chain balance linked to your name.
No wallet type fully defeats a determined coercer. A cold wallet means you cannot sign on the spot without going to a storage location. Multisignature setups, where spending needs several keys held in different places, can mean no one person can comply even under pressure. Privacy is the first defence, because people who do not know you hold crypto do not target you.
Third-party and supply-chain risk
If you do not hold the keys, you also depend on whoever does. An exchange can be hacked, go insolvent, freeze withdrawals, or lose access to your account. This is the custody trade-off from the previous chapter, seen as a threat.
Your own tools carry a related risk: a tampered or counterfeit hardware wallet, a compromised software update, or a wallet app that is not what it claims to be. Buying hardware from the manufacturer, verifying downloads, and keeping software current all address this.
Mapping threats to wallet types
The table below gives a rough comparison for a typical well-run setup. It is a starting point, not a guarantee, because exposure depends on how you use each wallet.
| Threat | Hot wallet | Cold wallet |
|---|---|---|
| Malware on your computer or phone | High exposure: the key is on the infected device | Low exposure: the key is offline, but a compromised computer can still tamper with the transaction you sign |
| Phishing and malicious approvals | High exposure: frequent online interactions | Medium exposure: fewer interactions, but seed phrase phishing still works |
| Physical theft of a device | Medium: a locked phone helps | Medium: PIN and encryption help, but the backup is the real target |
| Theft of the written backup | Same for both: the seed phrase gives full access | Same for both |
| Loss of device or backup | Medium: phones break and get lost | Medium to high: rarely used procedures get forgotten |
| Coercion | Funds spendable immediately | Delay and distance help a little |
| Convenience cost | Low | High |
Where a threat depends on the seed phrase backup, the wallet type does not change your risk. The backup is the same secret in both cases.
Turning the model into numbers
You can make the comparison concrete by scoring each setup. The scores below are judgments, not measurements. Their value is that they force you to make the judgments explicit and to see where your plan is weakest.
THREATS = ["malware", "phishing", "physical_theft", "loss", "coercion"]
# Exposure from 0 (very low) to 3 (very high). Edit these to match your own setup.
SETUPS = {
"phone_hot_wallet": {"malware": 3, "phishing": 3, "physical_theft": 2, "loss": 2, "coercion": 3},
"hardware_wallet": {"malware": 1, "phishing": 1, "physical_theft": 1, "loss": 2, "coercion": 2},
}
# How much you care about each threat, from 0 to 3.
WEIGHTS = {"malware": 3, "phishing": 3, "physical_theft": 1, "loss": 2, "coercion": 0}
def risk_score(exposure, weights):
return sum(exposure[t] * weights[t] for t in THREATS)
for name, exposure in SETUPS.items():
print(name, risk_score(exposure, WEIGHTS))With these inputs the phone scores 24 and the hardware wallet scores 10. Setting the coercion weight to 0 reflects a person who has kept their holdings private. A person with a public profile would raise it, and the gap would narrow. The point is the exercise of choosing the weights, not the output.
Common errors in threat modelling
- Defending against the wrong attacker. Spending effort on nation-state-level attacks while keeping the seed phrase in a photo album synced to the cloud.
- Treating loss as less serious than theft. A permanent lockout costs the same as a theft and is more common among careful people.
- Assuming cold means safe. A cold wallet with a seed phrase typed into a website, or a backup left in plain view, is not protected.
- Ignoring the people around you. Relatives, roommates, and anyone who knows you hold crypto are part of your threat model, as is anyone who must recover funds after your death.
- Securing the wallet but not the accounts around it. An email account with weak protection can reset the passwords on an exchange or wallet service.
- Never revisiting the model. A balance that grows tenfold changes which risks are worth paying to avoid.
What comes next
With the threats named, the following chapters evaluate each wallet type against them. Hot wallets are fast and exposed to malware and phishing. Cold wallets shelter the key but add friction and raise the risk of loss. Neither is correct for every purpose, which is why the later chapters on tiered storage and multisignature combine them.
Exercise
A friend keeps 0.02 BTC on a phone wallet for small purchases and 2 BTC on a hardware wallet. The seed phrase for the hardware wallet is written on paper and kept in a desk drawer at home. They have not told anyone the funds exist. Name the two threats that most endanger the 2 BTC, say which of them is theft and which is loss, and suggest one change for each.
Show answer
The paper in the desk drawer exposes the funds to physical theft, since anyone who finds and reads the seed phrase can rebuild the wallet and spend the funds. One change is to store the backup in a more secure place, such as a safe or a safe-deposit box, or to use a metal backup that resists damage. The paper in an unprotected drawer, and a single copy known to nobody else, also exposes the funds to loss: fire, water, or the friend's death would leave the coins unreachable. One change is to make a second backup in a separate location and to give a trusted person, or a written recovery plan held by a lawyer, the information needed to find and recover the funds. A threat in the answer may also be phishing or coercion, but the two with the clearest evidence in the scenario are physical theft of the backup and loss without a recovery plan.