onlySanta modifier is not set on checkList
function. Therefore, any user can update s_theListCheckedOnce
for any user.
A malicious entity could set every user to NAUGHTY which would cause a DoS since no user would be able to claim its present. Moreover, checkTwice function would always revert.
The system is susceptible to a Denial of Service (DoS) incident, potentially resulting in users not receiving their Christmas present :'(
Manual review
I recommend putting onlySanta modifier on 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.