L131 of the PuppyRaffle.sol: uint256 totalAmountCollected = players.length * entranceFee;
The calculation is wrong as the first player would be paying zero eth to enter the raffle, and also wrong because the payment made by other players increases geometrically and not arithmetically. It also affects the total prize pool in the contract as well as the total fees.
Manual Review
Consider using a mapping to keep track the amount each players entered into the raffle.
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.