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 8th, 2026 → Jun 10th, 2026
View repo
View results
10 / 10
Submissions
Severity
Validity
Tags
Author
#1
Reentrancy in refund function allows draining all funds
High
Valid
[H-02] Reentrancy Vulnerabi...
alaaeldinsabib
#2
Weak randomness in selectWinner allows winner and rarity manipulation
High
Valid
[H-03] Randomness can be gamed
alaaeldinsabib
#3
Push payment in selectWinner traps funds if winner rejects ETH
Medium
Valid
[M-03] Impossible to win ra...
alaaeldinsabib
#4
Winner can be address(0) after refund, losing prize pool permanently
High
Valid
[H-01] Potential Loss of Fu...
alaaeldinsabib
#5
Prize pool calculation includes refunded players causing insufficient balance revert
High
Valid
[H-04] `PuppyRaffle::refund...
alaaeldinsabib
#6
O(n²) duplicate check in enterRaffle causes DoS with many players
Medium
Valid
[M-01] `PuppyRaffle: enterR...
alaaeldinsabib
#7
DoS on withdrawFees via direct ETH transfer locks protocol fees
Medium
Valid
[M-02] Slightly increasing ...
alaaeldinsabib
#8
Push payment in refund traps funds if player contract rejects ETH
High
Valid
[H-02] Reentrancy Vulnerabi...
alaaeldinsabib
#9
Ambiguous return value in getActivePlayerIndex causes logic errors
Low
Valid
[L-01] Ambiguous index retu...
alaaeldinsabib
#10
Precision loss in prizePool and fee calculation locks dust amounts
Low
Valid
[L-06] Fee should be 'total...
alaaeldinsabib
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!