Reentrancy in claimSingleReward
allowing user to drain the contract balance
In claimSingleReward
function it make external call to arbirtary address then update the state of the user rewardsOwned
so the user can reenter the function before the state update and claim rewards multiple times
PoC
Draining contract balance
Manual Review
Use OZ reentrancy guard
Follow CEI pattern as following
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.