Reentrancy Vulnerabilities

Vulnerability

Reentrancy vulnerabilities occur when a smart contract makes an external call to another contract before updating its internal state variables. An attacker can exploit this flaw by creating a malicious contract that repeatedly calls back into the original contract, draining funds before the initial transaction completes. This vulnerability was famously exploited in the DAO hack, highlighting a critical risk in smart contract design.