0xPuzzles

15 puzzles · click, spot, and order your way in
Reentrancy

Settle before you send

Order a withdrawal so a re-entrant caller can never be paid twice.

Warm-up 20 XP
Reentrancy

Spot the drain

One line hands control to the attacker too early. Find it.

Tricky 35 XP
Access control

Who can pull the lever?

A treasury ships a powerful function. Spot the one that ends careers.

Warm-up 20 XP
Wallet hygiene

The blank cheque

You just signed a token approval. What did you actually agree to?

Warm-up 20 XP
Oracle manipulation

Move the price, print the loan

Trace how a flash loan turns a spot price into free money.

Devious 50 XP
Key management

Count the keys

A 2-of-3 multisig sounds safe. Is it?

Tricky 35 XP
Signature replay

The coupon with no expiry

A signed message that binds nothing can be used forever.

Tricky 35 XP
Randomness

Predictable dice

An on-chain lottery picks a winner. The attacker always wins. Why?

Tricky 35 XP
Defensive design

Sort the safe from the sorry

Select every pattern that genuinely reduces risk.

Devious 50 XP
Access control

The missing guard

This setter looks innocent. Find the line that should never be public.

Tricky 35 XP
MEV

The sandwich

A bot watches the mempool while your trade waits. What does it do?

Tricky 35 XP
Phishing

Mistaken identity

Authorising with tx.origin opens a phishing door. See how.

Tricky 35 XP
Arithmetic

The check that never fails

A pre-0.8 token guards a transfer — badly. Find the useless line.

Tricky 35 XP
Unchecked return

Paid in full?

This payout marks success even when the money never arrives.

Devious 50 XP
Rug pulls

Read the red flags

Which contract powers should make a holder run?

Tricky 35 XP

Quizzes

4 themed sets · learn from every answer