DAO Reentrancy Attack

Exploit

A DAO reentrancy attack represents a critical vulnerability within smart contract interactions, specifically targeting recursive function calls before state updates are finalized. This allows a malicious actor to repeatedly withdraw funds from a contract before its balance is adjusted to reflect the initial withdrawal, effectively draining the contract’s resources. The attack leverages the Ethereum Virtual Machine’s (EVM) execution model, where external calls temporarily relinquish control, creating a window for exploitation, and is particularly relevant in decentralized finance (DeFi) protocols managing substantial liquidity. Mitigation strategies involve checks-effects-interactions patterns and reentrancy guards to prevent recursive calls during critical state changes.