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

Lack of Verification for SantaTokens Possession in the buyPresent function

Summary

The contract's buyPresent function lacks the required verification to ensure that only users with SantaTokens can purchase presents for others,

Vulnerability Details

the function allows transfer of presents even without checking that users has presents, this means that some users may transfer what they dont have

Impact

High the function is Allowing anyone to buy presents without possessing SantaTokens

Tools Used

manual analysis

Recommendations

add a check to ensure that users posses santa tokens before they can buy others presents them

Updates

Lead Judging Commences

inallhonesty Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

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