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
May 27th, 2026 → May 27th, 2026
View repo
View results
5 / 5
Submissions
Severity
Validity
Tags
Author
#1
`Pot.closePot` divides bonus by `i_players.length` instead of `claimants.length`, underpaying every claimant and permanently locking residual funds in the Pot
High
Valid
[H-02] Incorrect logic in `...
cdude
#2
Manager cut in `Pot.closePot` is transferred to the `ContestManager` contract instead of the admin, and `ContestManager` has no token-withdraw function — the cut is permanently locked
High
Valid
[H-01] Owner Cut Stuck in `...
cdude
#3
`Pot.closePot` never zeroes `remainingRewards` or sets a closed flag, allowing it to be invoked multiple times and repeatedly drain the manager cut from the Pot
Medium
Invalid
cdude
#4
`Pot` constructor never validates `sum(rewards) <= totalRewards`, allowing an over-allocated Pot where late claimers revert with arithmetic underflow on `remainingRewards`
Low
Invalid
cdude
#5
`Pot` constructor does not enforce `players.length == rewards.length`; extra `rewards` entries are silently ignored, masking misconfigured Pots
Low
Invalid
cdude
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!