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
Jun 7th, 2026 → Jun 10th, 2026
View repo
View results
6 / 6
Submissions
Severity
Validity
Tags
Author
#1
Reentrancy attack in `PuppyRaffle::refund` allows entrant to drain raffle balance
High
Valid
[H-02] Reentrancy Vulnerabi...
joevly
#2
Weak randomness in `PuppyRaffle::selectWinner` allows users to influence or predict the winner and influence or predict the winning puppy
High
Valid
[H-03] Randomness can be gamed
joevly
#3
Integer overflow of `PuppyRaffle::totalFees` loses fees
High
Valid
[H-05] Typecasting from uin...
joevly
#4
Looping through an array of players to check duplicates in `PuppyRaffle::enterRaffle` is a potensial Denial of Service (DoS) attack that could increase gas costs for future entrants
Medium
Valid
[M-01] `PuppyRaffle: enterR...
joevly
#5
Smart contract wallets raffle winners without a `receive` or a `fallback` function will block the start of a new contest.
Medium
Valid
[M-03] Impossible to win ra...
joevly
#6
`PuppyRaffle::getActivePlayerIndex` returns 0 for non-existent players and for players at index 0, causing a player at index 0 to incorrectly think they have not entered the raffle
Low
Valid
[L-01] Ambiguous index retu...
joevly
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!