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

Present is been minted to msg.sender instead of address provided

Summary

Nft meant to be bought for naughty friend will end up being in the users wallet because the msg.sender is being passed in as the address to parameter.

Vulnerability Details

logic error

Impact

Loss of nft

Tools Used

foundry

Recommendations

replace msg.sender with the provided/naugty friend address

Updates

Lead Judging Commences

inallhonesty Lead Judge almost 2 years ago
Submission Judgement Published
Validated
Assigned finding tags:

buyPresent should send to presentReceiver

Support

FAQs

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