Anyone can call the function and mint an NFT since s_theListCheckedOnce and s_theListCheckedTwice for a random address has default value for enum Status - 0 NICE
Just call collectPresent() function and mint your NFT!
POC:
Anyone can mint an NFT!
Manual review, Foundry
Change the enum STATUS so that in default value 0 to have a UNCHECKED value and implement it's needed checks.
In Solidity the first element of an enum is the default value. In Santa's List, the means each person is mapped by default to 'NICE'.
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.