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

Wrong use of `balanceOf` allows users to collect more than 1 NFT

Updates

Lead Judging Commences

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

Weak Already Collected Check

Relying on balanceOf > 0 in collectPresent() allows the msg.sender to send their present to another address and then collect again.

Support

FAQs

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