The DAO Hack

Reported loss $60.0M
Ethereum
Reentrancy

What happened

On June 17, 2016, an attacker exploited a reentrancy flaw in The DAO's Ethereum split mechanism, moving roughly 3.6 million ETH into a child DAO. Ethereum later adopted a recovery fork that moved Dark DAO and Whitehat DAO funds into WithdrawDAO for token-holder withdrawals.

Technical root cause

A recipient-controlled external call was reachable before the split and reward accounting had fully updated, allowing recursive re-entry with stale state.

How it happened

A split request calculated the holder's claim and reached an external payout before the DAO completed its accounting. The attacker's child contract used that callback to invoke the split path again while the original call still saw the old state, repeating the withdrawal process.

Protocol details

Classification Protocol Logic
Protocol Type Exploit/Other
Affected asset / contract TheDAO
Implementation language Solidity
Protocol links Website

Understand the attack patterns

Build your security review skills

Work through hands-on labs covering real exploit mechanics, review techniques, and defensive patterns.