Skip to content

A fast, user-friendly CLI tool to search and display CVE details by ID or keyword using public vulnerability databases.

License

Notifications You must be signed in to change notification settings

DebaA17/CVE-scanner-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CVE Scanner CLI

A command-line tool to search for CVEs (Common Vulnerabilities and Exposures) using public APIs. Results are displayed with color formatting and details using the rich library.

Features

  • Search CVEs by ID (using cve.circl.lu)
  • Search CVEs by keyword in description (using NVD)
  • Prints formatted CVE details (ID, published/modified date, CVSS score, severity, description, references)
  • Interactive menu or command-line arguments

Requirements

  • Python 3.7+
  • requests
  • rich

Installation (Local/Global Usage)

git clone https://github.com/DebaA17/CVE-scanner-cli.git
cd CVE-scanner-cli
bash setup.sh

This will install all dependencies in a virtual environment and create a cvecli command in your ~/.local/bin directory.

Make sure ~/.local/bin is in your PATH:

export PATH="$HOME/.local/bin:$PATH"

Usage

Interactive Mode (Recommended)

cvecli

You will be prompted to enter either a CVE ID or a keyword. Just follow the on-screen instructions to search for CVEs by ID or by keyword in the description.

Search by CVE ID

cvecli --id CVE-2025-55184

Search by Keyword

cvecli --keyword wordpress

Output Example

Results are shown in the terminal with color formatting for better readability.

Demo Output (CVE ID Search)

CVE ID Demo

Demo Output (Keyword Search)

Keyword Search Demo

Notes

  • CVE ID search uses the cve.circl.lu API.
  • Keyword search uses the NVD API and returns up to 5 results per search.

Disclaimer

This tool is provided for educational and informational purposes only. The owner and contributors are not responsible for any misuse, damage, or legal issues resulting from the use of this software. Use at your own risk.

License

MIT


Created by DEBASIS

About

A fast, user-friendly CLI tool to search and display CVE details by ID or keyword using public vulnerability databases.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project