Winner can be predicted due to certain blockchain specifics and overall code visibility.
A variable responsible for calculating winner (winnerIndex) can be predicted since using block.timestamp is not recommended.
Also raffleDuration and raffleStartTime should not be public.
Lottery winner can be predicted.
Manual code analysis.
Consider not using block.timestamp since it can be manipulated
References:
https://ethereum.stackexchange.com/questions/143504/blockhash-and-block-timestamp-manipulation-in-pos
https://solidity-by-example.org/hacks/randomness/
You can take a look at oracles:
https://fravoll.github.io/solidity-patterns/randomness.html
https://fravoll.github.io/solidity-patterns/oracle.html
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.