Function checkList
expected to be called only by Santa. However no caller checks are there
Contract logic considers person status to be approved if it's double confirmed by checkList
and checkTwice
with the same status.
However as function checkList
can be called by anyone, Santa's checkTwice
transaction can be front-runned with checkList
transaction by attacker. This transaction sets first check status the same as the second check status if second check status is better than first set
If second check if attacker has a mistake, this mistake will be applied regardless the first check
Add modifier onlySanta
to the function 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.