|

Avalanche flash loan exploit sees $371K in USDC stolen

The scammer deployed a custom smart contract, leveraging a $51 million flash loan to manipulate the AVAX/USDC Trader Joe LP pool price for a single block.

Avalanche-based lending protocol Nereus Finance has been the victim of a crafty hack that saw a user net $371,000 worth of USD Coin (USDC) using a smart contract exploit.

Blockchain cybersecurity firm CertiK was one of the first to detect the exploit on Sept. 6, indicating that the attack impacted liquidity pools on Nereus relating to decentralized exchange Trader Joe and automated market maker Curve Finance.

CertiK also suggested that underlying protocols themselves were impacted, however, Curve Finance responded via Twitter on Sept. 7, stating “maybe you meant ‘assets impacted,’ not ‘protocols impacted’. Only @nereusfinance and its assets seem impacted.”

On Sept. 7, Nereus Finance released a detailed post-mortem of the incident explaining an “exploiter” was able to deploy a custom smart contract that utilized a $51 million flash loan from Aave to artificially manipulate the AVAX/USDC Trader Joe LP (JLP) pool price for a single block.

As a result, the anonymous hacker was able to mint 998,000 worth of Nereus' native token NXUSD against $508,000 worth of collateral. They then swapped this capital into different assets via various liquidity pools and managed to walk away with a net profit of $371,406 once the flash loan was returned. 

The incident ended with to the creation of $500,000 of NXUSD “bad debt” in the NXUSD protocol.

The Nereus team says it was quick to remedy the situation; after consulting security experts, developing a mitigation plan, and notifying law enforcement, they liquidated and paused the exploited JLP market.

The bad debt was reportedly paid off using NXUSD from the team’s treasury.

According to Nereus, the exploit resulted from a “missed step” in the price calculation, resulting in the opportunity to be exploited. However, it stressed that “no users funds are at risk, and NXUSD continues to be over collateralized” and the “Lending and Borrowing protocol was not affected by this exploit.”

Nereus is also confident the same exploit won’t be possible a second time, as the team will be  amending its "audit and security practices in order to ensure these types of events do not occur in the future," noting:

While this exploit is a bad incident — it’s not uncommon for protocols to face these types of battle tests.

As of this writing, the Nereus team is trying to identify the hacker and track the funds and has offered a 20% White Hat reward for the return of the funds, no questions asked.

Despite this recent flash loan exploit and several other notable incidents throughout the year, CertiK's August 2022 Monthly Skynet Alerts Report, released on Sept. 2, claims there has been a notable decrease in these types of attacks.

Compared to the previous month, August saw a drop of 95% in flash loan attacks, only resulting in a total loss of $745,244, the second lowest this year.

February still has the lowest recorded loss from flash loan exploits with only $200,000.

Author

Cointelegraph Team

Cointelegraph Team

Cointelegraph

We are privileged enough to work with the best and brightest in Bitcoin.

More from Cointelegraph Team
Share:

Editor's Picks

Top Altcoins Price Forecast: Ripple, Cardano, Solana – ETF inflows, whale demand signal further rally

Ripple, Cardano, and Solana continue to experience a steady recovery with double-digit gains so far this month. Ripple and Solana experience firm institutional demand, while the percentage of ADA supply in profit rises, underpinned by interest from large-wallet investors, commonly referred to as whales.

Top 3 Price Prediction: Bitcoin, Ethereum, Ripple – BTC reclaims $84,000, ETH heads toward recent highs, XRP extends rebound

Bitcoin, Ethereum, and Ripple extend their recovery on Friday after recent pullbacks, as investors show renewed buying interest. BTC reclaims the $84,000 level, ETH moves back above $2,688 while XRP builds on recent’s gains. The price action of these top three cryptocurrencies will be crucial as bulls attempt to sustain the rebound and challenge key resistance levels.

Crypto exchange Bitget hacked for over $350 million
Cryptocurrency exchange Bitget has been hacked for over $351 million after attackers compromised a few of its hot wallets. The hack was first flagged across several onchain tools, which initially noted over $180 million in assets moving from a few of the exchange's wallets to unidentified addresses.
Federal Reserve seeks public input on two stablecoin proposals under GENIUS Act
The Federal Reserve (Fed) Board is seeking public comment on two proposals that would establish a regulatory framework for payment stablecoin issuers supervised by the central bank under the GENIUS Act. The proposals, announced Thursday, would establish requirements covering stablecoin reserves, capital, risk management and the approval process for banks seeking to issue payment stablecoins.
Bitcoin: BTC shrugs off CLARITY Act setback and hawkish Fed
Bitcoin (BTC) price action has remained resilient this week, trading above $78,000 at the time of writing on Friday, heading toward a key resistance zone. Institutional demand shows early signs of weakness, with spot Exchange Traded Funds (ETFs) on track for a second straight week of outflows, with over $420 million recorded through Thursday amid escalating Middle East tensions.