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 1st, 2026 → Nov 8th, 2026
View repo
View results
7 / 7
Submissions
Severity
Validity
Tags
Author
#1
Reentrancy in refund() lets a player drain all entrance fees held by the contract
High
Valid
[H-02] Reentrancy Vulnerabi...
niosoke
#2
Weak on-chain randomness in selectWinner() lets anyone predict the winner and only play when they win
High
Valid
[H-03] Randomness can be gamed
niosoke
#3
withdrawFees() balance-equality check lets anyone permanently lock the protocol fees with 1 wei
Medium
Valid
[M-02] Slightly increasing ...
niosoke
#4
Quadratic duplicate check in enterRaffle() makes entering the raffle unaffordable as players grow (DoS)
Medium
Valid
[M-01] `PuppyRaffle: enterR...
niosoke
#5
totalFees is a uint64, so large raffle fees silently truncate and protocol accounting breaks
High
Valid
[H-05] Typecasting from uin...
niosoke
#6
getActivePlayerIndex() returns 0 both for the first player and for non-players
Low
Valid
[L-01] Ambiguous index retu...
niosoke
#7
changeFeeAddress() accepts the zero address, which would burn all withdrawn fees
Low
Invalid
niosoke
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!