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

Use of assembly function

Summary

Assembly function in Solidity omits several security features of the language, therefore it is very error-prone.

PoC: https://github.com/ArkProjectNFTs/bridge/blob/main/apps/blockchain/ethereum/src/Bridge.sol#L327

Recommendations

Avoid using the function, unless it is necessary, and you know how to use it.

More info:

https://docs.soliditylang.org/en/v0.8.17/assembly.html?highlight=assembly

https://stefanoschaliasos.github.io/assets/papers/inline-oopsla22.pdf

Updates

Lead Judging Commences

n0kto Lead Judge about 1 year 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.