Consider introducing checks for msg.sender to ensure the recipient of the money is as intended.
Found in src/PuppyRaffle.sol Line: 229
Impact:
Trnafer Ether without address checks can lead to the loss of funds if the recipient address is incorrect or malicious.
Proof of Concept:
Recommended Mitigation:
Recommended Mitigation is to add the address checks for msg.sender in the withdrawFees function to ensure that only the intended recipient can withdraw the fees.
The contest is live. Earn rewards by submitting a finding.
Submissions are being reviewed by our AI judge. Results will be available in a few minutes.
View all submissionsThe contest is complete and the rewards are being distributed.