Crypto exploits

Truebit exploit analysis

An unverified, pre-0.8.0 Solidity overflow in Truebit's TRU bonding-curve pricing function returned zero instead of a real price, letting an attacker mint TRU for free and drain the pool's ETH. CertiK and Verichains both report about $26.6 million lost, with a second, smaller attacker taking roughly 71 ETH independently.

David

Security ·

Reported loss
$27M
Occurred
Logged
Chain
Ethereum

Logged as “2026-01-09: Overflow on Truebit”.

Analysis2 min read

Truebit ran TRU, a token sold and redeemed directly against a bonding-curve pool on Ethereum, through a buyTRU/sellTRU interface backed by a pricing contract that had gone unaudited and unverified for more than three years. CertiK's incident analysis and Verichains' separate write-up both trace the 8 January 2026 loss to the same function, getPurchasePrice(), on the proxy at 0x764C64b2A09b09Acb100B80d8c505Aa6a0302EF2, which forwarded the call to an implementation at 0xC186e6F0163e21be057E95aA135eDD52508D14d3 that nobody had published the source for. Verichains decompiled the bytecode to read the logic directly.

The bug was a plain integer overflow, the kind Solidity versions below 0.8.0 do nothing to catch. getPurchasePrice() computed a price formula whose intermediate terms, as the pool's reserve and TRU's total supply moved, could sum past 2^256. Verichains' decompilation shows two such terms, named v9 and v12 in the recovered bytecode, summing to a value the CertiK analysis records as exceeding 2^256 and wrapping around, so a division that should have returned a large required payment returned zero instead. Zero meant free: the attacker could call buyTRU for any amount of TRU without sending the ETH the formula was supposed to demand.

The published proof of concept, Truebit_exp.sol, reproduces the exploit as a loop rather than a single call. Each pass reads the pool's current reserve and THETA parameter, solves for the largest amount of TRU that still prices at the overflow point, buys that amount for free, approves it back to the pool, and sells it for ETH, draining a slice of the pool's ETH balance each time. The loop runs until the pool's own ETH balance drops under 0.1 ether.

CertiK and Verichains agree on the scale: about $26.6 million taken in total. The primary attacker, 0x6C8EC8f14bE7C01672d31CFa5f2CEfeAB2562b50, split 8,535.36 ETH, close to the README's "8540ETH" figure, between two wallets. CertiK also names a second, separate attacker, 0xc0454E545a7A715c6D3627f77bEd376a05182FBc, who found the same free-mint window independently and extracted roughly 71 ETH, later laundered through Tornado Cash, a smaller and distinct haul from the primary attacker's.

Neither write-up records a patch, a pause, or a compensation plan from the Truebit team. Verichains' own conclusion is that the contract's three years as closed, unaudited code, rather than any single design choice, is what let a pre-0.8.0 Solidity overflow survive into 2026; it recommends publishing source and running regular independent audits going forward. That framing lines up with NotionalFinance, a later 2026 incident DeFiHackLabs also reproduces, where, per DeFiHackLabs, an ERC1155 fCash mint was used to drain an escrow. The two incidents are both integer-arithmetic failures in old Solidity code, but not the same bug: Truebit's was an unguarded addition overflowing past 2^256 in a purchase-price formula, while Notional's was a truncating uint128 cast in a collateral check. They share neither a codebase nor a team.

Sources read (4)

Other exploits

Query every incident yourself — free, no signup

Updated 9 Nov 2026. Figures are as reported by the sources listed above and are not independently verified.