Killua
← All writing Series · 8 parts

Bug Hunting Field Guide

Killua · 61 min read

Each part takes one bug class from real, public exploits: how it works, a real incident step by step, how to hunt for it in a codebase, the lookalikes that are safe, and the fixes that hold. Every part ends with questions to test yourself.

Loss figures come from public incident reports and are rounded. Where I couldn't confirm a figure, I left it out.

  1. 01Spot-price oraclesBorrowing against a lie8 min
  2. 02Permissionless executorsBorrowed authority and confused deputies7 min
  3. 03Donation-rate inflationMinting value from thin air6 min
  4. 04Signature validationTrust nothing you didn't derive7 min
  5. 05Unguarded fund moversPublic sweeps and balance drains6 min
  6. 06Signature replayThe skeleton-key digest7 min
  7. 07Re-callable initializersTaking over a proxy with one call7 min
  8. 08Pool-side burn plus sync()The token that deletes its own pool13 min