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 19th, 2026 → Jul 26th, 2026
View repo
View results
7 / 7
Submissions
Severity
Validity
Tags
Author
#1
Reentrancy in `PuppyRaffle::refund` allows an entrant to drain the entire raffle balance
High
Valid
[H-02] Reentrancy Vulnerabi...
furkanumut
#2
Weak randomness in `PuppyRaffle::selectWinner` allows any player to predict and choose the winner and the puppy rarity
High
Valid
[H-03] Randomness can be gamed
furkanumut
#3
Unsafe `uint64` cast in `PuppyRaffle::selectWinner` truncates `totalFees` and permanently locks the protocol's fees
High
Valid
[H-05] Typecasting from uin...
furkanumut
#4
O(n²) duplicate check in `PuppyRaffle::enterRaffle` makes entry progressively more expensive, then impossible
Medium
Valid
[M-01] `PuppyRaffle: enterR...
furkanumut
#5
Strict `balance == totalFees` equality in `PuppyRaffle::withdrawFees` permanently locks fees via force-fed wei or natural rounding dust
Medium
Valid
[M-02] Slightly increasing ...
furkanumut
#6
`PuppyRaffle::selectWinner` reverts whenever the RNG picks a winner that cannot receive ETH
Medium
Valid
[M-03] Impossible to win ra...
furkanumut
#7
`PuppyRaffle` counts refunded tombstone slots as players: pot overcount bricks settlement, two tombstones block all new entries, and the RNG can select a tombstone as winner
High
Valid
[H-04] `PuppyRaffle::refund...
furkanumut
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!