MorpheusAI

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

front-run user withdraw by burnning tokens in `MOR :: burn` and cause a DOS attack

Summary

anyone can burn token just before you withdraw

Vulnerability Details

anyone can burn token just before you withdraw your funds .T his can lead to a DOS attack
of a user trying to withdraw funds and calling the withdraw function multiple times

Impact

unable to withdraw funds

Tools Used

manual

Recommendations

add a function modifier for the Owner

- function burn(uint256 amount_) public override {
ERC20Burnable.burn(amount_);
}
+ function burn(uint256 amount_) public onlyOwner override {
ERC20Burnable.burn(amount_);
}
Updates

Lead Judging Commences

inallhonesty Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

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