crytic / crytic/slither

Sharing triage results file with multiple users

Open
#1,138 0 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
6.4k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

### Describe the desired feature

When running in a triage mode, slither will generate a `slither.db.json` file, but the `filename_used` paths will be absolute, pointing to the absolute paths of the machine of where the slither command was ran. I'd like to commit this file into the repository so that some of the files will be ignored for everyone who runs slither against the codebase on their own machine. Is there already a way to achieve that?

Contributor guide

Open the contributing guide

Research direction

Start by tracing triage mode where slither.db.json is generated and inspect how filename_used paths are written. Determine whether the existing output can be shared across machines, then verify that a committed file causes the intended files to be ignored for another user running Slither on the same codebase.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.