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.7.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15e15ee5e5ef6897325a9bc733bf3e71f39544c736d08c32ef5e6a3f9bb0ce35 |
|
MD5 | a487f789f0e7a0e1b38cd0dd7f8a3144 |
|
BLAKE2b-256 | fc90a917290d5c53e0d95050a05827ed8f74501299b1052524272fb4a6a26dec |
Hashes for appthreat_vulnerability_db-1.7.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49d72d0ee4f91ab7154e7ffba0c46b9d61949dada16539b1978e6a62acf59923 |
|
MD5 | b824d2deb4d85949d9d8115279c08315 |
|
BLAKE2b-256 | a3acec8b0b87a5a66a87a048770c1dbf0af11e5feb66959e4fa897562ffa5a9c |