In both the claimall and claimsingle functions the user will be able to do a reentrancy attack there by draining all the funds of the contract. This could have been prevented by using something like a reentrancy gaurd or making the state change before making the transaction call.
Reentracy attack can be used to drain all the funds of the mystry box contract which in turn will affect all the users and the owner of the contract.
=> manual review.
=> foundry
This can be prevented by using the reentrancy gaurd in the contract or making the state change before executing the transaction call.
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.