Slippage protection in the deposit function
The current deposit system in the protocol doesn't protect users from potential value losses during transactions. This makes it risky for users because they could end up with fewer assets than expected.
The deposit function does not allow users to specify the minimum share amount they want to receive.
Because the deposit is not completed in one transaction, the user can get less share amount according to the market condition at the time of deposit.
Without this protection, users could lose value when they deposit funds.
Manual Review
A slippage protection mechanism should be added. This would let users set a minimum amount of shares they're willing to accept, preventing unexpected losses during deposits.
Shares represent a part of the vault. Even if someone performs a frontrun or sandwich attack, you will still have the corresponding amount of shares representing your deposit. A user could add liquidity two days later, and you would still have the same amount of shares.
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.