Key takeaways
- In DeFi, there is usually no company to make you whole. If a contract is drained or a stablecoin breaks, losses fall on depositors.
- Hacks and exploits cost about $2.7 billion in 2025 and about $2.4 billion so far in 2026, according to DefiLlama’s database, which also counts attacks on centralized platforms.
- The biggest causes recently were not clever code exploits but people: tricked signers and stolen keys.
- Higher yield almost always means more risk. Ask where the yield comes from before you deposit.
DeFi risks are the price of cutting out the middleman. When you lend on Aave or provide liquidity on Uniswap, no bank checks your counterparty, insures your deposit or reverses a mistake. The code is the bank, and the code, the people who control it, and the data it relies on can all fail. Understanding how is the best protection you have.
If you are new to DeFi, read DeFi Explained first, and Smart Contracts Explained for the technical background.
What the numbers show
DefiLlama tracks over 1,300 hacks and exploits since 2011. The single largest recent loss, the $1.5 billion theft from the exchange Bybit in February 2025, was a case of signers approving a malicious transaction they did not understand. That one incident accounts for most of the social engineering total above. Stolen hot-wallet and private keys are the next biggest cause.
1. Smart contract risk
Every DeFi protocol is a set of smart contracts. A bug, such as an arithmetic or rounding error or a missing permission check, can let an attacker withdraw funds. Audits reduce this risk but do not remove it. Newer protocols, recently upgraded code and forks of existing protocols with small changes are the riskiest. A protocol that has held billions for years without an incident has a better track record, though no guarantee.
2. Admin keys and governance
Many protocols can be upgraded, paused or have settings changed by an admin key or a governance vote. That allows bugs to be fixed but creates a single point of failure. If keys are stolen, signers are tricked, or a governance vote is captured by someone who borrowed enough tokens to win it, the attacker can take control. Look for multisig control with well-known signers, time locks that delay changes, and limits on what admins can do.
3. Oracle risk
Lending protocols need to know asset prices to decide how much you can borrow and when to liquidate. They get prices from oracles such as Chainlink. If a protocol relies on a price from a single thin market, attackers can manipulate it with a large trade, often funded by a flash loan, and borrow far more than their collateral is worth. Even honest oracles can lag in a fast crash or be wrong for a thinly traded token.
4. Bridge risk
Bridges move assets between blockchains, typically by locking tokens on one chain and minting copies on another. The copies are only worth something if the locked originals are safe. Bridges hold large pools of value and use complex verification, making them frequent targets: $716 million was lost through bridge and cross-chain attacks since the start of 2025 alone. If you hold a bridged token, you carry the bridge’s risk as well as the token’s.
5. Liquidation risk
When you borrow in DeFi, you put up more collateral than you borrow. If the collateral’s value falls below a set threshold, the protocol sells it automatically, usually with a penalty of 5 to 10 percent. In a sharp market fall, many positions are liquidated at once, which can push prices down further. Borrowers who keep a thin safety margin can lose a large part of their collateral in minutes.
| Your position | What can go wrong | Simple safeguard |
|---|---|---|
| Lending stablecoins | Protocol hack, bad debt if borrowers’ collateral cannot cover loans | Use established markets; spread deposits |
| Borrowing against ETH or BTC | Liquidation in a sharp fall | Keep the loan well below the limit, for example under 50 percent |
| Providing liquidity | Impermanent loss, pool exploits, token collapse | Stick to deep pools of assets you want to hold |
| Holding a yield-bearing stablecoin | Depeg, strategy losses, exchange failure | Understand the yield source; size the position small |
| Using a bridged token | Bridge hack makes it worthless | Prefer native assets or official bridges |
6. Stablecoin depeg risk
Much of DeFi runs on stablecoins, and they can lose their peg. USDC briefly fell to about 87 cents in March 2023 when part of its reserves were stuck at Silicon Valley Bank, and the algorithmic TerraUSD collapsed entirely in 2022. Synthetic and crypto-backed stablecoins carry extra risks from their strategies and collateral. A depeg hurts lenders of that coin and can trigger liquidations across protocols that accept it. Our guide to stablecoin reserves covers how to judge them.
7. Composability and contagion
DeFi protocols build on each other. A token deposited in one protocol can be used as collateral in a second and wrapped by a third. That stacking multiplies yield and risk together. A failure at the bottom of the stack, such as a depeg or an oracle error, can spread through every protocol built on top.
8. MEV and front-running
Pending transactions are public before they are confirmed. Bots watch for large trades and place their own transactions before and after them, buying first and selling to you at a worse price. This is called a sandwich attack, part of what is known as maximal extractable value (MEV). Setting a tight slippage limit and using wallets or apps with MEV protection reduces it.
9. Front-end, approval and phishing risk
You usually reach a protocol through a website. If that site’s domain or code is hijacked, it can ask you to sign malicious approvals even though the underlying contracts are fine. Fake versions of popular apps also circulate through search ads. Bookmark the real address, read what you sign, and revoke old token approvals regularly. Our guide to crypto scams covers wallet drainers.
10. Regulatory and legal risk
Rules for DeFi are still being written, as our guide to how crypto is regulated explains. A front-end can block users from certain countries, a token can be frozen by its issuer, and the legal status of yields can change.
A checklist before you deposit
- Where does the yield come from? Borrowers paying interest and trading fees are sustainable sources. New token rewards fade, and unexplained high yield is a warning sign.
- How long has the protocol run, and how much does it hold? Check DefiLlama for its history and any past exploits.
- Who controls upgrades? Look for a time lock and a reputable multisig.
- Which oracles and bridges does it depend on?
- What happens in a crash? Check liquidation thresholds and whether the protocol has a reserve or insurance fund.
- How much would you lose if it went to zero? Size positions so that one failure does not wreck your finances.
You might also like
Sources: DefiLlama: Hacks database, ethereum.org: Maximal extractable value (MEV), ethereum.org: Oracles, Aave documentation: Liquidations, FBI: North Korea responsible for $1.5 billion Bybit hack





