Cointime

扫码下载App
iOS & Android

Rising from the Ashes: How Curve Finance's Unbreakable Spirit Triumphed Over a $73 Million Hack

August 7, 2023

Author: CryptoSherry

In a saga reminiscent of mythic rebirth, the realm of decentralized finance (DeFi) witnessed a dramatic upheaval as Curve Finance, a stalwart of the ecosystem, faced a venomous attack that slashed deep into its foundations. Symbolizing a serpent's transformation, the hack uncovered vulnerabilities that sent shockwaves through DeFi, but from the ashes of chaos emerged a story of unwavering resilience and redemption.

Emergence of the Venom: Unveiling the Sinister Vyper Exploit and its Devastating Impact

As if guided by fate, a sinister 0-day exploit targeted the very heart of Curve Finance on a fateful day, much like a snake's deadly bite. The malicious strike, a flaw entrenched within the Vyper programming language, unleashed a ripple effect that echoed across the entire DeFi landscape, inflicting a staggering $73 million blow. The breach jolted the community, rattling trust in Curve Finance and casting a looming shadow over the interconnected web of DeFi protocols. The incident's genesis traced back to a fundamental weakness in the Vyper programming language. Versions 0.2.15, 0.2.16, and 0.3.0 harbored vulnerabilities that made specific smart contracts susceptible to re-entrancy attacks. Capitalizing on these shortcomings, attackers exploited the protocols, manipulating balance calculations and draining funds from affected liquidity pools. The lurking danger went unnoticed, resulting in the exploitation of assets worth $73 million. Among the hardest hit were Curve Finance's own pools, as well as those of JPEG'D, Alchemix, and Metronome.

Curve Finance's Resilience: Innovating Amidst Unprecedented Crisis

In the aftermath of the exploit, an unparalleled battlefield unfolded as whitehat hackers clashed with blackhat exploiters on-chain. Whitehats were unrelenting in their efforts to recover stolen funds, while blackhats sought to exploit value from the compromised pools. In the midst of this chaos, Curve Finance's founder, Michael Egorov, and his team unveiled a groundbreaking response—a bug bounty program extended as an olive branch to the hackers. This audacious move aimed to quell the crisis and reinstate stability by proposing a bold arrangement: a 90% fund return in exchange for a 10% reward. At this moment, based on data from PeckShieldAlert, 73% of the overall amount ($52.3M) has been reimbursed. The remaining value of $19.7M in Ethereum-linked cryptocurrencies has not been returned by the original exploiter of Curve's CRV-ETH pool (address: 0xb752…b324).

Amid worries of potential liquidation risks from Michael's significant CRV collateral across platforms like Aave, quick actions were taken. To avert on-chain liquidation, Curve's founder initiated the sale of 114.025 million CRV to 24 investors via OTC methods, securing $45.61 million. This safeguarded the CRV token from a looming fate.

In the array of lending protocols, one position stood out: Micheal’s Fraxlend loaning. With a $17 million loan and $24 million collateral, it approached almost complete 100% utilization. Fraxlend's setup triggers an automatic interest rate increase, doubling every 12 hours when at full 100% utilization. If left unchecked, this mechanism could have led to exceedingly high APY percentages and potential liquidation.

In a remarkable twist, Michael introduced an innovative gauge—a pioneering initiative rewarding CRV to those who LP’d crvUSD with fFRAX for CRV/FRAX, the receipt token for FRAX lending in the Fraxlend CRV pair. This inventive gauge aimed to incentive FRAX lending, effectively lowering CRV/FRAX utilization.

Embracing a New Dawn: DeFi's Resilience in the Face of Adversity

As the dust settled, contemplation dawned. The events surrounding Curve Finance's triumphant recovery underscored the transformative power of decentralized technologies. While vulnerabilities serve as stark reminders of the ever-evolving nature of DeFi, the ability to adapt, innovate, and unite against adversity remains a hallmark of the industry. DeFi enthusiasts around the world, buoyed by this tale of resilience, continue to champion a future where decentralized finance reshapes the financial landscape with unyielding determination.

评论

所有评论

推荐阅读