Sub topic 6
Security Model: What Must Hold for the Design to Work
Prerequisites and the security model
This chapter assumes you understand blocks, transactions, wallets, and the difference between a coin and a token. You should also be comfortable with percentages and basic probability. The examples use general blockchain concepts, so the exact assumptions depend on the project’s consensus mechanism.
A security model states what an attacker can do, what they cannot do, and which conditions must remain true. It is the bridge between a mechanism and a security claim. A whitepaper that says “the network is secure” without describing this model has not made a testable claim.
Start by asking four questions:
- Who is the attacker?
- What resources does the attacker control?
- Which parties are assumed to behave honestly?
- What breaks if an assumption becomes false?
A useful security model separates guarantees from assumptions. For example, a system may guarantee that one transaction history is accepted by the network, but only while an attacker controls less than a stated share of the consensus power.
Identify the attacker
A serious whitepaper describes attackers by capability, not by vague labels such as “malicious users.” Consider these possibilities:
- A user can submit invalid transactions.
- A key holder can sign transactions and steal assets controlled by that key.
- A network attacker can delay, reorder, or selectively block messages.
- A consensus attacker can create blocks, vote, or propose updates.
- A software attacker can exploit a bug in a client or smart contract.
- An economic attacker can borrow assets, manipulate markets, or make a profitable attack.
The attacker’s cost matters. A claim that an attack is “impractical” should explain whether impractical means technically impossible, too expensive, or likely to be detected.
Check the critical assumptions
Read every security claim as a conditional statement. “The chain resists double spending” may really mean “the chain resists double spending while an honest majority controls the relevant consensus resource and users wait for enough confirmation.”
Common assumptions include:
- Cryptographic primitives, such as digital signatures and hash functions, remain secure.
- Private keys are generated, stored, and used safely.
- Enough validators or miners follow the protocol.
- Network delays stay within the range expected by the protocol.
- The attacker cannot cheaply acquire or rent enough voting power.
- Software implementations agree on the protocol rules.
- Governance does not use upgrade powers to change balances or transaction validity.
These assumptions are not equally strong. A mathematical assumption about a hash function differs from an assumption that anonymous operators will continue to act honestly.
Compare the mechanism with its threat model
Proof-of-work systems depend on the cost and distribution of computational work. Proof-of-stake systems depend on stake ownership, validator behavior, penalties, and recovery from conflicting votes. A permissioned system may depend on a known group of operators and legal or organizational controls.
For each mechanism, locate the exact resource that gives a participant influence. Then ask:
- Can one party control that resource through borrowing, delegation, or collusion?
- Does the protocol punish conflicting behavior?
- Can an attacker censor transactions without rewriting history?
- What happens during a network partition?
- How does the system recover after an outage or compromised key?
| Assumption | Evidence to seek | Failure mode |
|---|---|---|
| Consensus power is distributed | Validator or mining distribution data | Censorship or history rewrite |
| Conflicting votes are punishable | Slashing or penalty rules | Double voting becomes profitable |
| Users control their keys | Wallet and custody design | Theft or irreversible loss |
| Upgrades require independent approval | Governance code and records | Rules change without user consent |
Distinguish finality from confidence
Finality is the point at which a transaction is considered irreversible under the protocol. Some systems provide deterministic finality after a vote. Others provide probabilistic finality, where additional blocks make a reversal less likely but never mathematically impossible.
Do not compare “fast confirmation” with “final settlement” as if they were the same. A whitepaper should state the confirmation rule, the conditions for reversal, and the behavior during conflicting messages or validator outages.
Exercise
Exercise
A whitepaper claims that its proof-of-stake chain is secure because validators can be punished for dishonest behavior. What should you check next?
Show answer
Check which behavior is punishable, how much stake can be slashed, whether validators can censor without being punished, who controls the stake, and whether the penalty is larger than the expected profit from an attack.