The comment on the function SantasList::checkList
say Only callable by santa
but the function don't have the modifier onlySanta
.
The modifier onlySanta
is missed on SantasList::checkList
function, so everyone can update the status of an address on the s_theListCheckedOnce
mapping.
The impact is low because there is the second function SantasList::checkTwice
to confirm the status of an address, and it has the onlySanta
modifier.
Manual review
Add the modifier onlySanta
in 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.