The refund method in the program does not check if the campaign goal (fund.goal) has been reached before allowing refunds. This allows contributors to reclaim funds even if the campaign successfully met its goal, which may undermine the intended behavior of a successful crowdfunding campaign.
The refund function processes refunds based solely on the deadline, without considering whether the campaign reached its funding goal (fund.amount_raised >= fund.goal).
Allowing contributors towithdraw their funds after the deadline even if the campaign succeeded.
Creators expecting to keep funds from a successful campaign may lose those funds if contributors refund after the deadline.
Add Goal Check in Refund Method
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.