An attacker can cause denial of service by frontrunning the withdrawFees tx by sending 1 wei and causing the ether balance to change and not equal to the totalFees
in PuppyRaffle.withdrawFees()
PuppyRaffle contract doesn't accept ether but can be forcefully sent to cause DOS on require(address(this).balance == uint256(totalFees), "PuppyRaffle: There are currently players active!");
The balance can be modified, but totalFees
doesn't.
Severity : high
likelihood : medium
manual verification
add the below fallback function
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.