SantaList.checklist
can be called by anyone.
The comment states that checkList()
is only callable by santa. But there are no checks to prevent others from calling this function. This means anyone can change s_theListCheckedOnce
.
Prevent the second checkList checkTwice
from passing. Also prevent user from collecting presents by changing s_theListCheckedOnce
.
Manual review, Foundry
Add onlySanta
modifier to 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.