There is a risk of a slippage attack when removing liquidity in the emergencyPause function without setting a slippage point.
Contracts have slippage set in many places, but there are many places where slippage is not set in order to keep the program from failing to run, which makes slippage attacks risky. For example, when emergencyPause is in place, it is susceptible to a slippage attack.
Emergency withdrawals can easily cause a loss in the contract.
manual
It is recommended to still set slippage to avoid huge losses. Or at least leave the interface to be able to set slippage, even if you choose not to use it in case of emergency.
Impact: High Likelihood: Low Because the whole lpToken balance is used during the emergency process, the impact is high. But the likelihood is LOW because of the dependence on the emergency.
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.