sellProfits()
is vulnerable to sandwich attacks as it contains no slippage protection.
sellProfits()
swaps loan tokens for collateral tokens using a swap router.
But it uses 0 for amountOutMinimum
and it's vulnerable to sandwich attacks which is described here.
sellProfits()
might lose funds due to sandwich attacks.
Manual Review
sellProfits()
should use a positive amountOutMinimum
.
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.