BlockNews
FOLLOW ON X
  • BITCOIN
  • CRYPTO
    • ETHEREUM
    • RIPPLE XRP
    • SOLANA
    • CARDANO
    • BINANCE BNB
    • DOGECOIN
    • TRON
    • SUI
    • CHAINLINK
    • LITECOIN
  • FINANCE
  • POLITICS
  • MEMECOINS
  • NFT
  • OPINION
No Result
View All Result
BlockNews
  • BITCOIN
  • CRYPTO
    • ETHEREUM
    • RIPPLE XRP
    • SOLANA
    • CARDANO
    • BINANCE BNB
    • DOGECOIN
    • TRON
    • SUI
    • CHAINLINK
    • LITECOIN
  • FINANCE
  • POLITICS
  • MEMECOINS
  • NFT
  • OPINION
No Result
View All Result
BlockNews
Home BREAKING NEWS

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

BlockNews.com Team by BlockNews.com Team
December 13, 2023
in BREAKING NEWS, BUSINESS, CRYPTO
#image_title

#image_title

Share on XShare in TelegramShare 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.

Disclaimer: BlockNews provides independent reporting on crypto, blockchain, and digital finance. All content is for informational purposes only and does not constitute financial advice. Readers should do their own research before making investment decisions. Some articles may use AI tools to assist in drafting, but every piece is reviewed and edited by our editorial team of experienced crypto writers and analysts before publication.
Tags: BitcoinBlockchainBusinesscryptoWeb3
TweetShareShare
BlockNews.com Team

BlockNews.com Team

The go-to news source for Cryptocurrency, Blockchain, Technology, & Finance

DON'T MISS THESE! HOT OFF THE PRESS

Ethereum Nears Tom Lee’s Ideal Buy Zone as Selling Pressure Builds — Here Is Why $2,500 Could Be the Turning Point
CRYPTO

Ethereum Nears Tom Lee’s Ideal Buy Zone as Selling Pressure Builds — Here Is Why $2,500 Could Be the Turning Point

November 26, 2025
Shiba Inu Rockets on 1.36T Volume Spike as Bulls Absorb Panic Selling — Here Is Why This Bounce Matters
CRYPTO

Shiba Inu Rockets on 1.36T Volume Spike as Bulls Absorb Panic Selling — Here Is Why This Bounce Matters

November 26, 2025
Bitcoin Reclaims $90K Ahead of Thanksgiving as Volatility Cools — Here Is What Traders Are Betting On
BITCOIN

Bitcoin Reclaims $90K Ahead of Thanksgiving as Volatility Cools — Here Is What Traders Are Betting On

November 26, 2025
Trump-Backed WLFI Accelerates Massive Token Buybacks as Price Falls Nearly 50% — Here Is What’s Really Going On
CRYPTO

Trump-Backed WLFI Accelerates Massive Token Buybacks as Price Falls Nearly 50% — Here Is What’s Really Going On

November 26, 2025
Grayscale Moves to Launch First Zcash ETF in the U.S. — Here Is Why It Matters in 2025
CRYPTO

Grayscale Moves to Launch First Zcash ETF in the U.S. — Here Is Why It Matters in 2025

November 26, 2025
XRP Reclaims $2 as the Market Calms — Here Is What Could Come Next
CRYPTO

XRP Reclaims $2 as the Market Calms — Here Is What Could Come Next

November 26, 2025
Load More

Related News

Ethereum Nears Tom Lee’s Ideal Buy Zone as Selling Pressure Builds — Here Is Why $2,500 Could Be the Turning Point

Ethereum Nears Tom Lee’s Ideal Buy Zone as Selling Pressure Builds — Here Is Why $2,500 Could Be the Turning Point

November 26, 2025
Shiba Inu Rockets on 1.36T Volume Spike as Bulls Absorb Panic Selling — Here Is Why This Bounce Matters

Shiba Inu Rockets on 1.36T Volume Spike as Bulls Absorb Panic Selling — Here Is Why This Bounce Matters

November 26, 2025
Tether Becomes the Largest Independent Holder of Gold — Here Is What That Means for Crypto

Tether Becomes the Largest Independent Holder of Gold — Here Is What That Means for Crypto

November 26, 2025
Bitcoin Reclaims $90K Ahead of Thanksgiving as Volatility Cools — Here Is What Traders Are Betting On

Bitcoin Reclaims $90K Ahead of Thanksgiving as Volatility Cools — Here Is What Traders Are Betting On

November 26, 2025
Trump-Backed WLFI Accelerates Massive Token Buybacks as Price Falls Nearly 50% — Here Is What’s Really Going On

Trump-Backed WLFI Accelerates Massive Token Buybacks as Price Falls Nearly 50% — Here Is What’s Really Going On

November 26, 2025
Twitter Telegram Threads

BLOCKNEWS.COM

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

Stay ahead of the herd with BlockNews

RESOURCES

  • About Us
  • Contact Us
  • Editorial Policies
  • Terms and Conditions
  • Privacy Policy
  • Sitemap

DISCLOSURES AND POLICIES

BlockNews provides independent reporting on crypto, blockchain, and digital finance. Content is for informational purposes only and does not constitute financial advice. Sponsored material is always disclosed. By using this site, you agree to our Terms and Conditions and Privacy Policy.

© 2025 BlockNews

No Result
View All Result
  • HOME
  • BITCOIN
  • CRYPTO
    • ETHEREUM
    • RIPPLE XRP
    • SOLANA
    • CARDANO
    • BINANCE BNB
    • DOGECOIN
    • TRON
    • LITECOIN
    • CHAINLINK
    • SUI
  • MEMECOINS
  • POLITICS
  • FINANCE
  • NFT
  • DEFI
  • GUIDES

© 2025 BlockNews