Yearn Finance says faulty script wiped out 63% of treasury
Quick Take Yearn Finance said a faulty script wiped out 63% of its treasury, but user funds were not affected. Yearn is asking users who profited from the bug to return a “reasonable” amount to the protocol’s multisig.
Yield-farming protocol Yearn Finance said a faulty multisig script wiped out 63% of its treasury. No user funds were affected.
The incident took place during a "regular fee token conversion process on behalf of Yearn's treasury," according to a disclosure post on Github. The faulty script caused Yearn's entire treasury balance of 3,794,894 lp-yCRVv2 tokens to be swapped for 779,958 yvDAI tokens.
"The entire treasury balance of lp-yCRVv2 (POL, plus fees) was mistakenly transferred to the trading multisig, when only expected a much smaller fees portion. The script used by the trading multisig to swap tokens lacked sufficient output checks and contained a logical error that would have capped the trade size to a reasonable amount,” the post stated.
The trade led to significant price slippage, "which arbed back to the normal price by the market shortly after," the protocol team wrote, asking any users that profited from the price movement caused by the incident "to return an amount that they feel is reasonable to Yearn's main multisig."
Steps to come
To prevent such incidents in the future, the protocol developers plan to "separate POL funds into dedicated manager contracts, introduce more human-readable output messages on trading scripts and enforce stricter price impact thresholds," the post stated.
Earlier this year , an exploit involving an early Yearn version, called iearn, caused damages of $11.6 million, according to PeckShield. In February, an exploit resulted in the loss of $11 million worth of crypto from one of its vaults.
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.
You may also like
Web3 ai Could Lead 2025’s Best Cryptos With 1,747% ROI, Outshining Toncoin & Chainlink’s Performance
Toncoin (TON) and Chainlink (LINK) show strong market positions, but Web3 ai’s AI-driven platform and sub-$0.001 price point may offer greater potential for exponential growth.Toncoin (TON): Leveraging Telegram’s Ecosystem for GrowthChainlink (LINK): Technical Indicators Point to Potential BreakoutWeb3 ai: Affordable Entry with AI-Driven Security ToolsClosing Thought

Ethereum Set to Soar Past $4,000 Again
Ethereum eyes a comeback above $4,000 with a projected 55% surge amid rising market optimism.What’s Driving the Ethereum Rally?Could Ethereum Break Past Its All-Time High?

Lark Davis: Best Time to Make Money in Crypto
Crypto analyst Lark Davis says this is the best time to make money in crypto. Here’s why you should pay attention now.Why This Window Matters So MuchHow to Lock In for Maximum Gains

Top Rated Cryptos to Buy in 2025: BlockDAG, Tron, Polygon, and Polkadot Line Up Ahead of Q3 Shift
Explore the top rated cryptos to buy in 2025, featuring BlockDAG’s limited-time 'Double Your BDAG' offer, and why Tron, Polygon, and Polkadot are gaining strong attention this year1. BlockDAG (BDAG)2. Tron (TRX)3. Polygon (MATIC)4. Polkadot (DOT)Closing View on Key 2025 Contenders

Trending news
MoreCrypto prices
More








