20,000 USDC
View results
Submission Details
Severity: low

[L-09] Check in withdraw if you really have the funds before withdrawing

Summary

There is no verification if you really have funds in the account, the update function and the balance can be executed but the transfer transaction will fail.

Impact

Updates or loss of gas can be executed without the need

Tools Used

Manual code review

Recommendations

It is recommended to verify that the user has the amount requested to withdraw

Support

FAQs

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