A tool to organize slither logs in JSON files, sorted by vulnerability and organized in keywords.
Visit https://github.com/crytic/slither for informations about slither installation and setup
Create a directory named 'output' in the parent directory, it will be the output directory of slither findings.
To analyze contracts, run
yarn run analyze
To configure the parameters see organize.ts
file.
Logs path is the path containing slither outputs, set to default as output
.
Path can be changed by editing the variable logsPath
.
Organized logs are a set of objects that can be defined to organize logs based on keywords.
To edit or add keywords(objects of which key is a string), edit inside the organizedLogs
object.
Excluded keywords are a set of keywords indicating the logs to exclude based on keywords.
By setting an excluded keyword, all logs containing it will be automatically skipped.
To edit or add excluded keywords(strings), edit the excludedKeywords
object.
To organize logs, run
yarn run organize
The tool includes also a built-in merge functions to facilitate slither analysis on larger contracts.
To merge contracts, run
yarn run merge