Security Agency: The Balancer attacker conducted an invariant attack on BPT price calculation or is the main reason for asset theft

Nov 03, 2025 22:33:07

Share to

The on-chain tracking platform BlockSec Phalcon, under the security agency BlockSec, stated on platform X that "Balancer and several of its fork projects were attacked a few hours ago, resulting in losses of over $120 million across multiple chains. This was an extremely complex attack. Preliminary analysis indicates that the root cause was the attacker's manipulation of the invariant in the BPT price calculation, distorting the BPT price calculation and allowing the attacker to profit from a single batch transaction from a specific stablecoin pool.

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 the underlying asset to precisely adjust the balance of one token (cbETH) to be close to the rounding boundary (amount = 9). This creates conditions for precision loss in the next step; 2. The attacker then uses a pre-constructed amount (= 8) to swap between another underlying token (wstETH) and cbETH. Due to the rounding down of token amounts during scaling, the calculated Δx slightly decreases (from 8.0.918 to 8), resulting in an underestimated Δy, which causes the invariant (D) in Curve's StableSwap model to also decrease. Since BPT price = D / total supply, the BPT price is artificially suppressed; 3. The attacker then reverses the exchange of the underlying asset back to BPT, restoring the balance while profiting from the drop in BPT price.

Related Projects

Latest News

Data: BTC falls below 72,000 USD

ChainCatcher

2월 05, 2026 10:15:28

Data: BTC breaks through 73,000 USD

ChainCatcher

2월 05, 2026 09:28:10

Data: BTC falls below 72,000 USD

ChainCatcher

2월 05, 2026 09:24:01

Data: BTC breaks through 73,000 USD

ChainCatcher

2월 05, 2026 06:21:59

Data: SOL falls below 90 dollars

ChainCatcher

2월 05, 2026 06:06:20

Recent Fundraising

More
$8M 1월 29
$80M 1월 27

New Tokens

More

Latest Updates on 𝕏

More