AppThreat's vulnerability database and package search library with a built-in file based storage. 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 NVD, GitHub and so on. It uses a built-in file based storage to allow offline access.
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
vdb --cache
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-1.6.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2ec39c968eabaefbd9b98cff942d484a16198fdeada1e02cc027e57c85ce0e2 |
|
MD5 | b43d75667f6d1567384c576ed82e8207 |
|
BLAKE2b-256 | 744b409825ea08664d5f05f23c63c2675ec042a5ee345453f95bc00b36893c29 |
Hashes for appthreat_vulnerability_db-1.6.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce126c70c563b45f33ec5b20215f2a4e5252919516a52e6bf79b251f6680d167 |
|
MD5 | 1f06115b97b9ad2761267781b46d1ed3 |
|
BLAKE2b-256 | 37a3117e9265040265dbd2cc10d4c6e210a366358b5ec6a0d3b66cb127957f37 |