There is always a chance that two or more person with equal profile data mint their self NFTs and we end up having the same tokenURI value for multiple NFTs. Another issue is that the properties which are returned from tokenURI could be entered with zero value.
Method tokenURI losing it's purpose to be unique identifier for the NFTs.
Method tokenURI to return blank metadata properties.
Inside method tokenURI of contract SoulboundProfileNFT change the abi.encodePacked to also include the unique value of tokenId:
Add empty value validation in method mintProfile for parameters name, age & profileImage.
Please read the CodeHawks documentation to know which submissions are valid. If you disagree, provide a coded PoC and explain the real likelyhood and the detailed impact on the mainnet without any supposition (if, it could, etc) to prove your point.
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.