The root cause of the Balancer hack: the scaling factor calculation error in the implementation of Balancer v2's Composable Stable Pool can be amplified for profit through low Liquidity exchanges.

robot
Abstract generation in progress

[Slow Fog Yuxian: The fundamental reason for the Balancer hack is that in the implementation of Balancer v2's Composable Stable Pool, the scaling factor calculation error can be magnified for profit through low liquidity exchanges] Slow Fog Yuxian released an analysis report on the Balancer hack of over 100 million USD, indicating that the root cause lies in the implementation of Balancer v2's Composable Stable Pool (based on Curve StableSwap's Stable Math), where there is a precision loss issue in the integer fixed-point operation of scaling factor (scalingFactors), leading to a small but compound interest-accumulating price difference/error in token exchanges. The attacker exploited low liquidity small exchanges to amplify this error for significant cumulative profit.

BAL1.94%
CRV0.33%
View Original
This page may contain third-party content, which is provided for information purposes only (not representations/warranties) and should not be considered as an endorsement of its views by Gate, nor as financial or professional advice. See Disclaimer for details.
  • Reward
  • Comment
  • Repost
  • Share
Comment
0/400
No comments
Trade Crypto Anywhere Anytime
qrCode
Scan to download Gate App
Community
English
  • 简体中文
  • English
  • Tiếng Việt
  • 繁體中文
  • Español
  • Русский
  • Français (Afrique)
  • Português (Portugal)
  • Bahasa Indonesia
  • 日本語
  • بالعربية
  • Українська
  • Português (Brasil)