Difference between revisions of "Reentrancy attack"

From PKC
Jump to navigation Jump to search
Line 1: Line 1:
Reentrancy attack is a kind of security hole in a smart contract when it calls an external contract that tries to recursively trigger fund withdrawals by re-entering the same contract before fulfilling the previous contract. This can usually be protected by following the [[CEI Pattern]].
[[Reentrancy attack]] is a kind of security hole in a smart contract when it calls an external contract that tries to recursively trigger fund withdrawals by re-entering the same contract before fulfilling the previous contract. This can usually be protected by following the [[CEI Pattern]].

Revision as of 03:14, 11 May 2023

Reentrancy attack is a kind of security hole in a smart contract when it calls an external contract that tries to recursively trigger fund withdrawals by re-entering the same contract before fulfilling the previous contract. This can usually be protected by following the CEI Pattern.