Skip to main content

cvet

02082022_12 53-000469



cvet is a Python utility for pulling actionable vulnerabilities from cvetrends.com.

Find out more information at our blog.

Installation / Usage



Installation

cvet can be installed from PyPi using the following command:

pipx install cvet

If this tool is not yet availible via PyPi, you can install it directly from the repository using:

git clone https://github.com/Sprocket-Security/cvetrends.git
cd cvetrends && pip3 install .

For development, clone the repository and install it locally using poetry.

git clone https://github.com/Sprocket-Security/cvetrends.git && cd cvetrends
poetry shell 
poetry install

Usage

The cvet help menu is shown below:

 Usage: cvet [OPTIONS] [[day|week]]                                                                                              
                                                                                                                                 
 cvetrends.com CLI                                                                                                               
                                                                                                                                 
╭─ Arguments ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ TIME_FRAME    [[day|week]]                                                                                                    │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Options ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --notify          -n   TEXT     Slack webhook to notify on run                                                                │
│ --repo-threshold  -rt  INTEGER  Number of repos needed to show CVE. [default: 1]                                              │
│ --help            -h            Show this message and exit.                                                                   │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

cvet can query time frames of 24 hours or 7 days using a value of day or week. The default is day.

cvet week 

Results are returned in a pretty table format and only vulnerabilities that have more than -rt PoC GitHub repos published are shown. The default is 1.

cvet day -rt 2

cvet also allows you to specify a Slack webhook to notify on run using the -n or --notify flag. This is useful if you want to be notified of new vulnerabilities and run this tool on a cron.

cvet -n https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX -rt 2 

An example Slack notification is shown below:

02082022_12 54-000470

Metadata

Release files for cvetrends 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cvetrends 0.0.1
File Size Uploaded Provenance Actions
cvetrends-0.0.1.tar.gz 5.5 kB Without provenance Details for cvetrends-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cvetrends 0.0.1
File Interpreter ABI Platform Actions
cvetrends-0.0.1-py3-none-any.whl Python 3 none any Details for cvetrends-0.0.1-py3-none-any.whl

Total release size: 12.5 kB

Release files / cvetrends-0.0.1.tar.gz

Download URL cvetrends-0.0.1.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
0bd113790e17ec8da6c29e1493666db64d899890a7d9a089e09677958eea2237
BLAKE2b-256 checksum
How to use checksums
807028f51d60e3da8b7c5336b1bc1bd85289180cbef36688d70dd70eb7630bd6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.9.13 Darwin/21.6.0

Release files / cvetrends-0.0.1-py3-none-any.whl

Download URL cvetrends-0.0.1-py3-none-any.whl
Size 7.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ae7b21d18e8c79346a879a2f4e3b8662b9a7ea51a77ab5348fdd526c65345bb3
BLAKE2b-256 checksum
How to use checksums
d021485c024e7072a9aa59a79a8201c5d716357cdb2afac8ffc22816534b3b8d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.9.13 Darwin/21.6.0

Security for cvetrends 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page