This repository has been archived by the owner on Oct 27, 2024. It is now read-only.
T1MOH - encodeData
is incorrectly calculated thus not compatible with EIP712
#128
Labels
Duplicate
A valid issue that is a duplicate of an issue with `Has Duplicates` label
Medium
A valid Medium severity issue
Reward
A payout will be made for this issue
Sponsor Confirmed
The sponsor acknowledged this issue is valid
Won't Fix
The sponsor confirmed this issue will not be fixed
T1MOH
medium
encodeData
is incorrectly calculated thus not compatible with EIP712Summary
According to EIP712:
However in TitlesGraph.sol it is just encoded without hashing
Vulnerability Detail
Here you can see that
bytes data
is not properly encoded:Impact
Contract is not compatible with EIP712
Code Snippet
https://github.com/sherlock-audit/2024-04-titles/blob/main/wallflower-contract-v2/src/graph/TitlesGraph.sol#L41
Tool used
Manual Review
Recommendation
Duplicate of #74
The text was updated successfully, but these errors were encountered: