Lesson 5 of 7

Smart contract, oracle, bridge and MEV risk

Step 2 of 6

The idea

Risk What it means What an outsider can check
Smart-contract risk The code has a flaw, or does exactly what it says in a case nobody planned for Age, money held, who can upgrade it
Oracle manipulation Someone pushes the price an oracle (lesson 03) reports, so collateral is valued wrongly Where prices come from; how thin that market is
Bridge risk A bridge locks tokens on one chain and issues copies on another (Module 12, lesson 07); a few keys or verifiers guard the locked pool How many signers approve a withdrawal
MEV Maximal extractable value: profit from choosing the order of a block's transactions (below) Your slippage limit (lesson 02)

The first three can drain a protocol; MEV is mostly a hidden cost on your trades.

MEV in plain words. Transactions wait in a public queue before entering a block, and the order inside a block is worth money. A bot that sees a large swap waiting can trade just before and just after it (a "sandwich"), so the swapper gets a worse price. Firms called block builders, such as lesson 01's "Titan Builder", assemble the most profitable order and pay validators to use it. A swap's minimum-output limit (lesson 02) caps the damage.

An audit is not a guarantee. A smart-contract audit is a paid review of the code by a security firm at one point in time (not the accounts audit of Module 12, lesson 06). ethereum.org: "While many bridges have successfully passed audits, all it takes is one flaw in a smart contract for assets to be exposed to hacks." It doesn't cover later changes, settings or key holders.

Keys matter as much as code. By amount, DefiLlama's largest category is "Key Compromise": 168 incidents, about $9.0B (20 Nov 2026).