Intermediate Blockchain & Web3
Q48 / 100

What is a "reentrancy attack" on a smart contract?

Correct! Well done.

Incorrect.

The correct answer is A) An exploit where a malicious contract repeatedly calls back into a vulnerable function before its state is updated, potentially draining funds

A

Correct Answer

An exploit where a malicious contract repeatedly calls back into a vulnerable function before its state is updated, potentially draining funds

Explanation

Reentrancy occurs when a contract makes an external call before updating its own state, allowing the called contract to recursively call back in and exploit the stale state (e.g., the DAO hack).

Progress
48/100