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
May 15th, 2026 → May 15th, 2026
View repo
View results
8 / 8
Submissions
Severity
Validity
Tags
Author
#1
Reentrancy attack in `PuppyRaffle::refund` allows entrant to drain raffle balance
High
Valid
[H-02] Reentrancy Vulnerabi...
patonguch
#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
patonguch
#3
Integer overflow of `PuppyRaffle::totalFees` loses fees
High
Valid
[H-05] Typecasting from uin...
patonguch
#4
Looping through players array to check for duplicates in `PuppyRaffle::enterRaffle` is a potential denial of service (DoS) attack, incrementing gas costs for future entrants
Medium
Valid
[M-01] `PuppyRaffle: enterR...
patonguch
#5
Looping through players array to check for duplicates in `PuppyRaffle::enterRaffle` is a potential denial of service (DoS) attack, incrementing gas costs for future entrants
Medium
Valid
[M-01] `PuppyRaffle: enterR...
patonguch
#6
Unsafe cast of `PuppyRaffle::fee` loses fees
High
Valid
[H-05] Typecasting from uin...
patonguch
#7
Smart Contract wallet raffle winners without a `receive` or a `fallback` function will block the start of a new contest
Low
Invalid
patonguch
#8
`PuppyRaffle::getActivePlayerIndex` returns 0 for non-existent players and players at index 0 causing players to incorrectly think they have not entered the raffle
Low
Valid
[L-01] Ambiguous index retu...
patonguch
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!