MorpheusAI

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

Using _mint instead of _safeMint opens vulnerability spots

Summary

_mint() is used instead of _safeMint() in several functions

Vulnerability Details

Using ERC721::_mint() can mint ERC721 tokens to addresses which don't support ERC721 tokens. Use _safeMint() instead of _mint() for ERC721. , even if only the owner can call the function, there is always room for error. It happens in the following functions:

  • MOR.sol: Line: 25

  • WStETHMock.sol: Line: 16

  • WStETHMock.sol: Line: 24

Impact

Low

Tools Used

Aderyn

Recommendations

Change _mint() for _safeMint()

Updates

Lead Judging Commences

inallhonesty Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Lack of quality

Support

FAQs

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