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

DoS attack - check duplicate

Summary

Check duplicates with a loop can cause DoS.

Vulnerability Details

The duplicate loop can cause a Denial of Service attack.

Impact

This can break the contract / function logic. Moreover this cost a lot of gas

Tools Used

Manual review

Recommendations

Use mapping to check if the adress is a duplicate or not

Updates

Lead Judging Commences

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

denial-of-service-in-enter-raffle

Support

FAQs

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

Give us feedback!