Slither’s plugin architecture lets you integrate new detectors that run from the command line. The skeleton for a detector has:
- ARGUMENT: lets you run the detector from the command line
- HELP: is the information printed from the command line
- IMPACT: indicates the impact of the issue. Allowed values are INFORMATIONAL|LOW|MEDIUM|HIGH
- CONFIDENCE: indicates your confidence in the analysis. Allowed values are LOW|MEDIUM|HIGH
- WIKI: constants are used to generate automatically the documentation.
- _detect() is the function that implements the detector logic and needs to return a list of findings.