Contributions are allowed when deadline = 0, which may not qualify as an "active campaign."
Vulnerability Details:
The vulnerable code is in the contribute function:
rust
No Restriction: deadline = 0 allows contributions.
Impact:
Logic Disruption: Funding before campaign terms are set.
Tools Used: Manual Review
Recommendations:
Require deadline:
rust
There is no problem users to contribute to a given campaign before the deadline is initialized. The issue is when the users refund before the deadline is set.
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.