BNB
by BSCN
October 4, 2022
How safe are yield farms? What are the common causes of exploits? What are projects doing to improve the security of their yield farms? Learn more here!
By giving investors a new platform to diversify their portfolios, the promise of Decentralized Finance (DeFi) is starting to take shape. However, with the rise in investors’ participation, there’s also been a rise in exploits of yield farms
Across all chains, DeFi protocols have about $80 billion in Total Value Locked (TVL), according to DefiLlama, with that number having crested at an all-time high of more than $250 billion during the latest bull run. With all this capital in the crypto ecosystem, investors have discovered yield farming to be an attractive way to enhance their returns.
At the same time, this has created opportunities for bad actors to steal users’ funds by deploying exploits, often with enough ferocity to hijack entire projects. By now, millions upon millions of dollars have been stolen, mainly through anonymous hacks, with very little finding their way back.
The majority of these exploits are based on unseen and unintentional bugs in a protocol’s mart contract. That happened with KetchupSwap, Lokum, YBear, Piggy, CaramelSwap, GoCerberus, and GarudaSwap -- all yield farms operating on BNB Chain.
The attackers of these projects found out that these projects were using the same MasterChef Contract to distribute rewards. Due to an error in this contract, nearly $10 million was stolen, plummeting the prices of their native tokens close to $0.
Of course, such exploits are not exclusive to BNB Chain. For example, on Polygon, the value of the PolyYeld Finance project also collapsed to $0 after attackers found a vulnerability to mint an excess supply of YELD tokens. According to PeckShield, $250,000 was stolen overnight.
To combat the rise of exploits, different yield farms are adopting various strategies to ensure they are not the target of the next hack. GarudaSwap initiated Thoreum Finance, which introduces smart contract upgrades that are “security proofed,” known as THOREUM Masterchef.
On the other hand, Curve Finance uses different strategies to mitigate the risk of exploits. That includes Security Auditing of their smart contracts, where experts double-check the code for any bugs, and the use of Curve Emergency DAO, where participants can vote to pause and unpause the pool if they find something “fishy.”
With any type of investment, there will always be some level of risk. As the amount of money at stake continues to increase, and accordingly the potential rewards for successful hackers, yield farms are adopting more conservative stances and defensive approaches in order to minimize margins of error.
As exploits grow more sophisticated, projects must continuously monitor, test and update potentially vulnerable lines of code.
Latest News
December 21, 2024
Weekly Article Recap: 12/16-12/20
December 20, 2024
Injective and Sonic SVM Partners to Launch the First Cross-Chain AI Agent Platform
December 20, 2024
UK Judge Sentences Craig Wright to One Year in Prison for Contempt of Court
December 20, 2024
SEC Approves Bitcoin and Ethereum ETFs from Hashdex and Franklin Templeton
December 18, 2024
Ripple Dollar (RLUSD) Launches with Full Transparency and Regulatory Backing
December 18, 2024
Bitwise Launches Solana Staking ETP in Europe: What to Know
December 18, 2024
Ohio Introduces Bitcoin Reserve Bill to Strengthen State Finances
December 17, 2024
Monad Launches the Monad Foundation to Drive Ecosystem Growth