Résumé
On June 10, 2024, UwU Lend, an Aave-fork lending protocol on Ethereum, lost about $19.3 million, followed by a second ~$3.7 million drain on June 13, 2024 (combined ~$23 million). The root cause was flash-loan oracle manipulation of the sUSDe price feed: the custom sUSDePriceProviderBUniCatch oracle priced sUSDe as the median of 11 sources, 5 of which read instantaneous Curve pool spot prices via get_p (no TWAP/EMA smoothing) across the FRAXUSDe, USDeUSDC, USDeDAI, USDecrvUSD and GHOUSDe pools. Using a roughly $3.8 billion flash loan, the attacker swapped large USDe amounts to suppress the median sUSDe price, set up positions, then reversed the swaps to inflate it, rendering their own leveraged position liquidatable and self-liquidating repeatedly to harvest base assets at favorable rates. Curve explicitly advises against using get_p spot reads for oracles. The June 13 follow-up reused collateral left from the first attack, since sUSDe was not disabled as borrowable collateral.
Comment l’éviter dans votre code
- Never derive collateral prices from instantaneous AMM spot reads like Curve get_p; use TWAP/EMA or signed feeds.
- Aggregate oracle sources so no manipulable subset (e.g. 5 of 11) can move the median.
- Cross-check on-chain prices against an independent feed (e.g. Chainlink) with deviation bounds.
- On incident response, disable affected assets as borrowable collateral, not just new deposits.
- Cap per-block price movement and reject valuations updated within a flash-loan transaction.
Références
Vulnérabilités liées
Tout Web3 →- CRITICALWEB3-INVERSE-2022
On 2 April 2022 Inverse Finance lost approximately $15.6 million on Ethereum when an attacker manipulated the INV price oracle feeding its Anchor money market. INV was priced by a Keep3r TWAP over the SushiSwap INV/ETH pair, but the oracle only folded a new price cumulative into the average when the elapsed time exceeded its 30-minute period, so shortly after a fresh update the oracle effectively returned the current manipulable spot price instead of a true time-weighted average. Using about 500 ETH of their own funds (no flash loan), the attacker bought INV on SushiSwap and routed ETH through Curve and DOLA into more INV, draining the thin INV/ETH pool and spiking the reported INV price, then deposited the inflated INV as collateral and borrowed ETH, WBTC, DOLA and YFI far exceeding its real value. The root cause was a TWAP whose update window let a single-block spot manipulation pass through as the reported price.
- CRITICALWEB3-WORMHOLE-2022
On 2 February 2022, an attacker exploited the Wormhole bridge connecting Solana and Ethereum and minted about $326 million of wrapped Ether out of thin air, one of the largest DeFi hacks ever. Unlike the Ronin theft weeks later, this was a pure code bug, not a stolen key. Wormhole's Solana contract failed to properly verify the signatures that are supposed to prove a deposit really happened, so the attacker forged a deposit that never existed and told the bridge to release 120,000 ETH against it. The bridge's backer, Jump Crypto, replaced the entire $326 million the next day to keep it solvent. It is the textbook example of a [cross-chain bridge](/glossary#bridge) undone by a single missing validation check.
- CRITICALWEB3-HARVEST-2020
On 26 October 2020 Harvest Finance lost approximately $33.8 million (with about $2.5 million later returned) on Ethereum in a flash-loan price-manipulation attack against its fUSDT and fUSDC vaults. The vaults priced shares from the live spot exchange rate of Curve's Y-pool, so the attacker flash-borrowed tens of millions in USDT and swapped roughly $17M USDT into USDC through the pool to temporarily depress USDC and lift the pool's reported USDC value to about $1.01. While the pool was skewed, the attacker deposited USDC into the vault and minted shares at the inflated price, then reversed the Curve swap to restore the rate and redeemed the shares for more underlying than deposited, repeating the loop many times. The root cause was deriving deposit/withdraw share value from a single Curve pool's instantaneous spot rate, which is fully manipulable inside one flash-loan transaction.
- CRITICALWEB3-BZX-2020
In February 2020 bZx suffered two flash-loan price-manipulation attacks days apart, losing roughly $350,000 then roughly $650,000 (about $1M total) on Ethereum, the first widely studied flash-loan oracle attacks. In the first attack on 15 February the attacker flash-borrowed 10,000 ETH, opened a leveraged WBTC position through bZx's Fulcrum that internally swapped a large amount of ETH via Kyber into a thin Uniswap WBTC pool, spiking the WBTC spot price bZx read as its oracle, while a buggy collateral check skipped shouldLiquidate() and let the under-collateralized position stand. In the second attack on 18 February the attacker flash-borrowed ETH and pushed sUSD up to about $2 by buying it across Kyber reserves, then posted that sUSD at its manipulated spot value as collateral on bZx to borrow far more ETH than the position was worth. The root cause was pricing collateral from a single DEX's manipulable spot rate within one atomic transaction rather than a manipulation-resistant feed.
- CRITICALWEB3-KELPDAO-LAYERZERO-2026
On April 18, 2026, North Korea's Lazarus Group drained about 116,500 rsETH (roughly $292 million) from KelpDAO's LayerZero-based bridge, the largest DeFi exploit of the year. No smart contract was broken; the contracts did exactly what they were written to do. The attack was against the bridge's off-chain verification. rsETH's LayerZero channel was configured to trust a single verifier (a 1-of-1 DVN), so the attackers compromised LayerZero's internal RPC nodes, knocked out the honest external node with a denial-of-service flood, and forced that single verifier to attest to a cross-chain message that never really happened. The Ethereum side then released unbacked rsETH from escrow, leaving wrapped rsETH stranded across more than twenty chains and triggering a bank-run across DeFi.
- HIGHWEB3-FRONTEND-DNS-HIJACK-2022
A frontend hijack leaves the on-chain contracts untouched but replaces the Web2 surface serving the dApp UI with a wallet-drainer clone, so no Solidity audit can catch it. The recurring pattern: attackers take over the domain registrar or DNS provider account (or a CDN/tag-manager account), repoint the domain to a cloned site, and prompt visitors to sign malicious token approvals, EIP-2612 permit signatures, or transfers. Curve Finance was hit twice: on August 9-10, 2022 its curve.fi domain was DNS-hijacked via a compromised nameserver and drained ~$570K in USDC/DAI; and again around May 12, 2025 at the registrar level, after which Curve permanently migrated to curve.finance and announced an ENS move (Convex Finance and Resupply, which depend on Curve's data feeds, suffered dependency-driven outages but were not themselves compromised). In July 2024 a mass wave hit DeFi domains registered through Squarespace, whose forced migration off Google Domains stripped 2FA: Compound's frontend redirected to an Inferno Drainer clone and 100+ protocols were exposed (Celer blocked its takeover via domain monitoring). Ambient Finance's domain was hijacked through stolen registrar credentials on October 17, 2024. Most recently, on April 14, 2026 attackers used forged identity documents to social-engineer the registrar into handing over DNS control of CoW Swap's swap.cow.fi and cow.fi domains, redirecting users to a pixel-perfect drainer clone for about 90 minutes; over $1M was taken in roughly three hours, including 219 ETH (~$750K) from a single wallet, while CoW's contracts, backend APIs, and solver network were untouched. The same bucket includes CDN-account injections (KyberSwap's September 2022 Cloudflare/Google Tag Manager compromise, ~$265K) and BGP route hijacks that swap signed bundles for drainer code.