Open hats-bug-reporter[bot] opened 6 months ago
Even though it was marked as medium previously on C4, it shouldn't have been the case. We deem this as a low.
Marking this as invalid
.
Aaa just saw the tweet with low severity winners, then the fix with my issue invalidated :( . All the best though, wishing you a successful project.
Github username: -- Twitter username: -- Submission hash (on-chain): 0x8a7ca528c43b47fc92a615819e8d6013a8b69d760c87cfaaa7be34b39f75b88d Severity: medium
Description: Description\ According to the EIP-721 standard, the tokenURI function must revert if a non-existent tokenId is passed. In OTAP contract, this requirement is ignored. This leads to violation of the EIP-712 spec
Similar issue can be seen here: https://github.com/code-423n4/2023-04-caviar-findings/issues/44
Recommendation:
Add a token existence check
Attack Scenario\ Describe how the vulnerability can be exploited.
Attachments
Proof of Concept (PoC) File
Revised Code File (Optional)