Skip to content

Latest commit

 

History

History
17 lines (16 loc) · 623 Bytes

Dangerous usage of tx.origin.md

File metadata and controls

17 lines (16 loc) · 623 Bytes

Use of tx.origin for authorization may be abused by a MITM malicious contract forwarding calls from the legitimate user who interacts with it. Use msg.sender instead. (see here)


Slide Screenshot

030.jpg


Slide Text

  • Use of tx.origin Dangerous
  • tx.origin -> EOA
  • Authorization MITM Replay Attack
  • tx.origin -> msg.sender

References


Tags