According to the documentation, only registered players who have been approved by the Organizer can participate in the game, make predictions, and receive rewards. However, since the functions for making predictions (ThePredicter::makePrediction
) and withdrawing rewards (ThePredicter::withdraw
) do not include checks to verify whether a player is registered and approved by the Organizer, unregistered users can participate, make predictions, and withdraw funds without paying the entrance fee.
Unregistered users can participate, make predictions, and withdraw funds without paying the entrance fee.
Add a check for player status in the functions ThePredicter::makePrediction
and ThePredicter::withdraw
. Alternatively, at least in the ThePredicter::makePrediction
function, prevent unregistered players from making predictions, which would then ensure they have nothing to withdraw.
makePrediction has no access controls and any unapproved user can make predictions causing an incorrect calculation and distribution of rewards.
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.