Beginner FriendlyFoundryNFT
100 EXP
View results
Submission Details
Severity: medium
Invalid

tokenURI function could return ambiguous value

Summary

tokenURI function could return ambiguous value

Vulnerability Details

the function is using abi.encodePacked to return the token URI. encodePacked can be ambiguous, and return the same hash for different input values

Impact

different values can have the same hash using encodePacked. it could return an incorrect token URI

Tools Used

VSCode

Recommendations

use abi.encode instead of abi.encodePacked

Updates

Lead Judging Commences

patrickalphac Lead Judge about 2 years ago
Submission Judgement Published
Invalidated
Reason: Other

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.

Give us feedback!