• Home
  • Crypto
  • Yearn Finance suffers $1.4m loss caused by an error in multisig script
Yearn Finance suffers $1.4m loss caused by an error in multisig script

Yearn Finance suffers $1.4m loss caused by an error in multisig script

Yearn Finance Loses $1.4 Million Due to Script Error

Yearn Finance, a decentralized protocol, recently experienced a loss of $1.4 million as a result of a multisig script error. This incident led to significant price slippage and allowed arbitrageurs to profit from the mistake. The Yearn Finance team has reached out to project users who received assets due to the bug, requesting that they return the funds.

The Cause of the Error

The error occurred when Yearn Finance attempted to convert its yVault LP-yCurve tokens into stablecoins on the decentralized exchange CowSwap. A faulty multisig script caused the entire treasury balance of lp-yCRVv2 tokens, totaling 3,794,894 tokens, to be swapped.

Setback and Recovery

As a result of this error, Yearn Finance received 779,958 yVault DAI tokens from the transaction. This caused a 63% drop in the value of the liquidity pool from its treasury compared to the lp-yCRVv2 spot price at that time. However, one arbitrageur has already returned 2 Ether (ETH) worth $4,500 back to Yearn’s treasury address.

Preventing Future Mistakes

To avoid similar incidents in the future, Yearn Finance plans to separate its liquidity into specific governing contracts, introduce human-readable output messages, and implement stricter price impact thresholds.

Previous Losses

This is not the first time Yearn Finance has experienced significant losses. In April, the protocol lost over $10 million in various stablecoins due to a misconfiguration in one of its tokenized stablecoins. An attacker exploited a vulnerability in the yUSDT smart contract, issuing over one quadrillion tokenized yUSDT stablecoins using $10,000 in USDT.

Hot Take: Yearn Finance Learns from Mistakes and Enhances Security Measures

Yearn Finance’s recent loss of $1.4 million highlights the importance of robust security measures in the crypto industry. While the protocol has suffered setbacks in the past, it is actively taking steps to prevent future mistakes. By separating liquidity into specific contracts, implementing clearer output messages, and enforcing stricter price impact thresholds, Yearn Finance aims to enhance the security and integrity of its platform. As the DeFi space continues to evolve, it is crucial for projects like Yearn Finance to prioritize security and learn from past incidents to protect user funds.

Read Disclaimer
This content is aimed at sharing knowledge, it's not a direct proposal to transact, nor a prompt to engage in offers. Lolacoin.org doesn't provide expert advice regarding finance, tax, or legal matters. Caveat emptor applies when you utilize any products, services, or materials described in this post. In every interpretation of the law, either directly or by virtue of any negligence, neither our team nor the poster bears responsibility for any detriment or loss resulting. Dive into the details on Critical Disclaimers and Risk Disclosures.

Share it

Yearn Finance suffers $1.4m loss caused by an error in multisig script