Skip to content

Learning path · Advanced

Smart contracts

Bugs in on-chain code, where a single flaw can move real funds and payouts are among the highest in the index.

Before you start. You can read Solidity and have run a local test chain.

0 of 6 done
Start at step 1
  1. Step 1: What smart contract reports look like

    Smart contract vulnerabilities·1,035 reports

    Read a few end to end: how hunters proved the loss on a local fork rather than on the live chain, and how programs sized the reward to the funds at risk.

  2. Step 2: Reentrancy

    Reentrancy·80 reports

    A contract that calls out before updating its own state, so the callee can call back in. The oldest pattern, still turning up in new forms.

  3. Step 3: Missing access control on functions

    Missing access control in contracts·43 reports

    Functions anyone can call that should be owner-only: initialisers, upgrades, withdrawals. Read every external function and ask who should be allowed.

  4. Step 4: Price oracle manipulation

    Price oracle manipulation·48 reports

    Prices read from a pool an attacker can move within one transaction. The reports show how flash loans made this cheap.

    Start with these reports

  5. Step 5: Rounding and precision

    Rounding and precision errors·289 reports

    Integer division that rounds in the attacker's favour, repeated until it adds up. Small per call, large in total.

  6. Step 6: More Solidity reports

    Solidity / EVM·9,013 reports

    Browse the rest of the Solidity reports for patterns this track has not covered.

Next trackAI and LLM featuresChat assistants, agents and summarisers built into products: prompt injection, data leaks and actions taken on a user's behalf.