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
Jun 11th, 2026 → Jun 12th, 2026
View repo
View results
5 / 5
Submissions
Severity
Validity
Tags
Author
#1
# `rRustfund::contribute` never records `contribution.amount`, so every `refund` pays out `0` and contributor funds are permanently unrecoverable
High
Valid
[H-03] Permanent Loss of Co...
gondar
#2
`rustfund::withdraw` performs no goal or deadline check, letting a creator drain all contributions from a campaign that never succeeded (rug pull)
High
Valid
[H-02] H-01. Creators Can W...
gondar
#3
`rustfund::refund` only checks the deadline, not whether the goal failed, allowing contributors to reclaim funds from a *successful* campaign (and never decrements `amount_raised`)
High
Valid
[H-04] Inadequate Refund Co...
gondar
#4
# `rustfund::set_deadline` never sets `dealine_set = true` and validates nothing, so the deadline is unlimitedly re-settable to any value (including past/zero)
Medium
Valid
[M-02] The set_deadline fun...
gondar
#5
`rustfund::withdraw` (and `refund`) never update `amount_raised`, so the fund's on-chain accounting diverges from its actual lamports
Medium
Valid
[M-01] Withdrawal doesn't r...
gondar
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!