mirror of https://github.com/ConsenSys/mythril
blockchainethereumsmart-contractssoliditysecurityprogram-analysissecurity-analysissymbolic-execution
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
364 B
16 lines
364 B
7 years ago
|
|
||
|
|
||
7 years ago
|
## Use of tx.origin
|
||
7 years ago
|
|
||
7 years ago
|
- Type: Warning
|
||
7 years ago
|
- Contract: Unknown
|
||
7 years ago
|
- Function name: `transferOwnership(address)`
|
||
|
- PC address: 317
|
||
|
|
||
7 years ago
|
|
||
|
|
||
7 years ago
|
### Description
|
||
7 years ago
|
|
||
7 years ago
|
Function transferOwnership(address) retrieves the transaction origin (tx.origin) using the ORIGIN opcode. Use tx.sender instead.
|
||
|
See also: https://solidity.readthedocs.io/en/develop/security-considerations.html#tx-origin
|