Beginner FriendlyFoundryBridge
100 EXP
View results
Submission Details
Severity: high
Invalid

Loss of funds in sendToL1()

Summary

  • sendToL1() parses an arbitrary set of bytes to obtain address target.

  • This value is then used in a call().

  • However it is possible for target == address(0), which would result in the value sent with the call() being lost.

Vulnerability Details

address(0).call() will always succeed, and the funds will be burned.

Impact

Loss of funds.

Tools Used

Manual inspection.

Recommendations

Revert with an error if target == address(0) before executing target.call().

Updates

Lead Judging Commences

0xnevi Lead Judge
almost 2 years ago
0xnevi Lead Judge almost 2 years ago
Submission Judgement Published
Invalidated
Reason: Known issue

Support

FAQs

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