What Is a ‘Reentrancy Attack’?

A reentrancy attack occurs when an external malicious contract repeatedly calls back into the victim contract before the first execution is complete, draining funds. The most famous example is the DAO hack.

Modern smart contracts use security patterns like the 'Checks-Effects-Interactions' pattern to prevent this.

What Is ‘Sandwiching’ in the Context of Decentralized Exchange (DEX) Front-Running?
What Is a “Sandwich Attack” in the Context of DeFi and How Does It Utilize Front-Running?
What Is a “Sandwich Attack” and How Does It Exploit the AMM Structure?
Define a “Reentrancy Attack” in Smart Contracts
What Is a “Sandwich Attack” in the Context of AMM Arbitrage?
How Does the Checks-Effects-Interactions Pattern Prevent Reentrancy Attacks?
How Does a Reentrancy Attack Specifically Exploit Smart Contract Logic?
What Is a “Re-Entrancy Attack” and Why Is It a Common Smart Contract Vulnerability?

Glossar