The depositCollateralAndMintDsc() function's lack of slippage parameter, exposes it to potential front-running attacks.
The current implementation of the depositCollateralAndMintDsc() function lacks a parameter for controlling slippage, which makes it vulnerable to front-run attacks. allows manipulations during the minting process, leading to price impact.
Users are at risk of front-run attacks and may lose some DSC from their expectation.
Manual Review
Consider adding a minAmountOut and deadline parameter.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.