{"article":{"aliases":["dao-hack","the-dao-exploit"],"article_type":"hack","author_name":"Founder","backlinks":[{"article_type":"era","slug":"defi-summer","summary":"The explosive mid-2020 surge in Ethereum decentralized finance ignited by Compound's COMP liquidity mining, AMMs, yield farming, and on-chain composability.","title":"DeFi Summer"},{"article_type":"event","slug":"the-merge","summary":"Ethereum's seamless live transition from Proof-of-Work mining to Proof-of-Stake consensus via the Beacon Chain, cutting network energy consumption by ~99.95%.","title":"The Merge"}],"body_markdown":"## Background\n\nLaunched in April 2016 as an investor-directed decentralized venture fund on Ethereum, **The DAO** raised roughly 11.5 million ETH — nearly 14% of all ether in circulation at the time. Despite pre-launch security warnings from researchers regarding recursive call bugs, the contract went live without pausing mechanisms.\n\n## The Reentrancy Exploit\n\nOn June 17, 2016, an unknown attacker invoked The DAO's `splitDAO` function recursively before the contract updated the caller's internal token balance[^c1]. Because the contract transferred ETH prior to zeroing the balance (violating what later became standard **checks-effects-interactions** discipline), the attacker siphoned 3.64 million ETH into a child DAO subject to a 27-day withdrawal lock.\n\n## The Hard Fork & Ethereum Classic Split\n\nThe 27-day lock window sparked one of the fiercest governance debates in cryptocurrency history, involving [[Vitalik Buterin]], core developers, miners, and exchanges:\n\n- **Pro-fork view**: Recovering ~5% of total ETH from an exploit on a nascent network protected Ethereum's ecosystem and aligned with rough social consensus.\n- **Anti-fork view (\"Code is Law\")**: Rewriting state undermined credible neutrality and immutability.\n\nAt block 1,920,000 on July 20, 2016, the majority of the network adopted an irregular state transition moving the drained funds into a refund contract[^c2]. Miners and users who rejected the intervention continued the original chain as **[[Ethereum Classic]]**, while the lessons learned from The DAO shaped smart contract auditing practices leading into [[DeFi Summer]] and ultimately [[The Merge]].","citations":[{"author_or_source":null,"canonical_url":"https://etherscan.io/tx/0x0ec3f2488a93839524add10ea229e773f6bc891b4eb4794c3337d4495263790b","display_number":1,"key":"c1","kind":"onchain_tx","last_http_status":null,"onchain_chain_id":1,"onchain_meta_json":{"chain_id":1,"reason":"tx_not_found","verified":false},"onchain_tx_hash":"0x0ec3f2488a93839524add10ea229e773f6bc891b4eb4794c3337d4495263790b","published_date":"2016-06-17","r2_snapshot_key":null,"snapshot_sha256":null,"title":"Primary Reentrancy Drain Transaction Against The DAO","wayback_url":null},{"author_or_source":"Ethereum Foundation","canonical_url":"https://blog.ethereum.org/2016/07/20/hard-fork-completed","display_number":2,"key":"c2","kind":"web_url","last_http_status":null,"onchain_chain_id":null,"onchain_meta_json":null,"onchain_tx_hash":null,"published_date":"2016-07-20","r2_snapshot_key":null,"snapshot_sha256":null,"title":"Hard Fork Completed — Ethereum Foundation Blog","wayback_url":null}],"content_sha256":"88a65494f4a200a411b2c318ba7dd2cd9c50c3e15dbe3adffbafbdf492ef99c2","edit_summary":"Initial founder seed article","era_color":"#6366f1","era_slug":"ethereum-and-ico-boom","era_title":"Ethereum & ICO Boom","event_date_end":null,"event_date_start":"2016-06-17","id":"c4099998-06bd-4140-a140-59d7903ee32f","infobox_fields":[{"is_monospace":false,"key":"date","label":"Date","value":"2016-06-17"},{"is_monospace":false,"key":"target_protocol","label":"Target","value":"The DAO (Slock.it smart contracts)"},{"is_monospace":false,"key":"chain","label":"Network","value":"Ethereum"},{"is_monospace":false,"key":"amount_lost","label":"Amount Lost","value":"3,641,694 ETH (~$50M in June 2016)"},{"is_monospace":false,"key":"root_cause","label":"Root Cause","value":"Recursive call (reentrancy) vulnerability in splitDAO before balance update"},{"is_monospace":true,"key":"attack_tx","label":"Attack Tx","value":"0x0ec3f2488a93839524add10ea229e773f6bc891b4eb4794c3337d4495263790b"},{"is_monospace":false,"key":"recovery_status","label":"Recovery","value":"Recovered via Ethereum Hard Fork at block 1,920,000"},{"is_monospace":false,"key":"outcome","label":"Outcome","value":"Split into Ethereum (ETH) and Ethereum Classic (ETC)"}],"open_flags":[],"protection_level":"normal","rendered_html":"<h2 id=\"background\">Background</h2>\n<p>Launched in April 2016 as an investor-directed decentralized venture fund on Ethereum, <strong>The DAO</strong> raised roughly 11.5 million ETH — nearly 14% of all ether in circulation at the time. Despite pre-launch security warnings from researchers regarding recursive call bugs, the contract went live without pausing mechanisms.</p>\n<h2 id=\"the-reentrancy-exploit\">The Reentrancy Exploit</h2>\n<p>On June 17, 2016, an unknown attacker invoked The DAO’s <code>splitDAO</code> function recursively before the contract updated the caller’s internal token balance<sup class=\"citation-ref\"><a href=\"#cite-c1\" id=\"citeref-c1-1\" rel=\"noopener noreferrer\">[1]</a></sup>. Because the contract transferred ETH prior to zeroing the balance (violating what later became standard <strong>checks-effects-interactions</strong> discipline), the attacker siphoned 3.64 million ETH into a child DAO subject to a 27-day withdrawal lock.</p>\n<h2 id=\"the-hard-fork-ethereum-classic-split\">The Hard Fork &amp; Ethereum Classic Split</h2>\n<p>The 27-day lock window sparked one of the fiercest governance debates in cryptocurrency history, involving <a href=\"/wanted?missing=vitalik-buterin\" class=\"wikilink wikilink-missing\" data-wikilink=\"vitalik-buterin\" title=\"Article not yet written — click to view Wanted Pages\" rel=\"noopener noreferrer\">Vitalik Buterin</a>, core developers, miners, and exchanges:</p>\n<ul>\n<li><strong>Pro-fork view</strong>: Recovering ~5% of total ETH from an exploit on a nascent network protected Ethereum’s ecosystem and aligned with rough social consensus.</li>\n<li><strong>Anti-fork view (“Code is Law”)</strong>: Rewriting state undermined credible neutrality and immutability.</li>\n</ul>\n<p>At block 1,920,000 on July 20, 2016, the majority of the network adopted an irregular state transition moving the drained funds into a refund contract<sup class=\"citation-ref\"><a href=\"#cite-c2\" id=\"citeref-c2-2\" rel=\"noopener noreferrer\">[2]</a></sup>. Miners and users who rejected the intervention continued the original chain as <strong><a href=\"/wanted?missing=ethereum-classic\" class=\"wikilink wikilink-missing\" data-wikilink=\"ethereum-classic\" title=\"Article not yet written — click to view Wanted Pages\" rel=\"noopener noreferrer\">Ethereum Classic</a></strong>, while the lessons learned from The DAO shaped smart contract auditing practices leading into <a href=\"/wiki/defi-summer\" class=\"wikilink\" data-wikilink=\"defi-summer\" rel=\"noopener noreferrer\">DeFi Summer</a> and ultimately <a href=\"/wiki/the-merge\" class=\"wikilink\" data-wikilink=\"the-merge\" rel=\"noopener noreferrer\">The Merge</a>.</p>\n","revision_number":1,"slug":"the-dao-hack","summary":"A recursive reentrancy exploit draining 3.6 million ETH from The DAO that triggered Ethereum's contentious irregular state transition and split with Ethereum Classic.","title":"The DAO Hack","toc":[{"id":"background","level":2,"text":"Background"},{"id":"the-reentrancy-exploit","level":2,"text":"The Reentrancy Exploit"},{"id":"the-hard-fork-ethereum-classic-split","level":2,"text":"The Hard Fork & Ethereum Classic Split"}],"updated_at":"2026-12-02T15:09:52.616074Z"},"license_data":"CC0-1.0","license_prose":"CC-BY-SA-4.0"}