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-0.5.1.tx-origin.txt

8 lines
427 B

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