Bitget App
Trade smarter
Open
HomepageSign up
Bitget>
News>
Security firm: The main reason for the asset theft may be that the Balancer attacker conducted an invariant attack on BPT price calculation

Security firm: The main reason for the asset theft may be that the Balancer attacker conducted an invariant attack on BPT price calculation

Chaincatcher2025/11/03 14:52

According to ChainCatcher, the security agency BlockSec's on-chain tracking platform BlockSec Phalcon posted on X, stating, "Balancer and several of its forked projects were attacked several hours ago, resulting in losses of over $120 million across multiple chains. This was an extremely sophisticated attack."

Preliminary analysis indicates that the root cause was the attacker's manipulation of the BPT price calculation invariant, which distorted the BPT price calculation and enabled the attacker to profit from specific stablecoin pools through a single batch transaction.

Taking the attack transaction on Arbitrum as an example, the batch swap operation can be broken down into three stages: 1. The attacker exchanges BPT for underlying assets to precisely adjust the balance of one token (cbETH), bringing it close to the rounding boundary (amount = 9). This sets up the conditions for the next step's precision loss; 2. The attacker then uses a pre-constructed amount (= 8) to swap between another underlying token (wstETH) and cbETH. Due to rounding down when scaling token amounts, the calculated Δx is slightly reduced (from 8 0.918 to 8), causing Δy to be underestimated, which in turn reduces the invariant (D) in Curve's StableSwap model. Since BPT price = D / total supply, the BPT price is artificially suppressed; 3. The attacker reverses the underlying assets back to BPT, restoring balance while profiting from the drop in BPT price.

Disclaimer: The content of this article solely reflects the author's opinion and does not represent the platform in any capacity. This article is not intended to serve as a reference for making investment decisions.
PoolX: Earn new token airdrops
Lock your assets and earn 10%+ APR
Lock now!

You may also like

Trending news

More
1
Matrixport: Bitcoin is approaching the oversold zone, but a reversal signal is still needed
2
Bitmine and Sharp Link's combined Ethereum holdings have expanded their losses to $2.57 billion, with mNAVs all below 1.

Crypto prices

More
Bitcoin
Bitcoin
BTC
$101,664.93
-2.79%
Ethereum
Ethereum
ETH
$3,308.56
-5.39%
Tether USDt
Tether USDt
USDT
$1
+0.03%
XRP
XRP
XRP
$2.24
-0.61%
BNB
BNB
BNB
$946.07
-0.31%
Solana
Solana
SOL
$156.91
-0.70%
USDC
USDC
USDC
$0.9999
+0.00%
TRON
TRON
TRX
$0.2855
+1.79%
Dogecoin
Dogecoin
DOGE
$0.1647
+1.10%
Cardano
Cardano
ADA
$0.5326
-0.49%
How to buy BTC
Bitget lists BTC – Buy or sell BTC quickly on Bitget!
Trade now
Become a trader now?A welcome pack worth 6200 USDT for new users!
Sign up now
Trade smarter