20,000 USDC
View results
Submission Details
Severity: medium

Functions that contain ERC20 transfers in `Lender.sol` lack `nonReentrant` modifier

Summary

Lack of nonReentrant modifier for functions executing ERC20 transfers in Lender.sol

Vulnerability Details

Lack of nonReentrant modifier for functions executing ERC20 transfers exposes the protocol to reentrancy risk.

Impact

The protocol is at risk of reentrancy attacks. User funds are indirectly at risk.

Tools Used

Recommendations

Add OpenZeppelin nonReentrant modifier to functions that execute transfers.

Support

FAQs

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