Reentrancy Attack - A demo on Rinkeby Test Network
dappsec.substack.com
This post focuses on reproducing the vulnerability on the Rinkeby Test Network. Hope it will help you in learning about Reentrancy attack. How reentrancy attacks work? This type of attack can occur when a contract sends ether to an unknown address. An attacker can carefully construct a contract at an external address that contains malicious code in the fallback function. Thus, when a contract sends ether to this address, it will invoke the malicious code. Typically the malicious code executes a function on the vulnerable contract, performing operations not expected by the developer. The term "reentrancy" comes from the fact that the external malicious contract calls a function on the vulnerable contract and the path of code execution “reenters” it.
Reentrancy Attack - A demo on Rinkeby Test Network
Reentrancy Attack - A demo on Rinkeby Test…
Reentrancy Attack - A demo on Rinkeby Test Network
This post focuses on reproducing the vulnerability on the Rinkeby Test Network. Hope it will help you in learning about Reentrancy attack. How reentrancy attacks work? This type of attack can occur when a contract sends ether to an unknown address. An attacker can carefully construct a contract at an external address that contains malicious code in the fallback function. Thus, when a contract sends ether to this address, it will invoke the malicious code. Typically the malicious code executes a function on the vulnerable contract, performing operations not expected by the developer. The term "reentrancy" comes from the fact that the external malicious contract calls a function on the vulnerable contract and the path of code execution “reenters” it.