Reentrancy

Difficulty: Advanced

Question

What is a reentrancy attack (commonly seen in Ethereum)?

Answer

When a function makes an external call to an untrusted contract, and that contract calls back into the original function before the first execution is finished.

Concepts covered

Smart Contracts, Concurrency