The checkList
function in src/SantasList.sol is callable by anyone, when it should only be callable by santa.
This could lead to service denial by the user since he can update status in s_theListCheckedOnce
at will.
High - compromising the protocol's functionality
Manual Review
Add the 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.