Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Slither, Plugin Example

This repository contains an example of plugin for Slither.

See the detector documentation.

Architecture

  • pyproject.toml: Contains the plugin information and dependencies
  • slither_my_plugin/__init__.py: Contains make_plugin(). The function must return the list of new detectors and printers
  • slither_my_plugin/detectors/example.py: Detector plugin skeleton.

Installation

Once these files are updated with your plugin, install it:

uv sync
uv run slither --help  # Verify plugin is loaded