Can arbitrarily burn someone else's SantaTokens to buy presents
There is no check in buyPresent() to verify if presentReceiver is the same as msg.sender. This can be exploited to burn someone else's SantaTokens and mint NFTs for oneself.
add below check
Current implementation allows a malicious actor to burn someone else's tokens as the burn function doesn't actually check for approvals.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.