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
Jul 21st, 2026 → Jul 21st, 2026
View repo
View results
6 / 6
Submissions
Severity
Validity
Tags
Author
#1
Reentrancy in `refund()` allows a malicious player to drain the entire contract balance
High
Valid
[H-02] Reentrancy Vulnerabi...
mohdhuzaifah0786
#2
Weak, predictable randomness in `selectWinner()` lets an attacker rig the winner and NFT rarity
High
Valid
[H-03] Randomness can be gamed
mohdhuzaifah0786
#3
Unsafe uint64 cast and overflow of `totalFees` corrupts accounting and permanently locks protocol fees
High
Valid
[H-05] Typecasting from uin...
mohdhuzaifah0786
#4
Unbounded O(n^2) duplicate check in `enterRaffle()` causes a gas-cost denial of service
Medium
Valid
[M-01] `PuppyRaffle: enterR...
mohdhuzaifah0786
#5
Strict balance equality in `withdrawFees()` lets anyone permanently lock protocol fees with force-fed ETH
Medium
Valid
[M-02] Slightly increasing ...
mohdhuzaifah0786
#6
Refunded players are never removed from `players`, corrupting prize/fee math and bricking `selectWinner()`
High
Valid
[H-04] `PuppyRaffle::refund...
mohdhuzaifah0786
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!