Malicious user can exploit the contract by reenter the refund
refund
will send entranceFee
to msg.sender
and players[playerIndex] is not updated. Attacker can reenter the refund
and drain the contract.
The attacker can drain the contract of its funds.
Manual review.
Add reentrancy protection.
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.