the claimed check depends on a immutable variable which has not been initialized
Instead of using the user-supplied treasureHash, it references an unrelated immutable variable _treasureHash
_treasureHash variable is not used anywhere, which means its value never changes. As a result, there are two possible scenarios:
This check always fails, creating a risk of denial of service (DoS).
This check always passes, creating a risk that the same treasure can be used repeatedly to claim rewards.
In the second case, a user could find a single treasure and drain all rewards, instead of requiring all treasures to be found as intended
Likelihood:
The vulnerability is highly likely to be triggered under normal usage conditions
Impact:
Incorrect claim validation
Allowing duplicate claims
once _treasureHash is marked as claimed ,All future claims will revert
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.
The contest is complete and the rewards are being distributed.