A critical vulnerability exists in the set_deadline
function that allows creators to repeatedly modify the deadline due to an incomplete implementation of the dealine_set
flag.
The function checks dealine_set
to prevent multiple deadline settings
However, it fails to set dealine_set
to true
after setting the deadline
This creates a logical bypass allowing:
Multiple deadline modifications
Circumvention of the intended single-deadline restriction
Deadline Manipulation:
Creator can change campaign deadline arbitrarily
Potential to:
Extend campaign duration indefinitely
Manipulate fundraising timelines
Prevent contributor refunds
Contributor Trust Erosion:
Unpredictable campaign duration
Lack of time-based funding guarantee
Update fund.dealine_set = true;
in the set_deadline
function
Manual Code Review
Static Code Analysis
Solana Program Testing Framework
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.