Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cve-tools

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cve-tools

Bazaarvoice utilities for working with CVE IDs

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

CVE Tools

A set of tools useful when dealing with lists of vulnerability CVE IDs, such as those obtained from scans or dependency checks.

Installation

npm install cve-tools

Create CSV Files From Content Containing CVE IDs

There are several ways to use content, text files or strings, containing CVE IDs such as CVE-2015-0001, to generate a useful CSV file with a summary and CVSS score for the listed vulnerabilities.

cd path/to/cve-tools

# From a file.
bin/create-cve-csv -f path/to/file > cves.csv

# From a file via pipe.
cat path/to/file | bin/create-cve-csv > cves.csv

# Directly.
bin/create-cve-csv "CVE-2015-0001 blah blah CVE-2015-0002, etc." > cves.csv

# Directly via pipe.
echo "CVE-2015-0001 blah blah CVE-2015-0002, etc." \
  | bin/create-cve-csv > cves.csv

The output has the following format:

CVE IDCSVVURLSummary
CVE-2015-00017.5https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-0001A helpful summary.
CVE-2015-00025.0https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-0002A helpful summary.
etc...

Downloading and Parsing XML is Slow!

Expect this to take a few moments to chew through the necessary data, especially if having to check CVEs from multiple different years.

FAQs

Package last updated on 30 Nov 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc