The index validation in MysteryBox::claimSingleReward() uses <=, which could allow an out-of-bounds error.
Users can provide an invalid index, potentially causing runtime errors.
Visual Studio Code
Solidity
Foundry
Correct the condition to < for proper index validation.
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.