Difference between revisions of "Reentrancy attack"

From PKC
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
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]]<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

Related Pages