slither icon indicating copy to clipboard operation
slither copied to clipboard

[Bug-Candidate]: Slither crashes with the "list index out of bound" error.

Open YuriyGulyayev opened this issue 2 months ago • 0 comments

Describe the issue:

I run it on Ubuntu Cinnamon 22.04.

STR:

git clone https://github.com/PredictionExplorer/Cosmic-Signature.git

cd Cosmic-Signature

npm ci

The project uses external solc. Currently it uses v. 0.8.30. If it's already installed on your machine the project should be able to find it. There is logic in the Hardhat config file that tries multiple possible paths. If not, install it:

pip3 install solc-select

solc-select use 0.8.30 --always-install

Make sure Hardhat compile succeeds:

npx hardhat compile

Run Slither:

cd slither

./slither-1.bash

At the end it will log to the console:

IndexError: list index out of range

Code example to reproduce the issue:

See above.

Version:

0.11.3

Relevant log output:


YuriyGulyayev avatar Oct 19 '25 13:10 YuriyGulyayev