Bunni Hit by $8.4M Flash-Loan Exploit — ‘Rounding Error’ Blamed
Decentralized finance protocol Bunni suffered an $8.4 million exploit on September 2, after a sophisticated attacker leveraged a flash loan to manipulate liquidity pools on both Ethereum and Unichain. The incident, which...
Archive context
Older archive item. Useful for background and entity history, but not a fresh market-moving signal.
Decentralized finance protocol Bunni suffered an $8.4 million exploit on September 2, after a sophisticated attacker leveraged a flash loan to manipulate liquidity pools on both Ethereum and Unichain.
The incident, which targeted the weETH/ETH and USDC/USDT pools, has been attributed to a flaw in Bunni’s smart contract logic involving rounding errors.
Bunni Blames Rounding Bug for $2.3M Exploit, Offers 10% BountyAccording to Bunni’s post-mortem, the exploit was executed in three stages. The attacker first borrowed 3 million USDT via a flash loan, using it to manipulate the USDC/USDT pool’s spot price to extreme levels.
With the pool’s active USDC balance reduced to just 28 wei, the exploiter initiated 44 small withdrawals. This exploited a rounding error in Bunni’s code, disproportionately lowering the pool’s liquidity by over 84%.
Exploit Update: The Bunni team has completed analysis of the recent exploit. The details are available in this post mortem blog post (link in comment).
Withdrawals have been unpaused, so LPs are now free to withdraw their assets. All other operations remain paused.
With liquidity artificially suppressed, the attacker carried out a sandwich attack, executing large swaps that pushed prices to distorted values.
By reversing the earlier liquidity reduction, they extracted profits before repaying the flash loan. In total, the exploit yielded approximately 1.33 million USDC and 1 million USDT for the attacker.
Blockchain security firm Cyfrin confirmed that the vulnerability stemmed from how Bunni’s smart contract rounded balances during withdrawals.
While the mechanism was designed to favor pool safety by underestimating liquidity, repeated tiny withdrawals created conditions that allowed the rounding logic to be exploited at scale.
Bunni noted that its largest pool, Unichain’s USDC/USD₮0 pair, was spared due to insufficient flash-loan liquidity available to mount an attack. Exploiting that pool would have required roughly $17 million in borrowed assets, but only $11 million was available across lending venues at the time.
Bunni confirmed that the stolen assets are now split across two wallets linked to the attacker. Investigators traced the origins of the funds but hit a dead end after discovering the wallets were funded through Tornado Cash, a sanctioned privacy tool.
The team has contacted the exploiter directly on-chain, offering a 10% bounty in exchange for returning the remaining funds. Centralized exchanges have also been notified to prevent any attempted off-ramps, while law enforcement has been engaged to pursue recovery options.
In the immediate aftermath, Bunni paused all operations but has since re-enabled withdrawals to allow liquidity providers to recover their deposits. Deposits and swaps remain frozen while developers work on a fix.
Changing the rounding direction of the affected function neutralizes the current exploit vector, though the team acknowledged more extensive testing and security improvements are needed before reopening fully.
Bunni, operated by a six-person team, said it remains committed to continuing development despite the setback. The protocol introduced novel concepts such as Liquidity Density Functions (LDFs), which the team claims represent a new generation of automated market makers.
“We spent years building Bunni because we believe it is the future of AMMs,” the team said in its statement, while pledging to strengthen its codebase and testing frameworks to prevent similar attacks.
August Marks Third-Worst Month for Crypto Security as $163M Lost to Hacks and ScamsBunni, once boasting over $80 million in total value locked (TVL) on BNB Chain, now holds just above $50 million following the exploit. The incident adds to a string of attacks and scams hammering the sector.
Just a day earlier, a Venus Protocol user lost $13.5 million in a phishing scam. According to blockchain security firm PeckShield, the victim unknowingly approved a malicious transaction, granting token permissions that enabled the theft.
@VenusProtocol recovers $27M from exploiter through force-liquidation, sparking decentralization debate over governance intervention.#BNB #Hackhttps://t.co/IO2WhCF0S6
— Cryptonews.com (@cryptonews) September 3, 2025While initial reports suggested $27 million was drained, later analysis showed that debt positions were mistakenly included in the figure. Venus stressed that its smart contracts remained secure and confirmed that only the user was compromised.
The incident followed a surge in crypto-related exploits in August, with PeckShield data showing $163 million stolen across 16 major attacks, up from $142 million in July. The losses made August the third-worst month for crypto security in 2025.
The largest single theft occurred on August 19, when a Bitcoin holder lost 783 BTC, worth $91.4 million, in a social engineering scheme. Attackers allegedly posed as hardware wallet support staff to obtain sensitive credentials before laundering the funds through Wasabi Wallet.
BtcTurk (@btcturk), Turkey's second-largest crypto exchange, loses $48M in a major hack targeting hot wallets across 7 blockchain networks, marking its second incident in 14 months.#CryptoHack #Turkeyhttps://t.co/6Yr8mwgUYO
— Cryptonews.com (@cryptonews) August 14, 2025The Turkish exchange BtcTurk was also hit, losing $54 million in a multi-chain hot wallet breach across seven blockchain networks. The incident brought its cumulative losses to over $100 million following a prior hack in June 2024.
Other notable cases included ODIN•FUN’s $7 million loss, BetterBank.io’s $5 million exploit, and CrediX Finance’s $4.5 million collapse, which turned into an exit scam after developers abandoned the project.
With phishing, exchange vulnerabilities, and exit scams driving mounting losses, August underscored how both technical flaws and human error continue to plague the crypto industry.
The post Bunni Hit by $8.4M Flash-Loan Exploit — ‘Rounding Error’ Blamed appeared first on Cryptonews.
Why this matters
This security story adds another data point to the current market tape and is useful when read alongside nearby source coverage.
Original source
Read on CryptonewsRelated market context
CZ Warns Bitcoin Holders After $70 Million Wallet Exploit: 'Nothing Is 100%'
The Binance founder urged holders to spread funds across multiple wallets as Galaxy Research put the toll from the Coldcard exploi...
Coinbase Posts $359 Million Q2 Loss as Revenue Falls 14%, but Market Share Hits Record 10.3%
Coinbase reported $1.22 billion in second-quarter revenue on Thursday, down 14% from the first quarter and short of the roughly $1...
How thin weekend Bitcoin liquidity turns minor geopolitical news into massive Monday price gaps for ETF holders
An investor who owns Bitcoin through a brokerage account can finish work on Friday, check the closing price of a spot ETF, and ass...
Wall Street is sitting on a $16.3 billion Bitcoin loss, and an August 14 deadline will expose who is quietly fleeing
Bloomberg Intelligence estimates the average net cost basis of US spot Bitcoin ETF capital at roughly $82,249, leaving the positio...
Binance founder CZ calls for wallet diversification after $70 million Coldcard exploit
Binance founder Changpeng Zhao says hardware wallets can still have bugs and suggests spreading funds across multiple wallets afte...
Zero mining revenue, 98% cash collapse, 2 million mysterious shares sets up miner’s 7 billion share survival play
SOS Limited shareholders approved steps that could expand the crypto-linked company’s authorized share pool 100-fold, giving it fa...