Competitive Audits
First Flights
Leaderboard
Docs
Toggle theme
Sign up
Log in
All First Flights
Rust Fund
Submissions
AI First Flight
Rust Fund
AI First Flight #9
Beginner Friendly
Rust
EXP
AI First Flight
EXP
Aug 1st, 2026 → Aug 1st, 2026
View repo
View results
6 / 6
Submissions
Severity
Validity
Tags
Author
#1
Root cause: withdraw checks neither the funding goal nor the deadline. Impact: a creator drains every contribution at any moment, while contributors cannot refund because the campaign is still running
High
Invalid
hati
#2
Root cause: contribute records the money in the fund but never writes contribution.amount. Impact: every refund pays out zero, so contributors who back a failed campaign lose their SOL permanently
High
Valid
[H-03] Permanent Loss of Co...
hati
#3
Root cause: set_deadline checks dealine_set but never assigns it, so the guard never fires. Impact: a creator rewrites the deadline without limit and can revoke a refund window that has already opened
Medium
Valid
[M-02] The set_deadline fun...
hati
#4
Root cause: amount_raised is only ever increased, never decreased by withdraw or refund. Impact: the counter permanently overstates the balance, and after the first payout the campaign can never pay out again
Medium
Valid
[M-01] Withdrawal doesn't r...
hati
#5
Root cause: name is declared max_len(200) but is also a PDA seed, and a Solana seed is capped at 32 bytes, while fund_create validates nothing. Impact: most of the advertised name range is unusable and rent is paid for unreachable space
Low
Invalid
hati
#6
Root cause: refund never checks the funding goal, and its deadline guard is skipped whenever no deadline is set. Impact: refunds are accepted on live campaigns and on campaigns that already succeeded, contrary to the stated rules
High
Valid
[H-04] Inadequate Refund Co...
hati
Previous
1
Next
Support
FAQs
Can't find an answer? Chat with us on Discord, Twitter or Linkedin.
What is Cyfrin CodeHawks?
What is a competitive audit?
How can I host a competition on CodeHawks?
How is a contest prize pool determined?
How do I get rewarded?
What is a First Flight?
Give us feedback!