Thetanuts Finance Hack

Reported loss $2.1M
ethereum
Flash Loan Attack

What happened

In June 2026, Thetanuts Finance reported an exploit affecting a Legacy Index Vault on Ethereum. Security reporting estimated about $2.1 million in option-token value was exposed. The available analyses attribute the attack to a flash-loan-assisted rounding error in the vault's minting or share calculation.

Technical root cause

A rounding or integer-division error in legacy vault accounting could be amplified with flash liquidity. Share and mint calculations must explicitly define rounding direction and be tested at extreme ratios and atomic deposit/withdrawal boundaries.

How it happened

Public incident reporting describes an attacker using a flash loan to exploit an integer-division or rounding edge case in the legacy vault's accounting. The faulty calculation allowed option-token exposure to be minted or obtained at a cost that did not match its economic value. A later community analysis reported that whitehats recovered a substantial portion of the exposed assets, but this page does not state a recovered amount because that figure is not corroborated by the primary project statement in the source set.

The incident is a reminder that vault math is security-critical: rounding direction, precision, and the order of accounting updates must hold even when capital is supplied atomically.

Protocol details

Classification Token & Share Accounting / Arithmetic
Protocol Type Yield
Implementation language Solidity
Protocol links Website @ThetanutsFi

Market Context at Time of Hack

Token Price at Hack $0.00117213
Market Cap at Hack $3.7M
Reported loss / token market cap 56.65%
Token Categories
Ethereum Ecosystem

Security review history

Build your security review skills

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