MorpheusAI

MorpheusAI
Foundry
22,500 USDC
View results
Submission Details
Severity: low
Invalid

Return value of erc20.approve is unchecked

Summary

Return value of erc20.approve is unchecked

Vulnerability Details

The SafeERC20 library is used in the L1Sender contract to handle the transfer of tokens that are not compliant with the ERC20 specification.

Impact

Tokens not compliant with the ERC20 specification could return false from the approve function call to indicate the approval fails, while the calling contract would not notice the failure if the return value is not checked.

Tools Used

Recommendations

Updates

Lead Judging Commences

inallhonesty Lead Judge
over 1 year ago
inallhonesty Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Known issue

Support

FAQs

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