Rank a batch of flagged vulnerabilities by what to fix first
prioritize_remediationGiven a batch of vulnerability findings already flagged elsewhere (e.g. from batch_query_vulnerabilities, analyze_transitive_dependencies, or query_vulnerabilities across a whole package.json/lockfile audit), ranks them by what to actually fix first. Combines CISA KEV status (confirmed active exploitation in the wild — an automatic top-priority override), FIRST.org EPSS (probability of exploitation in the next 30 days — the primary ranking signal, since it measures likelihood rather than just impact), and severity (a secondary/fallback signal, most useful for a GHSA finding with no CVE alias) into one composite score and a patch-now/patch-soon/scheduled/monitor tier per finding. This does NOT re-query OSV/NVD itself — pass in the severity/CVE id findings other tools already returned; it only adds KEV/EPSS enrichment (the same data get_cve returns per-CVE) and ranks the batch. A CVE id shared by multiple findings in the same call is only looked up once.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| findings | Yes | 1-200 previously-flagged vulnerability findings to rank |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ranked | Yes | ||
| summary | Yes | ||
| totalFindings | Yes | ||
| uniqueCveCount | Yes |