In the collectPresent function, users with EXTRA_NICE status receive both an NFT and SantaTokens. However, the contract calls _mintAndIncrement() (which triggers the _safeMint external callback onERC721Received) before calling i_santaToken.mint(msg.sender). A malicious receiver contract can hijack this callback to reenter the protocol or manipulate state before the SantaToken minting is finalized, violating the Checks-Effects-Interactions (CEI) pattern.
The contest is live. Earn rewards by submitting a finding.
Submissions are being reviewed by our AI judge. Results will be available in a few minutes.
View all submissionsThe contest is complete and the rewards are being distributed.