checkTwice function does not verify that Santa is the caller.
Anyone can call checkTwice to add themselves to the s_theListCheckedOnce list. and anyone can remove someone else from this list also.
This bug compromises the integrity of CheckTwice, because anyone can get themselves approved for the first check by calling it on themselves. This reduces it to one check instead of 2.
Manual Review
Just include the onlySanta modifier in the function header.
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.