Mystery Box

First Flight #25
Beginner FriendlyFoundry
100 EXP
View results
Submission Details
Severity: low
Invalid

Use of low-level `.call` for transfers

Summary

Gas limit issues with .callin functions withdrawFunds, claimAllRewards, claimSingleReward.

Vulnerability Details

The .call function forwards all remaining gas.

Impact

The .call function can result in gas exhaustion or failures if the recipient is a contract with complex fallback/receive functions.

Tools Used

Manual review.

Recommendations

You can limit the amount of gas forwarded using .call{value: totalValue, gas: 2300}("")or higher amount.

Updates

Appeal created

inallhonesty Lead Judge about 1 year ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.

Give us feedback!