**Description: **claimAllRewardswhich allows users to claim all their rewards opens the protocol to reentrancy
The malicious user creates a contract and buys a box using the smart contarct, as shown in the POC below
The malicious contract uses recieve()to keep reentering the protocol until it drains the protocol
Tool Used: Remix IDE
Impact: High
**Proof of Concept: **
Recommended Mitigation:
claimAllRewardsshould follow CEI
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.