SelectWinner is not random and can be predicted.
Since POS, block.difficulty is not actually random, and msg.sender and block.timestamp are known, so we can easily calculate winnerIndex and the transaction to be run at a predicted block.
Winner can be choose with a transaction initiated at a specific block.
Use a "real" random function like Chainlink VRF.
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.