Truebit Hack

Reported loss $26.5M
Ethereum
Integer Overflow

What happened

On January 8, 2026, Truebit was exploited through an integer-overflow pricing bug. Reports estimate approximately $26.6M extracted; the campaign uses a conservative $26.5M canonical estimate.

Technical root cause

Truebit’s getPurchasePrice() path relied on arithmetic vulnerable to integer overflow in legacy Solidity below 0.8.0, causing the required ETH price to evaluate to zero for a very large input.

How it happened

The attacker supplied an extremely large mint amount that made getPurchasePrice() return zero, called buyTRU() to mint TRU without paying ETH, and repeatedly called sellTRU() to drain ETH.

Protocol details

Classification Arithmetic Error
Protocol Type Exploit/Other
Implementation language Solidity

Build your security review skills

Work through hands-on labs covering real exploit mechanics, review techniques, and defensive patterns.