The mintRamNFT
function in RamNFT.sol
is public, meaning it can be called by anyone as often as they like without paying an entry fee. However, according to the specification, only the Dussehra contract should be allowed to mint Ram NFTs.
Users can mint NFTs without paying an entry fee and still participate in the Dussehra event. This would result in minimal or no fees being collected, leaving the organizer and the selected ram with little or nothing to withdraw.
manual review, VSC
Consider implementing an access control mechanism using the onlyDussehra
modifier in RamNFT::mintRamNFT
:
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.