This repository contains an example of plugin for Slither.
See the detector documentation.
pyproject.toml: Contains the plugin information and dependenciesslither_my_plugin/__init__.py: Containsmake_plugin(). The function must return the list of new detectors and printersslither_my_plugin/detectors/example.py: Detector plugin skeleton.
Once these files are updated with your plugin, install it:
uv sync
uv run slither --help # Verify plugin is loaded