Beginner FriendlyDeFiFoundry
100 EXP
View results
Submission Details
Severity: medium
Valid

Can't withdraw from MoneyVault because MoneyShelf's funds were never transferred after migration

Summary

Can't withdraw from MoneyVault because MoneyShelf's funds were never transferred after migration

Vulnerability Details

Denying deposits is a design choice, however; MoneyVault can't even receive funds from MoneyShelf, nowhere does MoneyShelf try to send funds to MoneyVault and MoneyVault doesn't even possess a receive or fallback, withdraw is pretty much useless here, the godfather will be trying to withdraw funds that are still in MoneyShelf

Impact

Loss of funds

Tools Used

Manual review

Recommendations

add a receive function to the MoneyValut and send the usdc from MoneyShelf to MoneyVault in the EmergencyMigration script

Updates

Lead Judging Commences

n0kto Lead Judge about 1 year ago
Submission Judgement Published
Validated
Assigned finding tags:

Emergency migration leave the USDC

Support

FAQs

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