As the exact balance of ETH in the contract is used in the function refund(...)
, there can be DoS situation through vulnerability or exploit.
While dividing the winner prizePool
and fee
, there could be scenarios when 1 wei is lost during division, which will result in the require
check of balance and totalFees
to not match ever.
Even if there is no case of 1 wei lost, any attacker can send 1 wei or more to the contract and make the owner to not use the function refund(...)
.
DoS on fee withdrawal.
Manual Review
Using the value from totalFees
to withdraw (after ensuring the calculation has been corrected mentioned in the previous issue) the fees for owner.
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.