AppThreat's vulnerability database and package search library with a built-in file based storage. OSV, CVE, GitHub, npm are the primary sources of vulnerabilities.
Project description
Introduction
This repo is a vulnerability database and package search for sources such as OSV, NVD, GitHub, and NPM. Vulnerability data are downloaded from the sources and stored in a custom file based storage with indexes to allow offline access and quick searches.
Installation
pip install appthreat-vulnerability-db
Usage
This package is ideal as a library for managing vulnerabilities. This is used by dep-scan, a free open-source dependency audit tool. However, there is a limited cli capability available with few features to test this tool directly.
Cache vulnerability data
Cache from all sources
vdb --cache
Cache from just OSV
vdb --cache --only-osv
It is possible to customise the cache behaviour by increasing the historic data period to cache by setting the following environment variables.
- NVD_START_YEAR - Default: 2016. Supports upto 2002
- GITHUB_PAGE_COUNT - Default: 5. Supports upto 20
Periodic sync
To periodically sync the latest vulnerabilities and update the database cache.
vdb --sync
Basic search
It is possible to perform simple search using the cli.
vdb --search android:8.0
vdb --search google:android:8.0
vdb --search android:8.0,simplesamlphp:1.14.11
Syntax is package:version,package:version or vendor : package : version (Without space)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for appthreat-vulnerability-db-2.0.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d581fe6f86764404eefea7fb5754f794b5066cacb6a7edff471641efb7345a8 |
|
MD5 | 51951b853e29b8e51f3d1867e51ea055 |
|
BLAKE2b-256 | 1e7719c77cffabf7e1f2e28864acd05196d494fc1fd10767f5014c47127b4851 |
Hashes for appthreat_vulnerability_db-2.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4dc22b8e11408139a55f0357cdb32f2c7d0d1076a5ca2ea78183d4ee9a012691 |
|
MD5 | f9ba0dceea425954b79b13e634f02e3b |
|
BLAKE2b-256 | e634a1a572770ac860e77ee36de1d020e3af50aee308008d307f83c12dd43fc6 |