Ethernaut solutions

Play each level in your browser, then read the Foundry walkthrough: the bug, the exploit and the fix.

26 levels · 8 walkthroughs Open the Ethernaut Arena
  1. LEVEL 09 · INTERMEDIATE

    King

    Block replacement by rejecting the payout.

    Play level
  2. LEVEL 10 · INTERMEDIATE

    Re-entrancy

    Re-enter before the target updates credit.

    Play level
  3. LEVEL 11 · ADVANCED

    Hostile Takeover

    SCH bonus level: take over a DAO vault through its governance flow.

    Play level
  4. LEVEL 12 · INTERMEDIATE

    Elevator

    Return inconsistent answers from one callback.

    Play level
  5. LEVEL 13 · INTERMEDIATE

    Privacy

    Read the key from a private storage array.

    Play level
  6. LEVEL 14 · INTERMEDIATE

    Gatekeeper One

    Pass caller, gas, and bit-mask checks.

    Play level
  7. LEVEL 15 · INTERMEDIATE

    Gatekeeper Two

    Enter during a helper contract constructor.

    Play level
  8. LEVEL 16 · INTERMEDIATE

    Naught Coin

    Move tokens through the approved transfer path.

    Play level
  9. LEVEL 17 · ADVANCED

    Preservation

    Overwrite the owner through delegatecall storage.

    Play level
  10. LEVEL 18 · INTERMEDIATE

    Recovery

    Derive the untracked token address and recover its ETH.

    Play level
  11. LEVEL 19 · ADVANCED

    MagicNumber

    Return 42 from a ten-byte runtime solver.

    Play level
  12. LEVEL 20 · ADVANCED

    Alien Codex

    Wrap array storage to overwrite the owner slot.

    Play level
  13. LEVEL 21 · ADVANCED

    Denial

    Consume the gas needed to complete a withdrawal.

    Play level
  14. LEVEL 22 · INTERMEDIATE

    Shop

    Return a new price after the sale flag changes.

    Play level
  15. LEVEL 23 · ADVANCED

    Dex

    Drain a reserve by manipulating the exchange ratio.

    Play level
  16. LEVEL 24 · INTERMEDIATE

    Dex Two

    Use an unlisted token to drain both reserves.

    Play level
  17. LEVEL 25 · ADVANCED

    Puzzle Wallet

    Exploit proxy storage collisions and deposit accounting.

    Play level
  18. LEVEL 26 · ADVANCED

    Motorbike

    Take control of the uninitialized Engine implementation.

    Play level