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
Jan 5th, 2026 → Jan 11th, 2026
View repo
View results
8 / 8
Submissions
Severity
Validity
Tags
Author
#1
✅Compilation Failure Due to Incompatible Solidity Versions
High
Invalid
defiak
#2
✅Reentrancy attack in `PuppyRaffle::refund` allows entrant to drain raffle balance
High
Valid
[H-02] Reentrancy Vulnerabi...
defiak
#3
✅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
defiak
#4
✅ Interger overflow of `PuppyRaffle::totalFees` loses fees
High
Valid
[H-05] Typecasting from uin...
defiak
#5
✅ `PuppyRaffle::getActivePlayerIndex` returns 0 for non-existing players and for players at index 0, causing a player at index 0 to incorrectly think they have not entered the raffle
Low
Invalid
defiak
#6
✅Looping through that player 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...
defiak
#7
✅ Unsafe cast of `PuppyRaffle::fee` loses fees
High
Valid
[H-05] Typecasting from uin...
defiak
#8
✅Smart contract wallets raffle winners without a `recieve` or a `fallback` function will block the start of a new contract
Medium
Valid
[M-03] Impossible to win ra...
defiak
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!