he withdraw() function allows the fund creator to withdraw funds at any time, without verifying if the deadline has passed. This enables early withdrawals, potentially before contributors
Currently, the withdraw() function executes without checking if the deadline has expired
There is no check to ensure that the current timestamp has surpassed the deadline (fund.deadline).
Funds can be withdrawn early, undermining the crowdfunding mechanism.
Contributors' expectations are violated, as funds may be withdrawn before they anticipate.
Potential misuse, where the creator withdraws funds before the campaign officially ends.
Manual Review
Before executing the withdrawal, add a deadline check:
This ensures that withdrawals only happen after the fundraising deadline, preserving fairness in fund management.
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.