What Changes When Current Security Practices Meet the Blockchain
summary
Public blockchains make code permanent and user keys authoritative, so common server assumptions break: a reentrancy attack exploits a fallback to repeatedly drain funds when state updates occur after external calls; rounding rules (integer division) create predictable losses; mempool exposure enables front‑run‑and‑back‑run sandwich attacks that push prices against users; a single flash loan oracle manipulation can inflate wrapped‑BTC from $10,000 to $15,000 in one transaction and drain a pool. Defenses: update state before external calls, use audited contracts and decimal libraries, protect mempool privacy, and rely on decentralized oracles.
AI-written summary · about
chapters (13)
- 0:00Introduction to blockchain security
- 1:08Immutable nature of blockchain
- 2:35Shift from web two security
- 4:04Changes in trust model
- 5:54Ownership model transformation
- 8:00Execution model differences
- 11:12Real blockchain security incidents
- 12:17Reentrancy attack explained
- 15:11Rounding error vulnerabilities
- 18:02Sandwich attacks in DeFi
- 20:31Oracle manipulation risks
- 23:19Mitigation strategies for attacks
- 24:02Conclusion and contact
