Deposits and Withdrawal from Vault doesn't account deadline for transaction to complete. Transaction may not be optimal for user after certain deadline but protocol will execute them anyway
Protocol should provide their users with an option to limit the execution of their pending actions such as deposits and withdrawal. The most common solution is to include deadline timestamp and reverts if execution is after that timestamps like Uniswap.
Alice deposits 1000 index token to make delta position. She did some offchain computation and find that is she can get svTokens/GMXLP token from depositing before certain time she can avail some other benefits.
tx submitted in mempool and got executed after time she was expecting making a loss for Alice.
There can be muttiple cases where depositors and withdrawers would need deadline checks to make correct strategy for them which can't be implemented here
Adding a deadline param can solve this issue. Please refer to uniswap and some other protocol which implement such checks with slippage
Unexpected trade would get executed maliciously
Manual Review
Add deadline parameter in deposits and withdrawal structs and revert if tx is executed after deadline
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.