You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cannot run slither with the latest docker tag of eth-security-toolbox. It appears npx is missing from the image. Current fix: manually running sudo npm install -g npx.
I am not sure what changed, but our project used to work fine, but now requires this manual step in between.
Steps to reproduce:
start eth-security-toolbox with mounted project docker run -it -d -v /path/to/project:/share trailofbits/eth-security-toolbox
cd into project repository (cd /share)
run slither .
Expected output:
Slither code analysis.
Actual output:
INFO:Slither:'npx truffle@5.0.10 compile' running (use --truffle-version truffle@x.x.x to use specific version)
ERROR:root:Error in.
ERROR:root:Traceback (most recent call last):
File "/home/ethsec/.local/lib/python3.6/site-packages/slither/__main__.py", line 554, in main_impl
(results, number_contracts) = process(filename, args, detector_classes, printer_classes)
File "/home/ethsec/.local/lib/python3.6/site-packages/slither/__main__.py", line 57, in process
triage_mode=args.triage_mode)
File "/home/ethsec/.local/lib/python3.6/site-packages/slither/slither.py", line 58, in __init__
kwargs.get('truffle_version', None))
File "/home/ethsec/.local/lib/python3.6/site-packages/slither/slither.py", line 142, in _init_from_truffle
process = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
File "/usr/lib/python3.6/subprocess.py", line 709, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.6/subprocess.py", line 1344, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'npx': 'npx'
The text was updated successfully, but these errors were encountered:
I added a FirewalledRule which can be extended in order to restrict
relaying of meta-transactions to organization workers.
The rule that is to be restricted must extend the FirewalledRule and add
the modifier `firewalled` to all relevant functions.
For testing I created two test contract files. One that uses the
modifier, and one that calls the one that uses the modifier. Required in
order to simulate rules calling on each other and checking for the
relayer.
Added a step to manually install npx inside docker until the docker
image is fixed. The problem is reported and confirmed at
trailofbits/eth-security-toolbox#8FixesOpenST#199
I cannot run slither with the latest docker tag of eth-security-toolbox. It appears
npx
is missing from the image. Current fix: manually runningsudo npm install -g npx
.I am not sure what changed, but our project used to work fine, but now requires this manual step in between.
docker run -it -d -v /path/to/project:/share trailofbits/eth-security-toolbox
cd
into project repository (cd /share
)slither .
The text was updated successfully, but these errors were encountered: