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
Jul 7th, 2026 → Jul 7th, 2026
View repo
View results
8 / 8
Submissions
Severity
Validity
Tags
Author
#1
`Pot::closePot` divides the leftover pool by `i_players.length` instead of `claimants.length`, permanently stranding tokens in the Pot
High
Valid
[H-02] Incorrect logic in `...
drak3p14159
#2
Pot::closePot` distributes to every claimant in one unbounded loop, so a large contest can never be closed and all remaining funds are locked
High
Valid
[H-04] Gas Limit DoS via la...
drak3p14159
#3
`Pot` constructor overwrites rather than accumulates rewards for a duplicated player address, mis-allocating funds and stranding the difference
High
Valid
[H-03] [M1] `Pot::construct...
drak3p14159
#4
ERC20 `transfer`/`transferFrom` return values are ignored throughout the protocol, so a non-reverting failed transfer is treated as success
Low
Invalid
drak3p14159
#5
Integer division in `Pot::closePot` rounds each claimant share down, leaving un-distributable dust locked in the contract
Low
Valid
[L-03] [H-03] Precision los...
drak3p14159
#6
Centralization: the only path to distribute the leftover pool is owner-gated, so a negligent or compromised owner can withhold it indefinitely
Low
Invalid
drak3p14159
#7
`Pot::claimCut` guards with `reward <= 0` on an unsigned integer, a dead/misleading comparison that can only ever mean `== 0`
Low
Invalid
drak3p14159
#8
`Pot::closePot` sends the manager cut to the `ContestManager` contract, which has no token-withdrawal function, permanently freezing every manager cut
High
Valid
[H-01] Owner Cut Stuck in `...
drak3p14159
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!