The SantaList::checkList()
function is currently accessible to anyone, contrary to the intended restriction mentioned in the Readme documentation, which specifies that only Santa should have this privilege. This allows anyone to invoke the function and modify their status to NICE
or EXTRA_NICE
, thereby tampering with the initial checklist. Consequently, this has the potential to result in inaccurate evaluations during the second check conducted by Santa.
Manual review
Add the onlySanta
modifier to the checkList
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.