Difference between revisions of "Reentrancy attack"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
[[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]]. | [[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> | <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