15,000 USDC
View results
Submission Details
Severity: medium
Valid

Liquidators can be front-run to their loss

Summary

DSC liquidators are prone to oracle price manipulations and MEV front-run attacks

Vulnerability Details

Sudden token price changes caused by oracle price manipulations and MEV front-run can cause liquidators to get less than expected collateral tokens.

Impact

Liquidators stand to earn less than expected collateral tokens for deposited DSC

Tools Used

Manual review

Recommendations

Function liquidate should have an input parameter uint256 minimumOutputTokens and the function should revert at Ln 253 if

require(totalCollateralToRedeem >= minimumOutputTokens, "Too little collateral received.");

Support

FAQs

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