cve-compass
A private, daily check: do any security advisories published in the last 24 hours affect the dependency files you choose? Matching happens on your machine, and nothing about your project is sent.
uvx cve-compass init
uvx cve-compass check
Or run pipx run cve-compass check, or install it with pip install cve-compass. Python 3.10 or newer. It has no dependencies; Python 3.11 or newer is needed to read poetry.lock and uv.lock.
initlooks for dependency files under the current directory by name only. It skipsnode_modules, virtual environments and hidden directories, never opens a file, and saves the files you pick to.compass.json.checkreads only those files, or the files you name:cve-compass check package-lock.json services/api/requirements.txt. It makes one GET for the public 24-hour advisory window from cve-compass.org, which carries no inventory, and compares versions locally.
Supported: package-lock.json and npm-shrinkwrap.json (v1–v3), pnpm-lock.yaml (v5–v9), yarn.lock (classic and Berry), requirements*.txt with name==version pins, Pipfile.lock, poetry.lock and uv.lock. Anything else, unpinned lines and entries without a version are reported as unknown, never silently skipped.
The report lists potential matches (package, version, affected range, advisory link, whether CISA lists it as known exploited), then unknowns, then coverage: the window, the sources, and whether each was fresh.
Run it every day. Each check covers the last 24 hours. cve-compass init --github-action adds a GitHub Actions workflow that checks twice a day and fails on a potential match (--fail-on-match, exit 1) or a stale source (--fail-on-stale, exit 3). Elsewhere, use cron: 17 */12 * * * cd /path/to/project && uvx cve-compass check --fail-on-match --fail-on-stale.
Options: --json FILE writes the full result; --save-snapshot FILE keeps the downloaded window; --snapshot FILE re-checks offline against a saved window.
A version match is a reason to investigate, not proof that a running service is exploitable. No matches means none in these sources, this 24-hour window and the inputs checked; it does not mean the stack is clean.
The hosted MCP server at https://cve-compass.org/mcp is optional and read-only: source freshness and exact CVE or GHSA lookups, no account or key. Never send it file contents or package lists.
Sources: GitHub Advisory Database (CC BY 4.0) and the CISA Known Exploited Vulnerabilities Catalog (CC0).
The cve-compass code is released under the MIT License. Advisory data keeps its sources' terms, listed above.
Metadata
Release files for cve-compass 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cve_compass-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for cve_compass-1.0.0-py3-none-any.whl |
Release files / cve_compass-1.0.0-py3-none-any.whl
| Download URL | cve_compass-1.0.0-py3-none-any.whl |
|---|---|
| Size | 49.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2b83d7f16518ba11c0ed69e4c696d0895d3ed9b4aa922b95fa84d50c83d28717
|
|
BLAKE2b-256 checksum How to use checksums |
2b30d134131770e5026804ac7913957d46afdb498d32b86e2337ca40fd23bf48
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logSecurity for cve-compass 1.0.0
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.
Full provenance
1 file in this release has been uploaded with provenance metadata.
Attestation for cve_compass-1.0.0-py3-none-any.whl
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logA 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.