SantasList::checkList
function can be called by anyone and change the s_theListCheckedOnce
state.
The function SantasList::checkList
does not check if the caller is i_santa
, this allows anyone to call the function and modify state.
Unauthorized update to s_theListCheckedOnce
storage variable.
Forge test case
Foundry
Add onlySanta
function modifier to 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.