The WeatherNft::tokenURI
defines the name field in the JSON metadata as Weathear NFT
, which contains a typographical error, the name of the nft was given in the WeatherNft
constructor as ERC721("Weather NFT", "W-NFT")
. This typo could reduce perceived project quality or user trust when NFTs are displayed in marketplaces or wallets.
Likelihood: High
The tokenURI() function is called automatically by external platforms to retrieve NFT metadata.
This metadata is visible to all users interacting with the NFT (via wallets, UIs, marketplaces), issue is deterministic and will consistently appear for every minted NFT.
Impact: Low
*The typo does not impact the core business logic, token economics, or minting flow.
*However, it does impair user-facing presentation and may reduce credibility.
When an NFT is queried via the tokenURI() function (e.g., through a wallet or marketplace), the metadata returned contains the following JSON string:
The name field shows "Weathear NFT" instead of the intended "Weather NFT", due to a hardcoded typo in the contract. This metadata string is base64-encoded and publicly accessible, meaning the error propagates to every interface or platform that reads the NFT's metadata.
Update the name value in tokenURI() metadata to correct the typo:
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.