Detects reentrancies that allow manipulation of the order or value of events.
Location:
Reentrancy in PuppyRaffle.refund(uint256) (src/PuppyRaffle.sol#96-105):
External calls:
address(msg.sender).sendValue(entranceFee) (src/PuppyRaffle.sol#101)
Event emitted after the call(s):
RaffleRefunded(playerAddress) (src/PuppyRaffle.sol#104)
Attackers can manipulate the code
Audit Wizard (Slither)
Apply the check-effects-interactions pattern.
reentrancy in refund() 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.