The function checkList is missing modifier onlySanta. This is required because this function can only by called by santa. We can see that in checkTwice function.
Anyone can call checkList
Manual Review, Foundry
Changed the test file to this:
Test passes:
Add onlySanta modifier
Anyone is able to call checkList() changing the status of a provided address. This is not intended functionality and is meant to be callable by only Santa.
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.