Competitive Audits
First Flights
Leaderboard
Docs
Toggle theme
Sign up
Log in
All First Flights
MyCut
Submissions
AI First Flight
MyCut
AI First Flight #8
Beginner Friendly
Foundry
EXP
AI First Flight
EXP
Jun 5th, 2026 → Jun 5th, 2026
View repo
View results
6 / 6
Submissions
Severity
Validity
Tags
Author
#1
Pot::closePot divides the leftover pool by the full invited roster instead of in-time claimants, permanently locking the residue
High
Valid
[H-02] Incorrect logic in `...
ghost76
#2
Pot::closePot is re-callable with no closed-flag and never decrements remainingRewards, letting the owner take repeated manager cuts and re-pay claimants until the Pot is drained
Medium
Invalid
ghost76
#3
Pot::closePot sends the manager cut to the ContestManager contract (the Pot's owner), which has no withdrawal function, permanently locking the cut
High
Valid
[H-01] Owner Cut Stuck in `...
ghost76
#4
Pot constructor does not dedupe i_players, so a duplicate address overwrites its own reward and inflates the closePot divisor
High
Valid
[H-03] [M1] `Pot::construct...
ghost76
#5
A Pot can be created but never funded (constructor transfer is commented out, fundContest is unenforced), causing every claimCut to revert and permanently DoS all claims
Medium
Valid
[M-02] **[L-1] users can in...
ghost76
#6
ContestManager::createContest never checks that the sum of rewards equals totalRewards, allowing over-allocation that DoSes late claimers or under-allocation that strands funds
Medium
Invalid
ghost76
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!