1.0.2 • Published 5 months ago

slither-audit v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
5 months ago

slither-audit

Version: 1.0.1

npm

npm

Overview

The "slither-audit" npm CLI tool is a utility for generating detailed Slither reports for Ethereum smart contracts and converting them into PDF format. It simplifies the process of analyzing Ethereum smart contracts for security vulnerabilities using the Slither static analysis framework.

Key features of the tool include:

  • Automated Slither Analysis: Easily run Slither analysis on Ethereum smart contracts directly from the command line.
  • Customizable PDF Reports: Convert Slither reports into well-structured PDF documents for easy sharing and documentation.
  • Detailed Insights: Get insights into contract vulnerabilities, including impact, confidence, location, description, and check information.
  • User-Friendly Interface: The generated PDF reports are presented in a user-friendly tabular format for easy understanding.

Installation

You can install the "slither-audit" CLI tool globally using npm. Make sure you have Node.js and npm installed on your system.

npm install -g slither-audit

OR

npx slither-audit

Usage

After installation, you can use the "slither-audit" CLI tool as follows:

  1. Navigate to the directory containing your Ethereum smart contracts.
  2. Open your terminal and run the following command:

    slither-audit
  3. The tool will automatically perform Slither analysis on the Ethereum smart contracts in the current directory.

  4. It will generate a detailed Slither report and convert it into a PDF document for easy access and sharing.
  5. run following command for analysis of contract address:

    slither-audit contract=<contract_address> network=<network_name>
  • network can be ethereum, polygon or base.
  1. pass project name for pdf title, run command:

    slither-audit contract=<contract_address> network=<network_name> project=<project_name>

Dependencies

The "slither-audit" CLI tool relies on the following dependencies:

  • Puppeteer: Used for converting HTML reports into PDF format.
  • Dotenv: Used for keep secrets with key and value.
1.0.2

5 months ago

1.0.1

6 months ago

1.0.0

6 months ago