checkList() should only be callable by i_santa.
anyone will be able to call this function that isn't i_santa.
malicious users can call as many times as they want, there is no limit.
users that have been checked as Naughty can modify it for themselves.
can cause problems for i_santa when calling checkTwice as it will keep reverting if i_santa has a choice for the user and the user modified it themselves in checkList.
Foundry test that shows anyone can call the function that isn't santa.
Manual Review
Foundry tests
Currently in the SantasList.sol there is already a modifier created called onlySanta() which can be applied.
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.