Unauthorized minting of ERC20 token in the ERC20ToGenerateNftFraccion contract, which lets anyone mint tokens.
The mint
function in the ERC20ToGenerateNftFraccion
contract is public and lacks access control, allowing anyone to mint new tokens. This can lead to unauthorized token creation, claiming of NFT, inflation, and potential manipulation of the token supply.
This can lead to the claiming of ERC721 token, inflation, and potential manipulation of the token supply.
Foundry Test
Restrict Minting: Use the Ownable
contract to restrict the mint
function to only the owner of the contract. This prevents unauthorized users from minting new tokens.
Any person can mint the ERC20 token generated in representation of the NFT
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.