No Access Control for the function mintRamNFT
in RamNFT.sol contract as it is Public that allows anyone to call the function and mint RamNFT.
As explained in the documentation that function mintRamNFT
- Allows the Dussehra contract to mint Ram NFTs, but for the code it is Public and no restriction for who can call it so any Malicious actor can call it
any user can call the function and mint RamNFTs without paying the entranceFee as according to function enterPeopleWhoLikeRam
for Dussehra contract the user must pay the fee to mint RamNFTs
Manual review
we can make the mint function to be internal
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.