20,000 USDC
View results
Submission Details
Severity: medium

swaping all loan tokens through same router

Vulnerability Details

sellProfits function swaps all loan tokens through same router. This is problematic as it is very unlikely that a UniswapV3 router will have good liquidity sources for all tokens and will result in protocol experiencing forced losses to loan tokens.

Impact

forced to swap through a router even if it doesn't have good liquidity for all tokens

Tools Used

Manual Review

Recommendations

use an aggregator like paraswap or multiple routers instead of only one single UniswapV3 router.

Support

FAQs

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