The ERC20ToGenerateNFTFraccion contract contains several critical vulnerabilities related to access control and token supply management.
mint() function publicly acceccible without restrictions
No maximum cap for total supply
Lack of access control mechanism(like Ownable)
No emergency pause mechanism
CRITICAL: Unlimited token creation by anay user
HIGH : Risk of token devaluation through unlimited minting
HIGH : No control over sensitive operations
Manual code review
ERC20 security best practices review
Here's the corrected code with recommended improvements:
}
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.