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
Mar 12th, 2026 → Mar 12th, 2026
View repo
View results
10 / 10
Submissions
Severity
Validity
Tags
Author
#1
Reentrancy in `refund` allows draining the contract balance
High
Valid
[H-02] Reentrancy Vulnerabi...
plarochkin
#2
Weak randomness in `selectWinner` allows manipulation of raffle outcome
High
Valid
[H-03] Randomness can be gamed
plarochkin
#3
Unbounded O(n^2) loop in `enterRaffle` leads to Denial of Service
Medium
Valid
[M-01] `PuppyRaffle: enterR...
plarochkin
#4
Refunding does not reduce `players.length`, leading to inflated prize pools and locked funds
High
Valid
[H-04] `PuppyRaffle::refund...
plarochkin
#5
Strict equality check on contract balance in `withdrawFees` can be exploited to lock fees
Medium
Valid
[M-02] Slightly increasing ...
plarochkin
#6
`selectWinner` can be permanently blocked if the winner reverts on receiving ETH
Medium
Valid
[M-03] Impossible to win ra...
plarochkin
#7
Potential overflow and truncation when casting `fee` to `uint64`
High
Valid
[H-05] Typecasting from uin...
plarochkin
#8
Frontrunning `selectWinner` with `refund` allows risk-free participation
High
Valid
[H-07] Potential Front-Runn...
plarochkin
#9
`getActivePlayerIndex` returns 0 for both index 0 and non-existent players
Low
Valid
[L-01] Ambiguous index retu...
plarochkin
#10
Missing zero-address validation for `feeAddress`
Low
Invalid
plarochkin
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!