ThePredicter::cancelRegistration
sends funds before setting status, making the function vulnerable to Reentrancy attack.
A malicious User could steal all the funds from the contract.
In ThePredicter::cancelRegistration
, move playersStatus[msg.sender] = Status.Canceled;
up two lines, at the beginning of the if
, before the call to send the funds
Reentrancy of ThePredicter::cancelRegistration allows a maliciour user to drain all funds.
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.