The withdraw
function allows the fund creator to withdraw all raised funds without verifying if the funding goal has been reached.
The withdraw
function allows the fund creator to withdraw all funds at any time.
The function lacks any checks to verify:
If the funding goal has been reached ( fund.amount_raised >= fund.goal
)
If the deadline has passed (for time-bound campaigns)
If the campaign is in a valid state for withdrawal
This means a fund creator can create a campaign with a high goal, collect some contributions, and then withdraw all funds immediately without fulfilling the promised goal.
Users lose trust in the platform.
Add goal verification
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.