Token-0x shadow audit โ a self-transfer inflation bug (CodeHawks FF 2025-12)
Sixth audit in the copperbramble/audit-notes portfolio. Yul-heavy ERC20 base implementation (222 nSLOC). CRITICAL: _transfer self-transfer inflates balance (anyone with N tokens can mint N more per call). Plus 3 HIGH (missing mint/burn events + burn underflow) + 1 MEDIUM + 3 LOW + 2 INFO. Multi-LLM cross-check caught the CRITICAL bug that solo pass missed.