Bookshelf & Research Notes
A living database of research papers, foundational books, protocol specifications, and essays I study across smart contract security, EVM execution internals, zero-knowledge proofs, and distributed systems.
Each entry is cataloged with categorized tags, a 1–2 sentence TL;DR, and my personal Two Cents on why it matters to real-world protocol security and engineering.
Research Papers & Protocol Autopsies
-
TL;DR Demonstrates how an unchecked narrowing cast from
int256touint128inside an exchange-rate conversion function truncated-2^128debt to zero, bypassing free-collateral checks and draining $1.73M.Two Cents In Solidity, standardSafeCastlibraries do not protect against type truncation if the function narrow-casts the absolute value without first asserting signed two's-complement bounds. Boundary fuzz tests in Foundry should always test asymmetric extrema (type(int128).minandtype(uint128).max). -
TL;DR How incremental Merkle trees maintain an append-only cryptographic root on-chain using frontier node caching and precomputed zero-hashes without recalculating the entire tree on each deposit.Two Cents Frontier node tracking reduces on-chain storage and execution costs from O(N) to O(log N). Critical foundation for anyone auditing privacy pools, deposit contracts, or ZK rollup sequencers.
-
PLONK: Permutations over Lagrange-bases for Oecumenical Non-interactive Arguments of Knowledge SeminalTL;DR Introduced a universal, updatable Structured Reference String (SRS) for SNARKs using polynomial commitments (KZG) and a permutation check across grand products for circuit gate copy-constraints.Two Cents PLONK is the intellectual bedrock of modern ZK-EVMs. The realization that circuit wiring can be expressed as a permutation argument over roots of unity is pure mathematical elegance.
-
TL;DR Formalized Miner/Maximal Extractable Value (MEV) as an inherent game-theoretic phenomenon in public mempools, demonstrating priority gas auctions and sandwich attacks.Two Cents Essential reading for smart contract auditors. If an invariant or economic state transition in an AMM or liquidation bot relies on transaction order without slippage protection or TWAP oracles, it will be extracted in production.
Books & Technical Treatises
-
Proofs, Arguments, and Zero-Knowledge EssentialTL;DR A rigorous, unified mathematical treatment of interactive proofs, the sum-check protocol, GKR, multilinear extensions, and modern non-interactive argument systems.Two Cents Hands down the single best textbook for understanding how ZK provers actually work beneath the circuit abstraction. Chapter 4 on the sum-check protocol is essential reading.
-
Designing Data-Intensive Applications Must-ReadTL;DR The definitive guide to the trade-offs of distributed systems: consensus models, replication algorithms, transactions, partition tolerance, and write-ahead logs.Two Cents Blockchains are fundamentally distributed, Byzantine-fault-tolerant state machines. Kleppmann's chapters on transactional isolation and linearizability clarify why oracle feeds and cross-chain message relays suffer from consistency lag.
-
The Art of Software Security Assessment SeminalTL;DR The classic bible of identifying security vulnerabilities through manual source code review: boundary analysis, type conversion errors, memory/state corruption, and trust boundaries.Two Cents Even though written for C/C++, the mindset of vulnerability discovery translates directly to smart contract security. Bug-hunting is not about reading code line by line; it is about mapping trust assumptions and violating them.
Essays & Methodologies
-
TL;DR A rapid 3-pass framework (Intuition → Empirics → Details) to extract actionable takeaways from complex technical papers without drowning in mathematical formalism.Two Cents Transformed how I read zero-knowledge and cryptography preprints. Build an intuitive mental model of the system's claims first before diving into proof appendices.
-
TL;DR Explores why NP problems are defined by efficient verification, how high-level code is flattened into algebraic circuits (R1CS), and why this equivalence enables zero-knowledge proofs.Two Cents Bridging theoretical computer science with applied cryptography: once you realize verification is easier than computation, zero knowledge becomes the natural mathematical extension of NP completeness.