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 Aqua Security vuln-list, 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-4.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffa990d9a317b63e9956a99339d73c14cd2d977cb650767924423c5887137afd |
|
MD5 | e45bcde5e6dcaa5c40df02fc9ed2a33d |
|
BLAKE2b-256 | f9714e3ad9961463af12bb7386591c00f3e7a9c9d6a451dae20152d4edad66f0 |
Hashes for appthreat_vulnerability_db-4.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a93c9fd4a7bd21c0ec4d28657c2be52b2caf7abc7a8149a21d6bff17d96a5c2b |
|
MD5 | 1b25b8a4a999cfe401d7a5dc118e909c |
|
BLAKE2b-256 | f7bf9aaa300cd1b165dbb68bd60ac77d2697358bc44a46832f38c771aaf2ce68 |