Anyone is able to get the needed index
A malicious actor can copy the lines that calculate random numbers, and get the index they need, and call the selectWinner function when they need to become a winner
Anyone could cheat and win all raffles
hardhat
For generating a random number use off-chain oracles or services specifically for this
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.