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

Weak input validation in the cairo mint_from_bridge function

Summary
there is no access control for the 'to' address in the function

Vulnerability Details
In erc721_bridgeable.cairo::mint_from_bridge function_ 'to' address can be set to zero address by mistake and which can lock our erc721 in it forever

Impact
Locking of token forever by mistake...

Tools Used
Mannual

Recommendations
add a check to 'to' address input too in the function

Updates

Lead Judging Commences

n0kto Lead Judge 12 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
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.