Beginner FriendlyFoundry
100 EXP
View results
Submission Details
Severity: low
Invalid

buyPresent duplicate NFT Clarification

Summary

Contract does not prevent an address from claiming duplicate NFTs via buyPresent.

Vulnerability Details

A user can buy as many presents as they want, as long as they have sufficient SantaTokens.

Impact

The collectPresent logic clearly intends a single address to only receive one present.

Currently, buyPresent has no restriction on the number of presents received.

Tools Used

N/A

Recommendations

Discuss internally what is intended.

If an address should be eligible for only a single present, there should be a SantasList__AlreadyCollected check

Updates

Lead Judging Commences

inallhonesty Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Design choice

Support

FAQs

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