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
Aug 1st, 2026 → Aug 1st, 2026
View repo
View results
4 / 4
Submissions
Severity
Validity
Tags
Author
#1
Root cause: `closePot` splits the leftover pool by `i_players.length` instead of the number of claimants. Impact: everyone who claimed in time is underpaid and the shortfall is stranded in the Pot forever
High
Valid
[H-02] Incorrect logic in `...
hati
#2
Root cause: `Pot` is `Ownable(msg.sender)` but is always deployed by the factory, so the manager cut is transferred to the `ContestManager` contract. Impact: the manager never receives his cut and it is locked there with no way out
High
Valid
[H-01] Owner Cut Stuck in `...
hati
#3
Root cause: `claimCut` never checks whether the 90 day window has expired or the pot was already closed. Impact: players who missed the deadline still take their full reward afterwards, and whoever arrives last is bricked
High
Invalid
hati
#4
Root cause: `closePot` finalises nothing, it neither zeroes `remainingRewards` nor records that the pot is closed. Impact: the whole distribution re-executes on every repeat call and drains the pot into an address nobody can withdraw from
Medium
Invalid
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!