DeFi
What is DeFi?
DeFiDecentralized Finance: financial protocols built from smart contracts on public blockchains that offer lending, trading, and other services without traditional intermediaries.
DeFi is the ecosystem of permissionless financial applications that run on public blockchains such as Ethereum, Layer 2 networks, and other smart-contract platforms. Representative protocols include Uniswap (automated market-maker DEX), Aave and Compound (lending and borrowing), Curve (stablecoin swaps), and MakerDAO (DAI stablecoin). Code is open and composable ("money legos"), but it is also irreversible and adversarial: value is locked in contracts that anyone can call, so a single logic flaw is instantly monetizable at scale.
Named incidents
- Ronin Bridge (Mar 2022). The Axie Infinity sidechain bridge used a 5-of-9 validator multisig. Lazarus Group (attributed by the FBI) socially engineered access and compromised four Sky Mavis validator keys plus the Axie DAO validator (reachable through a gas-free RPC node whose access was never revoked), then forged withdrawals for 173,600 ETH and 25.5M USDC — roughly $600 million.
- Wormhole (Feb 2022). A flaw in the Solana bridge contract let the attacker forge the
Instructionssysvar so a deprecatedload_instruction_atcheck passed without a real guardian signature, minting120,000 wETH ($325 million) with no backing.
Both show that bridges and signature/validator trust — not just arithmetic bugs — are DeFi's costliest weak point.
Where DeFi risk concentrates
flowchart TD U[User / dApp frontend] --> SC[Smart contract] SC --> O[Price oracle] SC --> LP[Liquidity pool] SC --> BR[Cross-chain bridge] O -.manipulated feed.-> X1[Economic exploit] SC -.reentrancy / logic bug.-> X2[Fund drain] BR -.validator / signature compromise.-> X3[Bridge theft]
Defensive practices: independent code audits and formal verification, bug bounties, time-locked multisig governance, circuit breakers and withdrawal caps, decentralized/manipulation-resistant oracles, and continuous on-chain monitoring for anomalous flows.
● Examples
- 01
A user supplies USDC to Aave to earn yield and borrows ETH against the deposit.
- 02
A trader swaps tokens on Uniswap v4 through a hook-enabled liquidity pool.
● Frequently asked questions
What is DeFi?
Decentralized Finance: financial protocols built from smart contracts on public blockchains that offer lending, trading, and other services without traditional intermediaries. It belongs to the Web3 & Blockchain category of cybersecurity.
What does DeFi mean?
Decentralized Finance: financial protocols built from smart contracts on public blockchains that offer lending, trading, and other services without traditional intermediaries.
How do you defend against DeFi?
Defences for DeFi typically combine technical controls and operational practices, as detailed in the full definition above.
What are other names for DeFi?
Common alternative names include: Decentralized Finance, Open finance.