Beginner FriendlyFoundryNFT
100 EXP
View results
Submission Details
Severity: high
Valid

ZERO_ADDRESS_CAN_BE_CHOSE_AS_WINNER

Summary

If user who refunded is chosen in the lottery, money are burnt

Vulnerability Details

Winner is chose among the players array that contains zero address for users who refunded. If zero address is chose as a winner, collected money are burnt

Impact

Lost money of the round

Tools Used

Recommendations

Choose only among users who are not refunded

Updates

Lead Judging Commences

Hamiltonite Lead Judge almost 2 years ago
Submission Judgement Published
Validated
Assigned finding tags:

zero address can win the raffle

Funds are locked to no one. If someone gets the refund issue, they also got this issue. IMPACT: High Likelihood: High

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.