Quick CVE lookup tool from CLI using NVD API.
This project is managed with uv.
# Install dependencies and the package
uv pip install -e .
# Or run via the wrapper
./cvelookup-wrapper# Look up specific CVE
cvelookup CVE-2021-44228
# Search by keyword
cvelookup --search log4j
# Get latest CVEs
cvelookup --latest 10
# JSON output
cvelookup CVE-2021-44228 --json
# Copy to clipboard
cvelookup CVE-2021-44228 --copy| Flag | Description |
|---|---|
-s, --search |
Search by keyword |
--latest |
Show latest CVEs |
-l, --limit |
Number of results (default: 5) |
--brief |
Brief output format |
--json |
JSON output |
--copy |
Copy to clipboard |
- Python 3.10+
- requests
MIT