Difference between revisions of "Reentrancy attack"
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]]<ref>{{:Video/Solidity - Reentrancy Attacks Everything You Need To...}}</ref> 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]]. | ||
<noinclude> | |||
{{PagePostfix | |||
|category_csd=Computer Security,Solidity | |||
}} | |||
</noinclude> |
Revision as of 03:21, 11 May 2023
Reentrancy attack[1] 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.
References
- ↑ Kelvin EatTheBlocks, ed. (Apr 8, 2022). Solidity - Reentrancy Attacks Everything You Need To... local page: EatTheBlocks.
Related Pages