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
Jul 3rd, 2026 → Jul 5th, 2026
View repo
View results
10 / 10
Submissions
Severity
Validity
Tags
Author
#1
Reentrancy in `refund()` allows draining the entire contract
High
Valid
[H-02] Reentrancy Vulnerabi...
drak3p14159
#2
Predictable on-chain randomness lets an attacker choose when to win and mint the rarest NFT
High
Valid
[H-03] Randomness can be gamed
drak3p14159
#3
`uint64` cast on accumulated fees silently truncates, corrupting accounting and locking funds forever
High
Valid
[H-05] Typecasting from uin...
drak3p14159
#4
# O(n²) duplicate check makes `enterRaffle` gas grow unbounded, exceeding the block gas limit (DoS)
Medium
Valid
[M-01] `PuppyRaffle: enterR...
drak3p14159
#5
# `withdrawFees` strict balance equality can be permanently bricked by force-fed ETH
Medium
Valid
[M-02] Slightly increasing ...
drak3p14159
#6
# Refunded slots inflate the prize calculation, reverting `selectWinner` and stranding the round
Medium
Invalid
drak3p14159
#7
# A winner that rejects ETH bricks `selectWinner`, freezing the prize and blocking settlement
Medium
Valid
[M-03] Impossible to win ra...
drak3p14159
#8
# `getActivePlayerIndex` returns `0` for a non-existent player, colliding with the first valid index
Low
Valid
[L-01] Ambiguous index retu...
drak3p14159
#9
# Rarity distribution off-by-one: `<= 70` assigns 71 of 100 outcomes to common
Low
Valid
[L-03] Participants are mis...
drak3p14159
#10
# `enterRaffle` allows `address(0)` entrants, colliding with the refund sentinel
High
Valid
[H-01] Potential Loss of Fu...
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!