DEV Community

Cover image for Three Sui Exploits, One Disease — Why "The Math Looked Fine" Keeps Costing Hundreds of Millions
mehvetero
mehvetero

Posted on • Edited on

Three Sui Exploits, One Disease — Why "The Math Looked Fine" Keeps Costing Hundreds of Millions

Cetus lost $223M to a shift overflow. Aftermath lost $1.14M to a negative fee. Bucket Protocol ships a decimal scaling bug today. All three passed audits. All three have the same root cause.


I've spent the last month reading exploit post-mortems, scanning production Sui contracts, and building lint rules to catch what I kept seeing. After the third time the same shape showed up, I stopped thinking of these as separate incidents.

They're the same bug wearing different clothes.


https://mehvetero.com/

Top comments (0)