Reentrancy Attacks
Reentrancy attacks come from the abuse of the reentrant procedure, that is, by exploiting reentrancy and calling the external contract with an incorrect state of the victim’s contract, a smart contract will then be drained out by attackers as they will be able to transfer tokens that are already withdrawn. The reentrancy attack occurs where