The checkList function is missing an access control modifier. According to the docs only santa can call the checkList function. Inorder to restrict who can call the function we need to check whether the msg.sender is authorized to call the function. But this check is missing in the checkList function.
Anyone can call the checkList function to set their status as NICE or EXTRA_NICE to receive rewards even if they are not .
Since anyone can set their status to NICE or EXTRA_NICE the santa can't effectively filter addresses. since checkTwice function requires the status input is same as status in s_theListCheckedOnce mapping.
Manual Review
To restrict who can call the checkList function add onlySanta modifier to the function.
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.