Anyone can get present from Santa by frontrunning SantasList#checkTwice()
transaction.
Anyone can call SantasList#checkList()
.
First, attacker calls SantasList#checkList()
with his address and random status.
Then, attacker can observe the status value when Santa call SantasList#checkTwice()
with his address in the mempool and call SantasList#checkList()
again with the same status value as Santa with higher gas fee.
The attacker can mint many NFT tokens without buying them using SantaToken.
Manual review.
Add access control checks for SantasList#checkList()
so that only Santa can call this 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.