The Owner of the smart contract calls the function setAllowedSellToken and enables a certain token to be listed and sold by sellers on the order book
Then when the token reaches a high amount due to sellers deposits and it being locked until bought or expiring , the owner of the contract calls the emergency Withdrawal function
Since the New token isnt protected in the function it can be withdrawn by the owner of the contract leading to loss of funds by the sellers who locked their tokens awaiting to be sold
Recommended Mitigation
It is recommended that even when the owner of the smart contract adds a token that can be listed and sold on the order book and the smart contract , the token should also be given limitations that it cant be withdrawn by anyone even the owner of the smart contract so as to ensure the sellers of the smart contract do not lose their funds
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.