NFTBridge
60,000 USDC
View results
Submission Details
Severity: low
Invalid

Lack of Input Validation

Summary

In depositTokens, inputs like ids array length aren't validated, potentially allowing excessive gas consumption or logic bypasses (e.g., checking ids.length).

Vulnerability Details

The contract handles potentially large arrays of token IDs, especially in the depositTokens and withdrawTokens functions. If these arrays are too large, it could lead to out-of-gas errors, making the operations fail.

Impact

Tools Used

Recommendations

Updates

Lead Judging Commences

n0kto Lead Judge about 1 year ago
Submission Judgement Published
Invalidated
Reason: Too generic
Assigned finding tags:

Informational / Gas

Please, do not suppose impacts, think about the real impact of the bug and check the CodeHawks documentation to confirm: https://docs.codehawks.com/hawks-auditors/how-to-determine-a-finding-validity A PoC always helps to understand the real impact possible.

Support

FAQs

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