Difference between revisions of "Reentrancy attack"
Jump to navigation
Jump to search
m (Benkoo2 moved page Reentrancy Attacks to Reentrancy attack) |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Reentrancy | [[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]]<ref>{{:Video/Smart contract security made easy with CEI pattern}}</ref>. | ||
<noinclude> | |||
{{PagePostfix | |||
|category_csd=Computer Security,Solidity | |||
}} | |||
</noinclude> |
Latest 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[2].
References
- ↑ Kelvin EatTheBlocks, ed. (Apr 8, 2022). Solidity - Reentrancy Attacks Everything You Need To... local page: EatTheBlocks.
- ↑ Viktor on Web3, ed. (May 1, 2023). Smart contract security made easy with CEI pattern. local page: Viktor on Web3.
Related Pages