The SantasList::checkList
function is missing the onlySanta()
modifier. Instead of just Santa, anyone can change the Status of s_theListCheckedOnce
.
Above function should have the modifier onlySanta(), so that the modification of s_theListCheckedOnce
is restricted.
Test proofs that anyone can call function and modify status of a specific user.
foundry
Add modifier onlySanta()
to function SantasList::checkList
.
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.