MorpheusAI

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

Anyone can call the wrap function and mint stETHAmount_

Summary

The wrap() function can be called by any external user, allowing anyone to mint new shares.

Vulnerability Details

The critical issue is that the wrap function is defined with the external visibility modifier. This means any user can call the function and mint stETHAmount_,

There is no authentication check or onlyAuthorized modifier to restrict access.

This is a major access control vulnerability since minting new shares should only be done by an authorized party, not any user.

Impact

Anyone can mint stETHAmount_.

Tools Used

Manual review

Recommendations

Access control should be implemented.

Updates

Lead Judging Commences

inallhonesty Lead Judge over 1 year ago
Submission Judgement Published
Validated
Assigned finding tags:

Lack of access control in `StETHMock:mint` and `WStETHMock::mint`

Support

FAQs

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