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

`mintRamNFT` function is public and can be called by anyone

Summary

The function mintRamNFT is public and can be called by anyone. This function should be restricted to only the Dussehra contract.

Vulnerability Details

- function mintRamNFT(address to) public
+ function mintRamNFT(address to) public onlyOrganiser

Impact

Not restricting the function to be called by onlyOrganiser it will lead to anyone to be able to mint RamNFT

Tools Used

Manual review

Recommendations

Add onlyOrganiser to the function.

Updates

Lead Judging Commences

bube Lead Judge about 1 year ago
Submission Judgement Published
Invalidated
Reason: Too generic
Assigned finding tags:

mintRamNFT is public

Support

FAQs

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