**withdraw() needs to check if the function is getting called before or after the deadline, to ensure the host can only withdraw the funds after the deadline is over. **
Without any time access check, a malicious host can remove all the funds from the contract with a single function call before the deadline is over. Resulting in loss of user funds and a breach to the protocol logic.
Manual Review
Add a check at the beginning of the withdraw() method, to ensure that the function can only be accessed after the deadline has crossed.
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.