Description: Changing the nftDescriptor
through the setNFTDescriptor
function could lead to inconsistencies in how NFTs are described if the new descriptor is incompatible or malfunctioning.
Code Reference:
Impact:
The new NFT descriptor may not be compatible, leading to incorrect metadata being generated for the NFTs.
Recommendations:
Validate the newNFTDescriptor
to ensure it adheres to the expected interface before updating it. Consider retaining a reference to the previous descriptor for potential rollback.
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.