BlockNews
  • Crypto
  • Finance
  • Politics
  • Memecoins
  • NFT
  • Technology
  • Opinion
No Result
View All Result
FOLLOW
BlockNews
  • Crypto
  • Finance
  • Politics
  • Memecoins
  • NFT
  • Technology
  • Opinion
No Result
View All Result
BlockNews

Yearn Finance Treasury Hit by Massive 63% Loss Due to Script Error

by BlockNews.com Team
December 13, 2023
in Breaking News, Business, Crypto
A A
Yearn Finance Treasury Hit by Massive 63% Loss Due to Script Error

#image_title

1
SHARES
Share on TwitterShare on Reddit
  • A faulty multisig script led to Yearn Finance losing 63% of its treasury’s value in an uncontrolled token swap.
  • The bug occurred during a routine fee token conversion process and lacked sufficient output checks. No user funds were affected.
  • To prevent future incidents, Yearn plans to separate treasury funds, enforce stricter limits on trades, and improve script readability.

Yearn Finance, one of the biggest names in decentralized finance (DeFi), recently disclosed a critical bug in its system that led to significant losses.

https://twitter.com/blocknewsdotcom/status/1734995753230291063?s=20

Details of the Bug

According to a post on Github, the bug occurred during a routine fee token conversion process on behalf of Yearn’s treasury. A faulty multisig script caused Yearn’s entire treasury balance of 3794894 lp-yCRVv2 tokens to be swapped for just 779958 yvDAI tokens.

The post explained that the script lacked sufficient output checks and contained a logical error. This led to the protocol’s whole lp-yCRVv2 balance plus fees being sent to the trading multisig, instead of just the fees as intended. The faulty script then executed a token swap without capping the trade size.

Consequences

This coding mistake and uncontrolled token swap resulted in considerable price slippage. The Yearn treasury lost 63% of its value because of this incident. The team disclosed that no user funds were affected.

Shortly after the faulty swap, arbitrageurs brought the price back to normal. Yearn is now asking users who profited from the price movement to return a reasonable portion of their gains to Yearn’s main multisig contract.

Avoiding Future Incidents

To prevent such bugs in the future, Yearn developers plan to separate treasury funds into dedicated manager contracts. They will also introduce more readable output messages and enforce stricter price impact limits on trading scripts.

This comes on the heels of other exploits related to early Yearn versions, which cost the protocol over $100 million this year. The team seems committed to enhancing the code’s security and functionality to avoid further losses.

Tags: BitcoinBlockchainBusinesscryptoWeb3
TweetShareShare

DON'T MISS THESE! HOT OFF THE PRESS

$TAO Is Back With a Vengeance: Bittensor is About to Explode and Here is Why
Crypto

$TAO Is Back With a Vengeance: Bittensor is About to Explode and Here is Why

May 9, 2025
Crypto

Everything You Need to Know About $DOOD: A New Era for Doodles and Its Ecosystem

May 9, 2025
Ethereum ETH Hits Biggest Single Day Gain Since May 2024: Here is Why $3K is Next
Crypto

Ethereum ETH Hits Biggest Single Day Gain Since May 2024: Here is Why $3K is Next

May 8, 2025
Analysts Predict MOG Coin Could 4x as mog/acc Trend Gains Momentum With Elon Musk Endorsement
Crypto

Analysts Predict MOG Coin Could 4x as mog/acc Trend Gains Momentum With Elon Musk Endorsement

May 8, 2025
Stellar XLM Technical Indicators Suggest Imminent Breakout: Here is What You Need to Do
Crypto

Stellar XLM Technical Indicators Suggest Imminent Breakout: Here is What You Need to Do

May 8, 2025
$LTC in a Limbo: Is Litecoin Quietly Gearing Up for a Breakout?
Crypto

$LTC in a Limbo: Is Litecoin Quietly Gearing Up for a Breakout?

May 8, 2025
Load More

Related News

Hedera on the Move: Why Analysts Are Eyeing a Major $HBAR Comeback?

Hedera on the Move: Why Analysts Are Eyeing a Major $HBAR Comeback?

May 9, 2025
$TAO Is Back With a Vengeance: Bittensor is About to Explode and Here is Why

$TAO Is Back With a Vengeance: Bittensor is About to Explode and Here is Why

May 9, 2025

Everything You Need to Know About $DOOD: A New Era for Doodles and Its Ecosystem

May 9, 2025
Ethereum ETH Hits Biggest Single Day Gain Since May 2024: Here is Why $3K is Next

Ethereum ETH Hits Biggest Single Day Gain Since May 2024: Here is Why $3K is Next

May 8, 2025
Analysts Predict MOG Coin Could 4x as mog/acc Trend Gains Momentum With Elon Musk Endorsement

Analysts Predict MOG Coin Could 4x as mog/acc Trend Gains Momentum With Elon Musk Endorsement

May 8, 2025
Discord Twitter Youtube TikTok Instagram

BLOCKNEWS.COM

BlockNews

BlockNews.com is your premier source for real-time cryptocurrency, blockchain, and financial market news.

Our mission is to deliver accurate, timely, and insightful information to help both seasoned investors and newcomers navigate the evolving digital economy.

With in-depth analysis, exclusive insights, and up-to-date news, BlockNews.com keeps you informed on the latest trends in crypto, DeFi, NFTs, tech, and beyond.

Stay ahead of the herd with BlockNews.com

RESOURCES

  • About
  • Newsletter
  • Advertise
  • Terms and Conditions
  • Privacy Policy

POPULAR TOPICS

$ADA $XRP AI Avalanche Binance Bitcoin Bitcoin ETF blackrock Blockchain BTC Business Cardano China Coinbase crypto cryptocurrency Crypto Exchange Crypto Regulation DeFi Dogecoin Donald Trump Elon Musk ETF eth ethereum Federal Reserve FTX Gary Gensler grayscale Memecoin metaverse Microstrategy NFT NFTs PEPE ripple sec Shiba Inu Solana Stablecoin Technology twitter US Web3 xrp

GET QUICKER UPDATES ON X

© 2022-2025 BlockNews.com - Crypto and NFT news website by Aiur Labs.

No Result
View All Result
  • Home
  • Crypto
  • Memecoins
  • Technology
  • Politics
  • Finance
  • NFT
  • DeFi
  • Opinion

© 2022-2025 BlockNews.com - Crypto and NFT news website by Aiur Labs.