BunniXYZ Ethereum exchange suffers $2.3M breach

Source Cryptopolitan

The BunniXYZ Ethereum exchange saw a series of unauthorized outflows. On-chain investigators identified the event as a hack, with losses of around $2.3M. 

BunniXYZ, an Ethereum decentralized exchange, has been exploited through one of its smart contracts. The hacker moved mostly stablecoins, for a total loss of $2.3M. 

Based on the transaction history, the hacker attacked USDT and USDC vaults, then moved the tokens through the Ethereum ecosystem, ending up with a mix of ETH and stablecoins. Within the first minutes, the BunniXYZ project recognized the attack against its app, closing all smart contracts. 

Soon after the hack, the exploiter continued to swap funds into ETH through other DeFi protocols. 

In the hour after the attack, the hacker did not yet move or mix the funds, except for the initial movements through DeFi protocols. The attack against BunniXYZ is part of the latest series of relatively minor hacks, stealing less than $10M. 

Even the relatively small attacks often cost the reputation of protocols and destroy new DeFi hubs. One of the most recent smart contract exploits was against BetterBank, as Cryptopolitan reported. Such attacks raise suspicions of insider jobs, or malicious code injected into Web3 by DPRK hackers. 

BunniXYZ attacked at the peak

BunniXYZ is a DEX using both Ethereum and Unichain. The new market also uses the Uniswap V4 technology to create special vaults and markets with more complex trading rules. 

As with other markets, BunniXYZ was attacked soon after reaching a local peak of value locked. At the end of August, the exchange carried up to $60M in its vaults. The market was still relatively small, after launching in February and finding its place among new DeFi protocols. 

August was also one of the most successful months for the DEX, with over $1B in volumes. The exchange was specifically building liquidity for rehypothecation, while avoiding liquidations during market downturns. The DEX liquidity was also linked to Euler Protocol for passive income.

BunniXYZ rode on the expanded volumes of Uniswap V4, as the protocol drew in over $393M to its vaults on Ethereum and $298M on Unichain.

Hacker exploited BunniXYZ liquidity calculation

Post-hack analysis showed BunniXYZ was vulnerable due to its specific liquidity recalculation contract. The DEX is a liquidity hook, using the Uniswap V4 technology. However, instead of using Uniswap’s liquidity calculation, BunniXYZ recalculates the Liquidity Distribution Function. 

The exploiter discovered the Liquidity Distribution Function could break from trades of specific sizes. This meant the smart contract would pay out more tokens from the liquidity pool than owned in reality, ending up draining the exchange. The attacker had to repeat multiple transactions to finally accrue $2.3M, then swap them out for ETH. He then ended up depositing the ETH into Aave, holding $1.33M in AethUSDC and $1M in AethUSDT based on the wallet’s final balance. 

BunniXYZ has undergone previous audits, but the LDF bug may have arrived with a later version of the exchange. The most probable cause is a precision bug, which required the hacker to perform multiple transactions to accrue a bigger balance based on the flawed recalculation.

Get up to $30,050 in trading rewards when you join Bybit today

Disclaimer: For information purposes only. Past performance is not indicative of future results.
placeholder
Experts Warn Fed Against Rate Cuts Despite 99% Market ConfidenceWhile Wall Street may be convinced the Federal Reserve (Fed) is about to slash interest rates, many experts argue the hard economic data says otherwise.
Author  Beincrypto
9 hours ago
While Wall Street may be convinced the Federal Reserve (Fed) is about to slash interest rates, many experts argue the hard economic data says otherwise.
placeholder
US Dollar Index (DXY) edges up above 98.00 ahead of key US releasesThe Dollar is trading with marginal gains on Thursday.
Author  FXStreet
10 hours ago
The Dollar is trading with marginal gains on Thursday.
placeholder
China doubles down on practical AI as America spends billions and burns energyAmerica is throwing billions of dollars and burning through massive energy reserves in an arms race to dominate AI before China gets there first.
Author  Cryptopolitan
10 hours ago
America is throwing billions of dollars and burning through massive energy reserves in an arms race to dominate AI before China gets there first.
placeholder
Trump Hosts Tech Titans — But Elon Musk Is Not on the Guest ListU.S. President Donald Trump is set to host a dinner on Thursday with more than two dozen tech leaders.
Author  TradingKey
10 hours ago
U.S. President Donald Trump is set to host a dinner on Thursday with more than two dozen tech leaders.
placeholder
ISM Services PMI Preview: US services sector expected to accelerate in AugustOn Thursday, we’ll get the latest read on the US services sector when the Institute for Supply Management publishes its August Services PMI.
Author  FXStreet
10 hours ago
On Thursday, we’ll get the latest read on the US services sector when the Institute for Supply Management publishes its August Services PMI.
goTop
quote