The makePrediction
function in the ThePredicter
contract allows players to make predictions for matches. However, it has a vulnerability due to the lack of access control, allowing unauthorized users to make predictions.
Lack of Access Control:
The function does not verify if the caller is an approved player before allowing them to make a prediction.
This can be exploited by unauthorized users to participate in the betting process.
Unauthorized users can make predictions, which undermines the integrity of the betting system. This can lead to disputes and loss of trust among participants, potentially causing reputational damage to the organizer.
Manual review
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.