Rising DeFi Protocol Balancer Loses $500,000 To Hacker In Pool Exploit

The Decentralized Finance (DeFi) ecosystem has once again come under attack as a decentralized automated market maker exchange suffered losses close to half a million dollars yesterday.

Balancer Lost $500k In Pool Vulnerability

DeFi project Balancer has lost about $500,000 worth of multiple tokens to a hacker due to a vulnerability in two of Balancer’s pools. News about the hack emerged on social media on Sunday evening, but Balancer did not issue an official report until this morning.

According to the report, the attacker only stole funds from two pools containing STA and STONK, known as “deflationary tokens” or “transfer fees.” Balancer claims the vulnerability only affects pools “where a token has these transfer fees.”

A Similar Pattern

The perpetrator adopted a similar exploitation method used on other DeFi protocols in the past. He used Tornado Cash to obtain the initial funds which he used to deploy smart contracts and conduct the attack. This way, he was able to hide the source of his ETH, DEX Aggregator 1inch explained.

Using the smart contracts, he obtained a flash loan of 104K ETH (appr $23.2 million) from decentralized lending protocol dYdX and converted it to WETH, an Ether-pegged stablecoin. After that, he started trading WETH and STA continuously in increasing quantities.

You Might Also Like:

As reported, STA has a transfer fee on each trade, and the pool expects it to receive a balance without the fee. Balancer further explained that “after enough calls, the attacker calls gulp() which syncs the internal pool accounting of a token balance to the actual balance as stored in the token tracker contract.”

Since STA’s balance is almost nothing, its value relative to other tokens is extremely high. This allowed the hacker to drain funds by swapping STA for other cryptocurrencies in the pool, including ETH, WBTC, LINK, and SNX.

After completing his mission, the attacker quickly repaid the $104K flash loan to dYdX, and the stolen funds were transferred to unknown addresses.

Balancer’s Fault?

In its update, Balancer claimed it is not aware that this type of attack was possible. However, a Twitter user argued that the hacker was able to exploit the vulnerability because Balancer Labs refused to acknowledge the detailed attack vector report, which he submitted to the project during its bug bounty program in May.

Responding to the tweet, Mike McDonald, the co-founder and CTO of Balancer, said the submitted bug report covered issues they were already aware of, so they warned about the unintended effects of ERC20 tokens with transfer fees could have on the network.

4th Largest DeFi Project

Despite the attack, Balancer is now the fourth largest DeFi project on Ethereum with over $116 million worth of ETH locked in the protocol, which is almost a 100% increase in one week.

Balancer launched its governance token BAL on June 23. Following the launch, BAL’s price recorded more than 200% growth, moving from $6.65 to $22.28 in one day.

Binance Futures 50 USDT FREE Voucher: Use this link to register & get 10% off fees and 50 USDT when trading 500 USDT (limited – first 200 sign-ups & exclusive to CryptoPotato).

Click here to start trading on BitMEX and receive 10% discount on fees for 6 months.


The post appeared first on CryptoPotato

Buy Bitcoin with Credit Card

BitMex Leverage Trading

Automated Trading Bot

Related Posts

Leave a Reply

Bitcoin (BTC) $ 65,245.48 1.44%
Ethereum (ETH) $ 2,930.32 2.89%
Tether (USDT) $ 1.00 0.08%
BNB (BNB) $ 567.15 3.24%
Solana (SOL) $ 158.16 1.21%
USDC (USDC) $ 0.999882 0.06%
XRP (XRP) $ 0.514698 0.57%
Lido Staked Ether (STETH) $ 2,927.37 2.85%
Toncoin (TON) $ 6.68 4.05%
Dogecoin (DOGE) $ 0.149824 4.08%