Open hats-bug-reporter[bot] opened 9 months ago
The chain ID is already part of the data that is hashed then signed, see EIP712.sol, the Open Zeppelin contract which we extend. A signature obtained for one block chain will not be valid on another chain.
Github username: @https://github.com/sekkiat Twitter username: -- Submission hash (on-chain): 0xd3064ee5c12251e0d59ddb10b495019e1a48387128e208c62db9c67fec83856f Severity: medium
Description: Description\ The signing does not include chainID to prevent cross chain replay attack.
Attack Scenario\ Replay the attack in different chain.
Attachments
Remediation