Security analysis tool for EVM bytecode. Supports smart contracts built for Ethereum, Hedera, Quorum, Vechain, Roostock, Tron and other EVM-compatible blockchains.
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.
 
 
 
 
 
 
mythril/tests/testdata/outputs_expected/origin.sol.o.markdown

471 B

Analysis results for /inputs/origin.sol

Use of tx.origin

  • Type: Warning
  • Contract: Unknown
  • Function name: transferOwnership(address)
  • PC address: 317

Description

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 In /inputs/origin.sol:18

tx.origin