buyPresent function doesn't burn senders token but present receiver's tokens.
SantasList.sol
SantaToken.sol
buyPresent function doesn't burn msg.sender tokens. It burns presentReceiver tokens instead.
Attacker can mint ERC721 tokens to his account using other user's ERC20 tokens.
foundry
Change i_santaToken.burn call input.
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.