The ERC20ToGenerateNftFraccion contract is used to mint ERC20s, which will serve as fractions for each of the NFTs divided in the contract. For every new incoming NFT, a new instance is deployed and used to track, which users have how many pieces of each NFT.
To mint the ERC20s, the mint function is used. The vulnerability is that it has no access modifier and everyone can mint and claim NFTs, which they shouldn't. This allows users at any time to steal NFTs and make the whole protocol useless.
Critical as it defies the whole purpose of the protocol
Manual Review
Add a modifier, to ensure only TokenDivider can call the mint function
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.