mintSnowman increments s_TokenCounter after _safeMint, which performs an external onERC721Received callback.
This violates Checks-Effects-Interactions; it is currently mitigated only because ERC721 reverts on a duplicate token id, but the ordering is fragile.
Likelihood:
Occurs on every mint to a contract receiver that implements onERC721Received.
Impact:
Reentrancy-prone ordering; safe today only by accident of ERC721's duplicate-id check.
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.