Skip to content

Instantly share code, notes, and snippets.

@vile
Created June 11, 2024 22:14
Show Gist options
  • Save vile/b555c40d1acb083c896830727570605c to your computer and use it in GitHub Desktop.
Save vile/b555c40d1acb083c896830727570605c to your computer and use it in GitHub Desktop.
$ slitherin . --pess
INFO:slitherinLogger:'slither --fail-none . --detect pess-arb-prevrandao-difficulty,pess-arb-block-number-timestamp,pess-arb-chainlink-price-feed,pess-double-entry-token-alert,pess-unprotected-setter,pess-nft-approve-warning,pess-inconsistent-nonreentrant,pess-strange-setter,pess-only-eoa-check,pess-magic-number,pess-dubious-typecast,pess-multiple-storage-read,pess-timelock-controller,pess-tx-gasprice,pess-unprotected-initialize,pess-event-setter,pess-before-token-transfer,pess-uni-v2,pess-token-fallback,pess-for-continue-increment,pess-arbitrary-call,pess-ecrecover,pess-public-vs-external,pess-aave-flashloan-callback,pess-potential-arithmetic-overflow,pess-curve-readonly-reentrancy,pess-balancer-readonly-reentrancy,pess-curve-vyper-reentrancy,pess-price-manipulation' running (wd: /home/fantasy/projects/on-chain-bonds)
Traceback (most recent call last):
File "/home/fantasy/.local/bin/slither", line 8, in <module>
sys.exit(main())
^^^^^^
File "/home/fantasy/.local/pipx/venvs/slither-analyzer/lib/python3.11/site-packages/slither/__main__.py", line 782, in main
main_impl(all_detector_classes=detectors, all_printer_classes=printers)
File "/home/fantasy/.local/pipx/venvs/slither-analyzer/lib/python3.11/site-packages/slither/__main__.py", line 824, in main_impl
detector_classes = choose_detectors(args, all_detector_classes)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/fantasy/.local/pipx/venvs/slither-analyzer/lib/python3.11/site-packages/slither/__main__.py", line 215, in choose_detectors
detectors_to_run = __include_detectors(
^^^^^^^^^^^^^^^^^^^^
File "/home/fantasy/.local/pipx/venvs/slither-analyzer/lib/python3.11/site-packages/slither/__main__.py", line 257, in __include_detectors
raise ValueError(f"Error: {detector} is not a detector")
ValueError: Error: pess-arb-prevrandao-difficulty is not a detector
Failed to run slither: Errored out with code: 1, while running slither
Traceback (most recent call last):
File "/home/fantasy/.local/bin/slitherin", line 8, in <module>
sys.exit(main())
^^^^^^
File "/home/fantasy/.local/pipx/venvs/slitherin/lib/python3.11/site-packages/slitherin/cli.py", line 189, in main
handle_parser(parsed, unknown)
File "/home/fantasy/.local/pipx/venvs/slitherin/lib/python3.11/site-packages/slitherin/cli.py", line 102, in handle_parser
run(
File "/home/fantasy/.local/pipx/venvs/slitherin/lib/python3.11/site-packages/slitherin/cli.py", line 82, in run
raise e
File "/home/fantasy/.local/pipx/venvs/slitherin/lib/python3.11/site-packages/slitherin/cli.py", line 76, in run
raise Exception(
Exception: Errored out with code: 1, while running slither
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment