Reentrancy

Exploit

Reentrancy represents a critical vulnerability within smart contract interactions, particularly prevalent in Ethereum-based systems, where a contract calls another before completing its own state updates. This allows a malicious actor to recursively call a vulnerable function, repeatedly withdrawing funds before the initial balance is adjusted, effectively draining the contract’s resources. Mitigation strategies involve checks-effects-interactions patterns and reentrancy guards, ensuring state changes are finalized before external calls are made, thus preventing unintended recursive behavior.