Missing access controls for mintRamNFT allows anyone to mint NFTs for free, without paying the entranceFee.
Improper access control for the mintRamNFT function allows anyone to mint NFTs.
Add the following test case to Dussehra.t.sol:
Then, run the test:
NFTs can be minted for free, without paying the entranceFee.
Manual Review
Add the onlyChoosingRamContract modifier to mintRamNFT to ensure only the ChoosingRam contract can mint Ram NFTs.
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.