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
Oct 31st, 2026 → Nov 1st, 2026
View repo
View results
7 / 7
Submissions
Severity
Validity
Tags
Author
#1
Reentrancy in `PuppyRaffle::refund` allows a malicious player to drain all raffle funds
High
Valid
[H-02] Reentrancy Vulnerabi...
zanydaisy23
#2
Integer overflow / unsafe cast of `PuppyRaffle::totalFees` (uint64 in Solidity 0.7) corrupts fee accounting and can lock fees
High
Valid
[H-05] Typecasting from uin...
zanydaisy23
#3
Unbounded O(n^2) duplicate check in `PuppyRaffle::enterRaffle` causes a denial of service and ever-rising entry gas cost
Medium
Valid
[M-01] `PuppyRaffle: enterR...
zanydaisy23
#4
Weak randomness in `PuppyRaffle::selectWinner` lets anyone predict or manipulate the winner and the NFT rarity
High
Valid
[H-03] Randomness can be gamed
zanydaisy23
#5
`PuppyRaffle::withdrawFees` uses a strict balance equality that can be permanently bricked by force-fed ETH
Medium
Valid
[M-02] Slightly increasing ...
zanydaisy23
#6
`PuppyRaffle::getActivePlayerIndex` returns 0 for non-existent players, making index 0 ambiguous
Low
Valid
[L-01] Ambiguous index retu...
zanydaisy23
#7
`PuppyRaffle::getActivePlayerIndex` returns 0 for non-existent players, making the valid index 0 ambiguous
Low
Valid
[L-01] Ambiguous index retu...
zanydaisy23
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!