crytic / crytic/slither

[Bug-Candidate]: Foundry project with node module dependencies can not be analyzed in github action.

Open
#2,798 6 comments 0 reactions 0 assignees View on GitHub
bug-candidate
Dominant language
Python
Stars
6.4k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

### Describe the issue:

Following up the issue - https://github.com/crytic/slither-action/issues/96

CI is continuously failing, seems like dependency issues.
Could you please give me full suggestion to add slither ci?

I didn't test it locally. I can't find the way to set `ignore-compile` true.

### Code example to reproduce the issue:

https://github.com/Lay3rLabs/poa-middleware/blob/feat/ci-workflow/.github/workflows/slither.yml

https://github.com/Lay3rLabs/poa-middleware/actions/runs/17736742237/job/50400350044?pr=10

### Version:

0.11.3

### Relevant log output:

```shell

```

Contributor guide

Open the contributing guide

Research direction

Start by reading the linked issue #96 and the referenced .github/workflows/slither.yml, then inspect the linked GitHub Actions run for the dependency failure. Reproduce the workflow with the stated Slither version and determine whether the requested ignore-compile setting resolves analysis. Done means the Foundry project with node module dependencies is analyzed successfully in GitHub Actions.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, node.js, solidity
Domain
ci-cd, devops, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.