20,000 USDC
View results
Submission Details
Severity: medium

Calls inside loops may lead to DoS

Summary

The loops in Lender.sol extend beyond 50-100 lines and are likely to exceed the gas limit.

Vulnerability Details

Calls to external contracts inside a loop could lead to DoS, if any of the calls revert or run out of gas.

https://swcregistry.io/docs/SWC-113/

Impact

If pass large arrays, the transaction may run out of gas, or if any of the external calls revert which leads to DoS.

Tools Used

Manual

Recommendations

It's crucial to keep in mind that external calls have the potential to fail.

Support

FAQs

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