Crypto exploits

Thetanuts exploit analysis

A deprecated Thetanuts index vault let an attacker claim its component-vault backing through Aave-borrowed shares, then remint replacement shares against a supply floor that never checked for real collateral. Cryptonews and BitcoinWorld put the total at $2.1 million, of which DeFiHackLabs' reproduction captures the realized 105,471.50 USDC portion; white hats recovered most of the rest.

David

Security ·

Reported loss
$105K
Occurred
Logged
Chain
Ethereum

Logged as “2026-06-15: Index Vault Component Share Accounting Flaw on Thetanuts”.

Analysis3 min read

The vault behind this incident was not part of Thetanuts Finance's current product line. Multiple outlets reported that Thetanuts confirmed the contract "had been deprecated years ago" with "no relation to any of our current contracts or products," a legacy index vault the protocol had migrated away from long before the attack. The index vault represented a basket of component option vaults, each tracking a separate underlying: Bitcoin, Ether, Avalanche, BNB, and Polygon priced in USD.

The proof of concept DeFiHackLabs published, read in full here, shows Aave listing the index vault's own shares as a flash-loanable asset. The attack borrowed nearly the entire supply held by Aave's aToken, three units short of it, then used the callback window to call the vault's claim(), which released the component-vault shares backing those borrowed index shares to the attacker. Repaying Aave required returning more index shares than were borrowed, including a premium, but the attacker no longer held the backing it had just claimed out. Instead of repaying from real collateral, the attack contract called the vault's mint() repeatedly, each call sized by the attack contract to totalSupply() minus one (or the remaining shortfall, if smaller), with component transfer amounts staying at zero, and kept minting until the repayment amount was reached. Those freshly minted shares carried no claim-able backing at all. The underlying components had already left the vault.

Cryptonews and BitcoinWorld both cite security researcher ExVul attributing the exploit to "a vulnerability in the vault's redemption logic," which matches a mint function that can be called without any corresponding deposit once the vault's accounting no longer ties new shares to new backing. PeckShieldAlert and Blockaid independently flagged the exploit transaction on Ethereum as it happened.

What was actually taken

The two figures reported for this incident describe different things, and conflating them would misstate the loss. DeFiHackLabs' reproduction targets a realized profit of about 105,471.50 USDC, the amount the attack contract converted directly to stable value after withdrawing two of the five component positions, Bitcoin and Ether, through the vault's initWithdraw(). Cryptonews and BitcoinWorld, reporting the incident as a whole, put the total notional exposure at $2.1 million drained from the legacy vault. Both outlets report that the attacker converted the realized ~$105,000 in USDC to roughly 60 ETH and held a further $34,000 in USDC-denominated option tokens, while white hats recovered approximately $2 million worth of the remaining option tokens before they could be cashed out. The 105,471.50 USDC figure in the reproduction is the portion that stuck. The $2.1 million is what the exploit briefly put at risk.

This was not the only vault-accounting failure Thetanuts absorbed in 2026. A separate incident, dated two months earlier, hit a different Thetanuts vault through what DeFiHackLabs' own index records as share-rounding manipulation rather than this vault's claim-then-remint path, a reminder that the protocol's exposure here came specifically from code it had already walked away from, not from a single bad line repeated. Cryptonews separately drew its own comparison, noting that Aztec Connect, a privacy bridge abandoned since 2023, lost $2.1 million the same month through a separate verification flaw in its immutable contracts, with all admin keys renounced so no one could patch or pause the code.

What would have prevented it is tying a vault's mint path to a live deposit rather than to a supply floor that only guards against hitting zero, and retiring a deprecated contract's ability to mint or lend at all once a protocol has migrated away from it, rather than leaving the door unlocked because nobody expected anyone to walk back in.

Sources read (5)

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.