The minRamNFT function in the RamNFT contract is declared as public, which allows unrestricted access to external parties, thus potentially anyone to call this function and mint Nft
The presence of the minRamNFT function as public can lead to the following consequences:
Unauthorized access: Malicious actors or external users may access and interact with the minRamNFT function, leading to unauthorized call functions
Security vulnerabilities: The exposure of the minRamNFT function to public access increases the likelihood of security vulnerabilities and potential exploitation by attackers.
Manual code review
Modify the minRamNFT function to be internal in the RamNFT contract to restrict access solely to internal contract interactions.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.