skip to main content
hacking.communityplay in the sandbox.

Drain a Vault via Reentrancy

blockchain · medium · +50 XP

Target

GET /api/lab/reentrancy-101/state (vault balance + your balance) POST /api/lab/reentrancy-101/attack body {depth} (simulates re-entrant calls) POST /api/lab/reentrancy-101/submit body {drained_amount}

Goal: deposit 1 ETH, then withdraw with depth ≥ 5 (re-entrant). Vault loses 5+ ETH. Submit the drained amount.

// AI hint · first is free · then 1 credit or 5 XP
// attack console
/api/lab/reentrancy-101/
// reuse on the cli
// submit flag
// no solves yet
// install app

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