Moonwell

Moonwell
DeFiFoundry
15,000 USDC
View results
Submission Details
Severity: high
Invalid

paying with almost blacklisted tokens`repayBadDebtWithCash`

Summary

blacklisted usdt or usdc can not be used

Vulnerability Details

anyone can call repayBadDebtWithCash and transfer funds. if address is blacklisted a user or the
protocol can not use the funds

Impact

protocol can be locked
funds can be lost

Tools Used

manual

Recommendations

add access control
check for blacklisted

+ require(msg.sender == admin, "only the admin may call this function");
Updates

Lead Judging Commences

0xnevi 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.