In SantasList.sol the checkList
function is missing the onlySanta
function modifier.
The external function checkList
should be only callable by santa. That being said, it is missing the onlySanta
modifier. Even the comments mentions that fact.
The missing modifier is bad since it enables any one to give the status they want to any address.
Manual review
Simply add the onlySanta
function modifier to the function like in the following code bloc
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.