Hi,
I found out a potential bug in the contract 'NFTFactory.sol' in which there's no mechanism for the updation of token URI after the NFT is minted.
The key details of this potential vulnerability can be given as follows:
Although the contract is using **ERC721URIStorage **to store token URIs, yet there's no function to update the token URI after an NFT is minted leading to incorrect metadata of NFT minted.
Immutable token URIs can lead to outdated / incorrect metadata, causing harm to project reputation.
Manual Code Analysis
Implement a proper updation function for Token URI for maintaining the metadata of the NFT minted in it's correct form. The sample code for implementation can be given as follows:
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.