Static Analyzer for Solidity
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.
 
 
 
 
slither/tests/expected_json/tx_origin.tx-origin.txt

5 lines
407 B

INFO:Detectors:
TxOrigin.bug0 uses tx.origin for authorization: "require(bool)(tx.origin == owner)" (tests/tx_origin.sol#10)
TxOrigin.bug2 uses tx.origin for authorization: "tx.origin != owner" (tests/tx_origin.sol#14-16)
Reference: https://github.com/crytic/slither/wiki/Detector-Documentation#dangerous-usage-of-txorigin
INFO:Slither:tests/tx_origin.sol analyzed (1 contracts), 2 result(s) found