cverdict-mcp 0.1.5 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -2
- package/dist/cverdict-mcp.mjs +2457 -29
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -89,7 +89,7 @@ proxy and the data bases. Nothing but JSON-RPC goes to stdout.
|
|
|
89
89
|
|
|
90
90
|
## Tools
|
|
91
91
|
|
|
92
|
-
All
|
|
92
|
+
All are read-only (`readOnlyHint: true`) and return `structuredContent` plus the same JSON as
|
|
93
93
|
one text block. The result types are in [`shared/contract.ts`](../shared/contract.ts), section
|
|
94
94
|
"MCP tool results".
|
|
95
95
|
|
|
@@ -101,8 +101,11 @@ one text block. The result types are in [`shared/contract.ts`](../shared/contrac
|
|
|
101
101
|
| `woke_up` | `woke.json` | Old CVEs that gained exploitation evidence since `since` (default 7 days before the data was generated), with their dated signals. Filter by `kinds`: `kev` (CISA KEV), `catalog` (ENISA EU KEV or CIRCL as exploited), `exploitdb`, `metasploit`, `nuclei`, `poc`, `epss`. A `kev` or `catalog` listing in the period counts even when it came while the CVE was still in the window | `limit` 1 to 50 (default 25), `offset` |
|
|
102
102
|
| `receipts` | `receipts.json` | How often CVErdict, CVSS 7 or more and EPSS 10% or more flagged a CVE before CISA listed it: the forward log and the hindsight backtest, without the per-CVE lists. `id` adds one CVE's entries | |
|
|
103
103
|
| `search_cves` | `index.json` | Window CVEs whose ID, CNA, vendor, product or title contain every word of `query`, highest score first | `query` 2 to 100 characters, at most 8 words; `limit` 1 to 50 (default 20), `offset` |
|
|
104
|
+
| `check_inventory` | `index.json`, `woke.json` | Per name: the window CVEs and old CVEs that woke up whose vendor or product equals the name (ignoring case and extra spaces, as the site's watchlist matches), most urgent first (tier, then soonest KEV due date, then score), each with tier, verdict, score and KEV due date; `matched` and `total` (in the chosen `tiers`), `omitted`, `no_match`, and the feed for the name's slug `https://cverdict.dev/feeds/v/<slug>.xml`, which folds case, accents and punctuation, so it can carry spellings the name does not match (`umbraco cms` and `umbraco-cms` share one) | `names` 1 to 200, each 1 to 80 characters after trimming; `per_name` 1 to 25 (default 10); to keep the answer under about 17,000 tokens, the least urgent CVEs across all names are left out, with a `note`, so an exploited CVE is never dropped for a quieter one; no control or invisible characters, and at most 20 KB of names together; `tiers`, `knob` |
|
|
105
|
+
| `check_dependencies` | `packages.json`, `packages-older.json` | The project's dependencies with CVEs, most urgent first: the lockfiles and SBOMs under `paths` (npm, yarn, pnpm, pip, Poetry, uv, Pipenv, Go, Cargo, Bundler, Composer, NuGet and Gradle lockfiles; CycloneDX and SPDX; folders are searched, `node_modules`, `vendor` and build output skipped), matched against every CVE an OSV.dev advisory ties to a package version, as the site's Check Deps and `cverdict-check` do. Each finding: CVE, tier (or `possible` when the version could not be compared), verdict, score, KEV due date, package, version, `fixed_in`, advisories, file, line, `tracked` and `url` (the CVE page, or cve.org for an older CVE); `counts` per tier over all findings, `files` with any read error, and `coverage` | `paths` 1 to 20, default `["."]`: each must resolve, through symbolic links, inside the folder the server runs in (an MCP client usually starts it in the project), and a file must have a lockfile or SBOM name, so nothing else is ever opened; errors never quote a file. `include_quiet` (default false), `knob`. Files are read locally; only `packages.json` and `packages-older.json` are downloaded, under a 30-second deadline instead of 10. The least urgent findings are cut to keep the answer under about 17,000 tokens, with a `note` |
|
|
106
|
+
| `changes_since` | `events.json` | Verdict events after `since`, newest first, with every event field (`id`, `at`, `type`, `cve`, `vendor`, `product`, `tier_before`, `tier_after`, `score`, `title`, `via`, `url`, `detail`, `backfill`; tiers at the default evidence bar of 50), the span the log covers (`log`, with `capped: true` when the log reached `max_items` and dropped its lower-ranked events) and `next_since` (the log's `generated_at`). To page, pass the first page's `next_since` as `until` on later pages, so events added by a new run between pages do not shift them and every page names the same `next_since`; pass that as `since` to catch up later. Filters: `names` (as `check_inventory` matches), `types` (`kev_added`, `catalog_listed`, `vendor_exploited`, `tier_up`, `fast_lane`, `metasploit_module`, `nuclei_template`, `exploitdb_entry`) | `since` within the log's 7 days, else an error saying where it starts: a date-time is exclusive (so `next_since` repeats nothing), a date takes the whole day from 00:00:00Z, where backfilled items are stamped; `until` optional; `limit` 1 to 50 (default 25), `offset` |
|
|
104
107
|
|
|
105
|
-
Dates (`published_since`, `since`) are UTC: `2026-10-01`, `2026-10-01T06:00Z` or
|
|
108
|
+
Dates (`published_since`, `since`, `until`) are UTC: `2026-10-01`, `2026-10-01T06:00Z` or
|
|
106
109
|
`2026-10-01T06:00:00.000Z`. A date that does not exist is an error. A filter the server cannot
|
|
107
110
|
apply is always an error, never silently dropped.
|
|
108
111
|
|