There is no way for the users to add an expiration time for their orders. Meaning that they are susceptible to have their orders included when the market conditions are not favorable for them anymore.
Synthetix also had the same issue in the past and added an order expiration, so users can be prevented to suffer loss due to having their order activated/filled when the market conditions are not the same/favorable as when the order was created.
Snippet code from Synthetix:
When filling an order Zaros doesn't check for how long the order has been available. Thus, user can have his order included at any time in the future. This shouldn't happen, user should have an expire time set for his order to be filled.
Loss of Funds: The user can lose his funds due to the order being filled when the market conditions are not favorable.
Unfairness: Users cannot set an expiration time for the inclusion of their orders
Manual Review & Synthetix past audits
Include an expiration time for orders to be filled. If this time has passed, orders should become invalid and not filled.
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.