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 25th, 2026 → Sep 1st, 2026
View repo
View results
6 / 6
Submissions
Severity
Validity
Tags
Author
#1
closePot is not idempotent - calling it more than once re-distributes the same remainingRewards and drains the pot repeatedly
High
Invalid
dngr2
#2
claimantCut divides by total players instead of actual claimants, permanently stranding funds unless everyone claims in time
High
Valid
[H-02] Incorrect logic in `...
dngr2
#3
Manager cut is sent to ContestManager itself, not the admin, and ContestManager has no withdrawal function - the cut is permanently stuck
High
Valid
[H-01] Owner Cut Stuck in `...
dngr2
#4
Constructor never validates totalRewards against sum(rewards) - an underfunded pot lets early claimants drain it and permanently bricks later claimants
Low
Valid
[L-01] The logic for Contes...
dngr2
#5
closePot loops over all claimants with no cap - a large enough pot exceeds the block gas limit and can never be closed
High
Valid
[H-04] Gas Limit DoS via la...
dngr2
#6
createContest never validates players.length > 0 - a zero-player pot causes closePot to divide by zero, permanently locking the entire funded amount
Low
Invalid
dngr2
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!