The setPrediction function in the ScoreBoard contract lacks access control,An attacker can exploit the lack of access control in the setPrediction function to cause a Denial of Service (DoS) attack.
By repeatedly calling this function, the attacker can consume significant gas and potentially prevent legitimate users from interacting with the contract.
setPrediction() in the ScoreBoard contract lacks proper access control, allowing any user to call it directly.
This vulnerability can lead to a Denial of Service (DoS), where legitimate users are unable to update their predictions or interact with the contract due to excessive gas consumption caused by the attacker.
Manual review
add an access control to the function setPediction()
setPrediction has no access control and allows manipulation to Players' predictions.
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.