18 Jan 2025

Which DeFi Projects Have Been Hit by Flash Loan Attacks?

Which DeFi Projects Have Been Hit by Flash Loan Attacks?

Flash loans used to exploit smart contracts and price oracles of DeFi platforms are causing the decentralized finance sector to lose hundreds of millions of dollars annually. These incidents are commonly known as Flash Loan attacks.

On this page

For example, in 2021 alone, flash loans were a vehicle to siphon off roughly $364 million from various dApps. This is primarily because express loans can be granted in substantial amounts in a matter of minutes, without any collateral or hefty commissions. The only requirement is to repay the debt swiftly (in the same block where the loan was initiated) to prevent the loan from being canceled. While these loans carry significant risks, they are popular amongst traders and arbitrageurs who use the funds for market speculation.

However, they also magnetize hackers who see in this an unfettered chance to amass capital for manipulative actions. Let's explore some of the most recent large-scale attacks on DeFi applications that made use of flash loans.

Euler Finance

In March 2023, the crypto lending platform fell victim to a malevolent actor who purloined $170 million in diverse cryptocurrencies and tokens. Remarkably, after a round of negotiations with the protocol team, almost all the looted funds were returned.

The onslaught was bankrolled by a flash loan procured from the DeFi platform Aave, comprising 30 million DAI stablecoins. These were employed as collateral on the Euler Finance platform to secure a separate loan amounting to $200 million.

Next, the miscreant exploited a loophole in the Euler Finance protocol's “Donate To Reserve” smart contract function. This function was intended to channel user funds into a reserve address. However, the intruder found that this feature neglected to consider the liquidity of borrowing users. Therefore, the infiltrator managed to artfully create insufficient leverage for their account, leading the platform to liquidate their smart contract along with the embezzled protocol funds.

Beanstalk

In April 2022, the DeFi protocol Beanstalk was also compromised. The total booty amounted to $181 million, but post accounting for the flash loan costs and charitable donations, the raider ended up with $76 million. Interestingly, some of the purloined cryptocurrencies were transferred to the Ukraine Crypto Donation wallet.

The malefactor availed a Flash Loan, using it as a deposit into the decentralized pool governing the Beanstalk project. Subsequently, they utilized the “Emergency Commit” function in the smart contract to single-handedly vote for a proposal that moved funds to their address. This maneuver was facilitated by them controlling over 70% of the votes due to the substantial deposit they made.  

Cream Finance

Cream Finance suffered a significant security breach in October 2021, leading to a loss of $130 million. The attack was carried out from two distinct addresses. The attackers initially secured flash loans in YUSD stablecoins through third-party apps. Following this, they exploited a vulnerability within Cream Finance's decentralized storage calculation logic, which allowed them to double their deposit and then extract it.

Overall, the culprits borrowed roughly $1.5 billion in crypto. However, due to the storage glitch, this became $3 billion in pledged digital assets on the platform. Some of these funds were used to repay the flash loans, but the remaining collateral—approximately $1 billion—on Cream Finance was used to siphon off $130 million in various cryptocurrencies. 

Fei Protocol

Fei Protocol was targeted in April 2022, resulting in an overall loss of about $80 million. The platform's DeFi pools fell victim to the breach. As seen in previous incidents, the hacker activated a flash loan to exploit these funds within the vulnerable platform.

The attacker exploited a flaw in the smart contract function governing borrowing. Moreover, the platform's inadequate security system enabled repeated attacks. The problem with Fei Protocol was that after the initial deposit was made, the hacker was granted almost limitless borrowing access. The attacker quickly transferred all the borrowed ETH and other tokens to their address before any records could reflect their inability to pay.

Pancake Bunny

The Pancake Bunny protocol fell prey to an exploit in May 2021. A hacker manipulated the data of the internal oracle responsible for the pricing on the platform. The malefactor carried out eight transactions, which netted him wrapped BNB tokens worth $45 million.

The culprit obtained a substantial loan of BNB tokens through the Pancake Swap exchange and proceeded to manipulate the USDT/BNB and BUNNY/BNB rates on the Pancake Bunny platform. As a result of such manipulations, the price of the protocol's own BUNNY token plummeted by 95%.

The attack occurred because the Bunny Protocol calculated swap values without relying on external blockchain oracles, which provide access to true prices. Operating solely with internal price data is a well-known issue in DeFi.

Aside from the mentioned DeFi applications, many other projects have suffered losses due to Flash Loan attacks. For instance, Alpha Finance ($37 million), Spartan Protocol ($30 million), Xtoken ($24 million), Elephant Money (~$22 million), bEarn ($18 million), Saddle Finance ($11 million). 

The content on The Coinomist is for informational purposes only and should not be interpreted as financial advice. While we strive to provide accurate and up-to-date information, we do not guarantee the accuracy, completeness, or reliability of any content. Neither we accept liability for any errors or omissions in the information provided or for any financial losses incurred as a result of relying on this information. Actions based on this content are at your own risk. Always do your own research and consult a professional. See our Terms, Privacy Policy, and Disclaimers for more details.

Articles by this author

Latest News

MORE
The Future of Crypto in 2025: Fidelity’s Predictions

The Future of Crypto in 2025: Fidelity’s Predictions

What’s next for the biggest cryptocurrencies in 2025? Fidelity Digital Assets analyst Chris Kuiper shares insights on how Bitcoin will navigate volatility, Ethereum will address scaling challenges, and stablecoins will adapt to evolving regulations.

13 Jan 2025
The Crypto Rollercoaster of 2024 — Wins and Woes

The Crypto Rollercoaster of 2024 — Wins and Woes

The crypto sector evolved at breakneck speed in 2024. With major wins and notable setbacks, it’s time to reflect on the year’s key developments and their implications for the future.

31 Dec 2024
OpenSea Token: Release Date and How to Qualify for the Airdrop

OpenSea Token: Release Date and How to Qualify for the Airdrop

The NFT marketplace OpenSea, a pioneer in the space for the past seven years, is expected to launch its native token in 2025. A significant portion of the tokens will likely be distributed through a retroactive airdrop—a common way to reward the community for their past activity and support.

30 Dec 2024
5 Most Exciting Token Launches to Watch in 2025

5 Most Exciting Token Launches to Watch in 2025

In 2024, we saw a number of hot airdrops and token launches, from AI-powered projects to the rise of memecoins. Now, as we head into 2025, the crypto space is set to expand even further with an increasing number of cryptocurrencies.

27 Dec 2024

Latest News Alt

MORE
OKX Exchange: Avoid Common Mistakes When Trading Cryptocurrency

OKX Exchange: Avoid Common Mistakes When Trading Cryptocurrency

Practical Guide to Using the OKX Exchange OKX, formerly OKEx, started as a platform for cryptocurrency swaps. As it gained popularity, it expanded its services to become a full-scale exchange, supporting the buying and selling of a wide range of crypto assets. In January 2022, the platform rebranded, simplifying its name by removing the “Ex” […]

11 Jan 2025
Weekly Analysis of BTC, ETH, and the Stock Market (Jan 6, 2025)

Weekly Analysis of BTC, ETH, and the Stock Market (Jan 6, 2025)

An overview of BTC, ETH, XAUT, and S&P500 charts, along with the current cryptocurrency market dynamics.

06 Jan 2025
Weekly Analysis of BTC, ETH, and the Stock Market (Dec 30, 2024)

Weekly Analysis of BTC, ETH, and the Stock Market (Dec 30, 2024)

An overview of BTC, ETH, XAUT, and S&P500 charts, and the current cryptocurrency market dynamics.

30 Dec 2024

Might Be Interesting

MORE
What Is DeFAI? How Is It Different from the DeFi We Know?

What Is DeFAI? How Is It Different from the DeFi We Know?

AI in crypto is leading to new categories, one of which is DeFAI. From the first guess, you can correctly tell that DeFAI is the combination of decentralized finance (DeFi) and artificial intelligence (AI).

16 Jan 2025
Buterin Proposes Guardian System to Enhance Digital Wallet Security

Buterin Proposes Guardian System to Enhance Digital Wallet Security

Ethereum founder Vitalik Buterin has unveiled a new security model for crypto wallets, based on social recovery and multisig technology. The system would divide access rights among multiple trusted parties, with each holding a unique key. Transactions would require approval from several of these keyholders to proceed.

15 Jan 2025
Mining Farms Uncovered — How Crypto Is Mined at Scale

Mining Farms Uncovered — How Crypto Is Mined at Scale

As a cornerstone of the crypto industry, mining farms drive blockchain networks. But how do they work? Uncover the mechanics behind these cutting-edge hubs and their role in the crypto landscape.

07 Jan 2025
William Quigley, WAX/Tether: Stablecoins’ Role in Global Payments

William Quigley, WAX/Tether: Stablecoins’ Role in Global Payments

William Quigley, co-founder of WAX and Tether, firmly believes that stablecoins are more than a tool for traders—they’re the key to transforming the global economy. Already central to crypto trading and cross-border payments, their future potential is even more exciting.

04 Jan 2025
Why Blockchain Is Different from Traditional Databases

Why Blockchain Is Different from Traditional Databases

In the world of business and finance, information is everything. Traditional databases have been reliable tools for decades, but blockchain presents a groundbreaking alternative. What sets it apart, and could it lead to a paradigm shift?

03 Jan 2025
How Does Multisig Work and Protect Your Assets?

How Does Multisig Work and Protect Your Assets?

As threats to digital assets evolve, multisig technology provides a highly effective security layer. By requiring multiple signatures for transactions, it significantly reduces risks such as hacking and access loss.

02 Jan 2025

Opinions

DappRadar: 2024 Industry Report

DappRadar: 2024 Industry Report

DappRadar’s latest report offers an in-depth look at the decentralized digital asset market, covering AI agents, NFTs, and memecoins. Who emerged as the winners, and who fell behind? Here’s a quick summary of the key takeaways.

17 Jan 2025
Rachel Aguirre Reflects on IBIT’s First Year in Action

Rachel Aguirre Reflects on IBIT’s First Year in Action

In a special interview marking one year since the launch of IBIT, Rachel Aguirre, BlackRock’s Managing Director and Head of U.S. iShares, evaluated the ETF’s success and its influence on market trends.

17 Jan 2025
MORE

Interviews

Dmytro Gordon and Volodymyr Nosov: A Sensational Interview

Dmytro Gordon and Volodymyr Nosov: A Sensational Interview

Volodymyr Nosov, CEO of Europe’s largest crypto exchange WhiteBIT, sat down with Dmytro Gordon, one of Ukraine’s most prominent journalists. The interview touched on Bitcoin, crypto, WhiteBIT, cars, keys to success, and business vision.

18 Dec 2024
WhiteBIT CEO: Standing Strong Against Russian Aggression

WhiteBIT CEO: Standing Strong Against Russian Aggression

In an interview with BTC-ECHO, Volodymyr Nosov, the founder and CEO of WhiteBIT, discussed the impact of Russian aggression on the crypto exchange’s business, how WhiteBIT stays a top competitor in the industry, and when he believes our financial system will be completely transformed.

04 Oct 2024
MORE