Smart Contracts, Oracles, and Bridge Risk

Trace the dependencies behind an on-chain application.

Intermediate14 minReviewed August 30, 2026
Recommended first:Liquidity Pools and Impermanent Loss. You can still continue with this lesson.

Contract behavior, administrative control, oracle inputs, bridges, composability, and incident planning.

By the end, you should be able to

  • Map contract and administrative dependencies.
  • Explain why applications need oracles.
  • Recognize bridge and composability risk.
Worked example · illustrative values

A DeFi position is a dependency chain

A visible interface may depend on several independent systems.

ApplicationContractCode + admin controls
PriceOracleSources + timing
AssetBridgeVerification + custody

Code executes rules—and preserves bugs

A smart contract executes according to deployed code and current state. Audits, tests, and public source code reduce uncertainty but cannot prove the absence of vulnerabilities or unsafe economic design.

Oracles connect external facts

Contracts cannot natively know off-chain prices or events. Oracle systems deliver data under defined source, aggregation, timing, and governance assumptions. A bad input can trigger otherwise correct code.

Bridges add verification and custody assumptions

Moving value between networks may lock assets, mint representations, verify messages, or rely on signers. Composing protocols expands the dependency graph and creates paths for failures to spread.

Keep the signal in context

What this does not tell you

  • An audit is evidence of review, not insurance or a guarantee.
  • A decentralized base network does not make every application decentralized.
  • Emergency controls can reduce one risk while creating governance or key-holder risk.
Practical exercise

Draw a dependency map

Select a public DeFi application and identify what must work for users to exit safely.

  1. List contracts, oracle, network, interface, admin keys, and bridged assets.
  2. Find public audits and incident disclosures.
  3. Describe one failure path and one mitigation without assigning a safety score.
Use the DeFi risk checklist →
Three-question knowledge check

Check your understanding

1. Why do many contracts use oracles?

2. What does an audit prove?

3. Why can bridges increase risk?

Sources and next steps

Ethereum smart-contract documentation ↗Chainlink oracle problem overview ↗DeFi Risk Checklist →Wallet Safety Checklist →