Sunday 6 December 2026

DeFi Risks Explained: Bugs, Oracles, Bridges, Depegs and More

DeFi can pay more than a bank because you take on risks a bank would normally carry. This guide explains the main DeFi risks, from code bugs and bridge hacks to liquidations and depegs, and how to judge a protocol before you deposit.

IntermediateLast reviewed
Blueprint drawing of linked blocks next to a warning sign and a shield

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

LOSSES TO HACKS AND EXPLOITS SINCE JANUARY 2025, BY CAUSE Social engineering and signer phishing$1.55BStolen or leaked keys$1.02BBridges and cross-chain$0.72BToken and share accounting bugs$0.65BAccess control flaws$0.50BFront-end and infrastructure$0.25BMarket manipulation$0.11BOracle manipulation$0.11B Source: DefiLlama hacks database, retrieved 27 October 2026. Includes attacks on DeFi protocols, bridges and centralized platforms.
Most of the money lost since the start of 2025 went through human and key failures rather than pure code bugs.

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 positionWhat can go wrongSimple safeguard
Lending stablecoinsProtocol hack, bad debt if borrowers’ collateral cannot cover loansUse established markets; spread deposits
Borrowing against ETH or BTCLiquidation in a sharp fallKeep the loan well below the limit, for example under 50 percent
Providing liquidityImpermanent loss, pool exploits, token collapseStick to deep pools of assets you want to hold
Holding a yield-bearing stablecoinDepeg, strategy losses, exchange failureUnderstand the yield source; size the position small
Using a bridged tokenBridge hack makes it worthlessPrefer 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.

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

  1. 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.
  2. How long has the protocol run, and how much does it hold? Check DefiLlama for its history and any past exploits.
  3. Who controls upgrades? Look for a time lock and a reputable multisig.
  4. Which oracles and bridges does it depend on?
  5. What happens in a crash? Check liquidation thresholds and whether the protocol has a reserve or insurance fund.
  6. How much would you lose if it went to zero? Size positions so that one failure does not wreck your finances.

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

Not financial advice. This article is for information only. Crypto assets are volatile; do your own research before making any investment decision.

Guides Desk

Writes plain-English explainers, how-to guides and analysis for readers who want the bigger picture.

Researched and drafted with AI assistance and reviewed by our editors. How we work

All stories from the Guides Desk →

Follow us on Facebook

The day’s top crypto stories and a new plain-English guide every day, straight in your feed.

Follow Crypto Coin Week

The week in crypto, in your inbox

One email a week with the stories that moved the market. No spam, unsubscribe anytime.

We’ll email you a link to confirm your subscription. Unsubscribe anytime with one click. Privacy policy