Anyone can call testCheckList()
function. This may affect gift allocation decisions.
According to the description of how the contract functions, the `testCheckList()' function can only be called by Santa. In reality, however, the function can be called by anyone. It is declared as external. It does not contain an access modifier, nor does it check that the code is actually called by Santa. In addition, anybody can set the status to anybody else. See the example below:
High. Anyone can set the status they want. The legitimate status set by Santa can be overwritten.
Manual check.
Apply onlySanta()
modifier.
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.