Aug 28, 2023 Alexander Chelpanov
Balancer's Vulnerability: What Happened, What's at Stake, and What You Need to Know
On August 22, 2023, the decentralized finance (DeFi) community was shaken by a tweet from Balancer – a renowned Ethereum-based automated market maker. The platform announced a critical vulnerability in some of its V2 pools.
Balancer has received a critical vulnerability report affecting a number of V2 Pools.
— Balancer (@Balancer) August 22, 2023
Emergency mitigation procedures have been executed to secure a majority of TVL, but some funds remain at risk.
Users are advised to withdraw affected LPs immediately.https://t.co/PDzX32gqeS pic.twitter.com/F1f649Wz3L
Breaking Down the Situation
Days after the announcement, tragedy struck: Balancer was exploited for nearly $900,000. The swift sequence of events raised eyebrows, and concerns grew among users. The vulnerability, initially discovered on August 22, mainly affected the protocol's boosted pools. While the team urged users to withdraw their funds and paused several pools to curtail the potential damages, certain assets deployed on various chains including Ethereum, Polygon, and Avalanche were at risk.
To make matters clearer:
• August 22: Balancer discloses a vulnerability, primarily in its boosted pools. Users are strongly recommended to withdraw from affected liquidity pools (LPs). At this point, around 1.4% of its total assets, a staggering $5 million, were at risk.
• August 24: Balancer updates the community. Although over 98.7% of the liquidity deemed vulnerable is now secured, 0.42% of total TVL ($2.8 million) remains under threat.
• August 25: Another update comes in. Over 99.7% of liquidity is secured, but $565,199 still looms in the danger zone.
• August 27: The unwanted occurs. Balancer is exploited for almost $900,000 a few days post the vulnerability disclosure.
Meier Dolev, a blockchain security specialist, shed light on the Ethereum address supposedly belonging to the perpetrator. Shortly after the exploit, this address received transfers of DAI stablecoin, taking its balance north of $893,978.
What's Being Done?
Balancer's team has been tirelessly working to ensure the safety of its users' funds. When the vulnerability was first detected, emergency procedures were promptly initiated, safeguarding a majority of the total value locked (TVL). By the time of the last update, they managed to secure 99.7% of the previously vulnerable liquidity.
In response to the vulnerability report, the Balancer community sprang into action. The Emergency SubDAO 203 enabled a proportional exit strategy from all affected pools and paused any within the pause window. Users are also provided with a personalized UI page to ascertain if their wallets are linked to any compromised pools, making the withdrawal process smooth.
Steps for Users:
- Visit the link provided by Balancer to see if your wallet is linked to any vulnerable pools.
- If you’re part of an affected pool, you should withdraw immediately.
- Ensure you're migrating your assets to safe pools or consider pulling out entirely for the time being.
- Those facing technical challenges can seek assistance via the Balancer Discord's #support channel.
Note of Caution: Beware of misinformation. There isn't any "BAL claim program" as some might suggest. Stick to official communications for reliable information.
The Bigger Picture
Such incidents underline the inherent risks in the rapidly evolving DeFi space. Balancer, which had expanded its operations to the Optimism network in the previous year to enhance user functionality and cut fees, found itself in the midst of a crisis. But its transparent and rapid response has been commendable.
The aftermath of this incident will undoubtedly involve introspection and more rigorous security measures to prevent future exploits. With a post-mortem promised by the Balancer team, the community awaits further details about the vulnerability and the subsequent steps the platform plans to undertake to bolster its security.