Beginner FriendlyFoundryNFT
100 EXP
View results
Submission Details
Severity: high
Valid

Reentrancy attack possible in refund() function

Summary

'refund()' function allows to send the ticket refund to the address of the player. In case of 'msg.sender' being a malicious contract, it can allow to send all the balance of puppyRaffle in the form of 'entranceFee' to the contract by repeated calls to the refund function

Vulnerability Details

Impact

Tools Used

Recommendations

Updates

Lead Judging Commences

Hamiltonite Lead Judge over 1 year ago
Submission Judgement Published
Validated
Assigned finding tags:

reentrancy-in-refund

reentrancy in refund() function

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.