In 2016, a project called The DAO launched as a revolutionary way to manage funds without any central authority. It was a Decentralized Autonomous Organization, essentially a digital investment fund governed entirely by computer code. Investors poured over 150 million dollars worth of Ethereum into it, making it one of the largest crowdfunding efforts in history. However, the dream quickly turned into a crisis when an unknown attacker found a loophole in the smart contract code. This allowed them to drain about 60 million dollars, sparking a debate that would change the blockchain world forever.
The hack was not a traditional security breach but rather a clever use of the existing rules. The attacker used a reentrancy bug, which let them repeatedly withdraw funds before the system could update their balance. This created a profound philosophical crisis. Many purists argued that "code is law", meaning the software's execution is final and should never be reversed. They believed that if the code allowed the withdrawal, it was a legitimate transaction rather than a theft. Others argued that the clear intent of the community was more important than a technical error. They believed that allowing a thief to keep millions would destroy trust in the entire ecosystem.
To resolve the crisis, the Ethereum community faced a radical choice. They could either let the theft stand or rewrite the history of the blockchain to return the funds. This led to a hard fork, which is a major update that creates two separate paths for a network. Most users moved to the new version of Ethereum where the money was recovered. However, a smaller group refused to change the history, sticking with the original chain now known as Ethereum Classic. This event proved that even in a world of automated code, human intervention and social consensus remain the ultimate authorities.
Topics: ethereum, blockchain governance, smart contracts, decentralized finance, dao hack
Glossary
- Smart Contract
- Self executing code on a blockchain that automatically triggers actions when conditions are met.
- Hard Fork
- A major change to a blockchain network that creates two separate and incompatible versions.
- DAO
- A group governed by computer code and community votes rather than a central leader.
- Reentrancy
- A software flaw where a program is interrupted and restarted before its previous run finishes.
Sources
- The Infinite Machine — Camila Russo, HarperCollins, 2020