Competitive Audits
First Flights
Leaderboard
Docs
Toggle theme
Sign up
Log in
All First Flights
Puppy Raffle
Submissions
AI First Flight
Puppy Raffle
AI First Flight #1
Beginner Friendly
Foundry
Solidity
NFT
EXP
AI First Flight
EXP
Nov 14th, 2026 → Nov 14th, 2026
View repo
View results
10 / 10
Submissions
Severity
Validity
Tags
Author
#1
Reentrancy in `refund` drains the raffle pool
High
Valid
[H-02] Reentrancy Vulnerabi...
rubabbel
#2
Predictable / manipulable randomness in `selectWinner`
High
Valid
[H-03] Randomness can be gamed
rubabbel
#3
Refunded players break prize accounting and brick `selectWinner`
High
Valid
[H-04] `PuppyRaffle::refund...
rubabbel
#4
M-01 — `totalFees` `uint64` truncation/overflow corrupts fee accounting
High
Valid
[H-05] Typecasting from uin...
rubabbel
#5
M-02 — Two refunds create duplicate zero-addresses, permanently blocking entry
High
Valid
[H-05] Typecasting from uin...
rubabbel
#6
M-03 — `players.length >= 4` counts refunded slots
High
Valid
[H-04] `PuppyRaffle::refund...
rubabbel
#7
L-01 — `getActivePlayerIndex` returns `0` for both "not found" and index `0`
Low
Valid
[L-01] Ambiguous index retu...
rubabbel
#8
L-02 — Rarity distribution off-by-one (71/25/4 instead of 70/25/5)
Low
Valid
[L-03] Participants are mis...
rubabbel
#9
L-03 — Owner can set `feeAddress` to `address(0)` or redirect fees
Low
Invalid
rubabbel
#10
I-01 — Informational
Low
Valid
[L-02] Missing `WinnerSelec...
rubabbel
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!