npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

slither-audit

v1.0.2

Published

The slither-audit npm CLI tool is a powerful utility for generating detailed Slither reports for Ethereum smart contracts and converting them into PDF format. This tool simplifies the process of analyzing Ethereum smart contracts for security vulnerabilit

Downloads

4

Readme

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.