Writing & Technical Notes
In-depth post-mortems of DeFi protocol exploits, explorations of EVM execution quirks, cryptographic primitives, and computational complexity theory.
-
September 15, 2026
The Debt That Became Zero: Inside the Notional Finance Exploit
On September 4, 2026, Notional Finance was attacked for approximately .73 million. All it took was one unsafe cast inside
ExchangeRate._convertToETH()to invert negative debt balances into positive collateral and drain protocol reserves. -
September 04, 2026
Timber Merkle Tree: Cryptographic Proofs & On-Chain Verification
How incremental Merkle trees maintain state without requiring full tree recomputation on every deposit. Breaking down frontier node caching, zero-hash precomputations, and verifying membership proofs inside Solidity contracts.
-
November 02, 2025
The Missing Link: How Circuits Connect P vs. NP to Zero Knowledge
Why NP problems are defined as "easy to verify," how high-level software logic is transformed into mathematical constraints through arithmetization, and why this mathematical equivalence forms the bedrock of zero-knowledge proof systems.
-
October 31, 2025
Is Genius a Bug? Cracking the Code of P vs NP
An intuitive look into the Millennium Prize problem: is the creative process of discovering a mathematical proof fundamentally harder than verifying one? What would the world look like if P = NP?