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 21st, 2026 → Jun 22nd, 2026
View repo
View results
6 / 6
Submissions
Severity
Validity
Tags
Author
#1
Looking through players array to check duplicate in `PuppyRaffle::enterRaffle` is a potential denial of service attack, incrementing gas cost for future entrants.
Medium
Valid
[M-01] `PuppyRaffle: enterR...
strikerr
#2
Reentrancy Attack in `PuppyRaffle::refund`, allows entrants to drain raffle balance
High
Valid
[H-02] Reentrancy Vulnerabi...
strikerr
#3
`PuppyRaffle::getActivePlayerIndex` returns 0 for non-existent players and for player 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...
strikerr
#4
Weak Randomness in `PuppyRaffle::selectWinner` allow users to influence or predict the winner and influence or predict the winning puppy.
High
Valid
[H-03] Randomness can be gamed
strikerr
#5
Integer overflow of `PuppyRaffle::totalFees` loses fees.
High
Valid
[H-05] Typecasting from uin...
strikerr
#6
Smart contract wallet raffle winners without a `receive` or `fallback` function will block the start of a new lottery.
Medium
Valid
[M-03] Impossible to win ra...
strikerr
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!