MorpheusAI

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

Anyone can mint as many `WStETH` as he want for free

Summary

Anyone can mint as many WStETH as he want without any collateral

Vulnerability Details

the mint() function in the WStETHMock contract allow anyone to mint as many tokens as he want as there is no modifier to protect the function and no collaterals are requested for that mint

function mint(address account_, uint256 amount_) external {
_mint(account_, amount_);
}

Impact

Mint free WStETH tokens

Tools Used

Manual audit

Recommendations

Put in place a modifier to protect access to that function to only the Owner.

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.