Skip to content

Latest commit

 

History

History
58 lines (36 loc) · 1.73 KB

README.md

File metadata and controls

58 lines (36 loc) · 1.73 KB

retire-scan

Overview:

This script is designed to scan a specified file or directory for known vulnerabilities using Retire.js. It prompts the user for a path, checks if Retire.js is installed (installing it if necessary), and then runs a Retire.js scan on the provided path.

Prerequisites:

Node.js and npm should be installed on your system.

Usage:

  • Run the Script

    • Execute the script from your terminal:

      ./script_name.sh
      
  • Provide Path

    • When prompted, enter the file or directory path you want to scan.
  • Scan Results

    • The script will install Retire.js if it is not already installed.
    • It will then run a Retire.js scan on the specified path and display the results.

Demo:

Screenshot_20240708_180712

retire-scan


vulnerability-report-generator

Overview:

This Python script reads a Retire.js JSON output file, processes the vulnerabilities by severity, and generates an HTML file containing a pie chart visualizing the severity distribution using D3.js.

Requirements:

  • Python 3.x
  • d3.js (loaded from CDN in the HTML file)
  • No additional Python libraries are required

Demo:

image

image

image


Installation

Clone the Repository:

git clone https://github.com/pratiyk/audit-scanner