Skip to main content

One doc tagged with "Tx Origin Attacks"

View All Tags

Tx Origin Attacks

A transaction origin attack is form of phising attack that can drain a contract of all funds.In Solidity, tx.origin retrieves the address of the transaction originator, distinguishing it from msg.sender.