In fees.sol under the function sellProfits() a swap is done converting tokens to WETH. but the issue here results in the fact that slippage is set to zero
Defi platforms must allow a user set a slippage parameter or a default slippage should be set to prevent loss of funds. It can be seen in the snippet below that slippage is set to zero.
This means that the user can accept a zero amount of tokens as output.
This opens the protocol to catastrophic loss of funds via MEV bot sandwich attacks.
Manual Review
A default or caller-specified slippage should be set.
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.