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
Aug 25th, 2026 → Sep 1st, 2026
View repo
View results
5 / 5
Submissions
Severity
Validity
Tags
Author
#1
Reentrancy in refund() lets a malicious contract drain other players' entrance fees
High
Valid
[H-02] Reentrancy Vulnerabi...
dngr2
#2
selectWinner()'s randomness (msg.sender, block.timestamp, block.difficulty) is fully predictable off-chain, letting anyone rig the winner and puppy rarity
High
Valid
[H-03] Randomness can be gamed
dngr2
#3
enterRaffle()'s O(n^2) duplicate-check makes gas cost blow up as more players join, DoSing later entrants
Medium
Valid
[M-01] `PuppyRaffle: enterR...
dngr2
#4
totalFees uint64 downcast silently overflows above ~18.44 ETH in fees, permanently bricking withdrawFees()
High
Valid
[H-05] Typecasting from uin...
dngr2
#5
selectWinner() can be indefinitely griefed by an entrant using a receive()-reverting contract, blocking the entire round
Medium
Valid
[M-03] Impossible to win ra...
dngr2
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!