The refund function is vulnerable to a reentrancy attack.
The refund function is vulnerable to a reentrancy attack because it doesn't update all the logic before sending the users funds back to them.
allows the attacker to drain the entire contracts funds.
Manual Review, Slither
use CEI (Checks, Effects, Interactions). only send ether once you have finished updating all the logic.
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.