The sellProfits function is vulnerable to the fronrun attack.
Minimum out amount is not specified which may lead to the frontranning (sandwich) attack.
This may result in manipulations and transfering _profits tokens from the contract with not appropriate WETH amount returning. The amount of tokens returned may be less than expected.
VS Code
Add the minimumOut parameter to the function and pass it as the amountOutMinimum parameter to the swap.
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.