skip to main content
hacking.communityplay in the sandbox.

Find the Solidity Bug in 30 LOC

blockchain · easy · +30 XP

Target

GET /api/lab/solidity-101/contract (30-LOC ERC20-ish contract) POST /api/lab/solidity-101/submit body {bug_class, line}

Goal: the contract has an integer-overflow-style bug (balance -= amount without checking). Bug class: integer_overflow (or underflow). Submit the line number where the bug lives.

// AI hint · first is free · then 1 credit or 5 XP
// attack console
/api/lab/solidity-101/
// reuse on the cli
// submit flag
// no solves yet
// start of blockchain
next
Drain a Vault via Reentrancy
1 of 7 · blockchain

// go deeper

// install app

Install hacking.community for fast access, offline reading, and push notifications. No app store needed.