Code4rena
Wenwin contest
Every publicly disclosed report for Wenwin contest and what kind of bugs they were.
- disclosed reports
- 8
- most reported class
- Business logic
- bug classes found
- 4
- first disclosure
- 2023
Disclosed reports
Newest first. Only what Wenwin contest chose to make public.
-
LotteryMath.calculateNewProfit returns wrong profit when there is no jackpot winner
High Audit finding +7 collaborators
-
Unsafe casting from uint256 to uint16 could cause ticket prizes to become much smaller than intended
Smart contracts Medium Audit finding +5 collaborators
-
Possibility to steal jackpot bypassing restrictions in the executeDraw()
Business logic Medium Audit finding +4 collaborators
-
The buyer of the ticket could be front-runned by the ticket owner who claims the rewards before the ticket’s NFT is traded
Business logic Medium Audit finding +8 collaborators
-
Undermining the fairness of the protocol in swapSource() and possibilities for stealing a jackpot
Race condition Medium Audit finding
-
An attacker can leave the protocol in a “drawing” state for extended period of time
DoS Medium Audit finding
-
Locking rewards tokens in Staking contract when there are no stakes
Business logic Medium Audit finding +2 collaborators