selectWinner
can be manipulated
enterRaffle
allows players to join the raffle even after the raffle has ended. selectWinner
calculates the winner using the length of players
array.
A malicious player can enroll more account in the raffle after the raffle has ended hence changing the length of the players array and hence changing the winner to someone else or worse to themselves!
A malicious player can change the winner by enrolling more accounts after the raffle has ended.
Manual
Use VRFs to generate random numbers can choose winners.
Root cause: bad RNG Impact: manipulate winner
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.