Repository navigation
Releases
v3.0.0
Release Notes
Added
unpatched: list the software you run, and a daily GitHub Action tells you only when something you run is affected, what to do, and whether it is being exploited. Keyless and open data only, and no servers: the database is built daily in this repository and published on the rollingdbrelease.- The
unpatchedcommand line:check(text, JSON, Markdown and SARIF output,--exit-code,--notify,--dry-run),init(questions in a terminal, a commented template otherwise;--githubadds the daily workflow),explain(a rule, a CVE or a finding key),search,catalog list|show,db update|info|build|sources-health,mcpandschema config|report. Exit codes: 1 fix today (with--exit-code), 2 usage or config error, 3 data error, 4 delivery error. - The GitHub Action (
uses: amet13/unpatched@v3): downloads the release binary, checks its SHA-256, caches it, and writes the run summary to the job. Inputs:version,binary,config,db,dry-run,args.templates/github/has a startingunpatched.ymland workflow. - The end-to-end corpus (
corpus/, 70+ cases) andcargo xtask corpus new <name>;cargo xtask schemawritesschema/unpatched.schema.jsonandschema/report.schema.json. - Findings and reports show the product's display name (
FortiOS 7.2.5) instead of its id, andFindinghas a newproduct_namefield. - The user guide (mdBook,
docs/guide/, published at https://amet13.github.io/unpatched/), a new README, andllms.txtandllms-full.txt.cargo xtask docsregenerates the parts that come from the code (config reference, rules, catalog, command help, examples), andcargo xtask checkfails when they are out of date. - Every report has
items: one recommendation per stack item (counts per bucket, the smallest upgrade that fixes the most findings, how many it fixes, end-of-life and unfixed counts).checkprints it first, as one line per item; the digest uses these lines only. Finding.fixed_after: when a source only gives an inclusive upper bound (<= 9.8), the advice reads "Upgrade to a release after 9.8" (with the latest release of the cycle when known).- New threshold
cvss_week_exposed(default 7.0). check --notifyin GitHub Actions warns (::warning::) when the repository is public, because the stack and the issues are then visible to everyone.--nowis a hidden global option, used bycheck,explainanddb info.unpatched db build --strict(fails, and writes nothing, when any source failed) andunpatched db info --json(counts and sources, for scripts). The daily database build uses both, and refuses to replace the published database when it has more than 20% fewer vulnerabilities or KEV entries.unpatched db updatetries again (after 20 s, then 60 s) when the release is being replaced and the checksum does not match yet, or the file is not there.- Notes for
ignoreentries that do nothing:ignore[2]: CVE-2099-1 matches no finding. Check the id or remove it.andignore[1] expired on 2020-01-01; the finding is back.Issue footers andexplain <finding key>show how to accept a risk (ignore:withcve,reason,until). unpatched explain --ruleslists every rule id.explainlists each reference once and names stack items like the report does.- Repository automation: CI on three operating systems, the daily database build, releases with
dist, a Docker image, and weekly and monthly upkeep (see MAINTAINING.md).
Security
- Release and CI workflows:
dist,cargo-zigbuildand actionlint are installed from pinned, hash-checked downloads (nocurl | sh);release.ymlis read-only by default and moves the major tag through the API; the Dependabot labeller usespull_requestinstead ofpull_request_target;workflow_runjobs ignore runs from forks; CI runs zizmor. - The MCP server refuses a
config_pathby its name before looking at the file system, so a caller cannot learn which other files exist. - MCP
check_stackonly reads the server's own config file, or a file namedunpatched*.ymlorunpatched*.yamlunder the server's working directory (links are resolved first). Before, any readable file could be named, and a YAML error could echo its content. Errors about a config file now give only the line and column.
Changed
-
Reports are shorter and use one vocabulary (today, this week, end of life, unknown, FYI; JSON keeps
now,week,eol,unknown,fyi). The text and Markdown reports and the status issue start with87 to act on (14 today, 69 this week, ...), 228 FYIand show FYI findings only as a count per item, with a line228 FYI not shown: run with -v or --format json. Issue bodies count FYI findings and no longer list them. The item headline says whether the upgrade clears everything (fixes all 11) or not (fixes 61 of 110; 49 have no fix on 7.2). "Checked" now reads990 vulnerabilities checked against your versions: not affected. -
--quietprints nothing on stdout except errors. The report still goes to--output, and exit codes are the same. -
MCP
check_stackreturns a small answer:summaryanditemsalways, andfindingsfor the buckets inbucket(default now, week, eol, unknown), at mostlimit(default 50), with evidence only wheninclude_evidenceis true. Every tool refuses arguments it does not declare. The text of a source (source says) is cut to about 200 characters inis_affectedandexplainunlessinclude_rawis true. MCPexplainaccepts finding keys (judged with the server's config). -
--notify --dry-runprints each message once (the channel, then its text); a missing secret is a warning in a dry run. Log lines readwarning: ...instead ofWARN .... -
Error messages say what to do: a missing version points to
unpatched catalog show <id>, a bad purl shows an example, a config file that is YAML but not theunpatched.ymlformat says so and suggests the closest field (Did you meanexposure?), and long parser messages are cut.initasks again when a version has spaces or cannot be read, and shows an example. Using an alias (product: fortigate) adds one note. -
searchand unknown-product errors say what to do when a product is not in the catalog (use a purl for OS packages, or ask for it), and only suggest names that are close:search yoastno longer suggestscisco-asa. -
cargo xtaskfinds the repository root at run time, andcargo xtask corpus newwrites a case that fails until you edit it. -
Catalog
version_hint: how a product writes its versions (7.2.5for FortiOS,22.7R2.5for Ivanti,7.2.1-69057-5for Synology).catalog showprints it, and the note for a version that cannot be compared repeats it. A note also warns when your version has fewer parts than the hint's example. -
Version scheme
synology(major.minor[.patch]-build[-update], also7.2.1-69057 Update 5) forsynology-dsm. Dotted read the build number as a patch number. -
New rule
UNP-UNKNOWN-DATA: a version in the data cannot be read; your version is fine.UNP-UNKNOWN-VERSIONnow means only your own configured version. -
Finding.fix_other_trainandFinding::advice(): when the only fix is on another release train, the advice says there is no fix on your branch, instead of "Upgrade to 7.4.10". -
CNA keys in the catalog can have
summary_starts, so a CNA that files every product under one name (Nextcloud'ssecurity-advisories) only counts for the product the description is about. -
A database that holds a source this build does not know is refused ("needs a newer unpatched", exit code 3) instead of silently dropping the findings.
-
NVD ranges: the CPE
updatefield is joined to the version (8.5+p1is 8.5p1, Ivanti22.7+r2.4is 22.7R2.4); other updates (cumulative_update_23,update2) are kept as unplaced, so a version that could match isunknown, nevernot-affected. CPE version-(not applicable) no longer means all versions: it gave WordPress core the flaws of its plugins. -
An affected verdict that rests only on "all versions" evidence is
unknown(UNP-UNKNOWN-NO-RANGES), and is shown only when the signals would make itnoworweek. It is nevernoworweekitself. -
9.8p1matches the bound9.8(OpenSSH has no plain 9.8):<= 9.8includes it. -
A source whose data cannot be read no longer blocks another source's clean
not-affected. -
An item's
upgrade_tois never lower than the installed version. -
rpm versions made only of separators (
+_,_+) compare equal, likerpmvercmp. -
weekneeds more than exposure: an affected finding isweekwhen EPSS is at or aboveepss_week, or CVSS is at or abovecvss_week, or the item is internet-facing and CVSS is at or abovecvss_week_exposed. An unknown CVSS score does not count.UNP-EXPOSEDnow means that. A first real run put 220 findings inweekbecause of exposure alone. -
A source that only says "all versions" (with a few unaffected versions) no longer beats a source with specific ranges that exclude your version: the verdict is
unknownwithUNP-CONFLICT. -
GitHub issues are per stack item, not per CVE: one issue lists the item's findings by bucket, is updated as they change, and is closed when none of
now,week,eolorunknownare left. The hidden marker is now<!-- unpatched:item=... -->and the delivery state tracks items for issues and findings for chat alerts. -
Finding titles in text, Markdown and issue output are the first sentence, at most 140 characters, unless
--verbose. JSON keeps the full text. -
unpatched explain <CVE>no longer says "not affected" for stack items the vulnerability is not about; it prints one line saying how many are not concerned. -
CVSS and EPSS scores are
f64, so JSON shows9.6and not9.600000381469727. -
A product that is in the catalog but not in the database now says so ("the da...
Database (rolling)
Rolling release of the daily database. Built 2026-11-24 (UTC) from run 45508701261. This release is replaced every day; do not pin to it. Verify a download with SHA256SUMS or: gh attestation verify unpatched-db.sqlite.zst --repo Amet13/unpatched
v2.6.1
cvewatch v2.6.1
Installation
Download the appropriate binary for your platform from the assets below.
Linux/macOS
# Download and install (replace with your platform)
curl -sL "https://github.com/Amet13/CVEWatch/releases/download/v2.6.1/cvewatch_linux_amd64" -o cvewatch
chmod +x cvewatch
sudo mv cvewatch /usr/local/bin/
# Verify installation
cvewatch versionWindows
# Download and install (PowerShell)
Invoke-WebRequest -Uri "https://github.com/Amet13/CVEWatch/releases/download/v2.6.1/cvewatch_windows_amd64.exe" -OutFile "cvewatch.exe"
# Move to a directory in your PATHChangelog
Bug Fixes
- 7785cec: fix(ci): make quality tools runnable without PATH assumptions (@Amet13)
- a79b5f4: fix(ci): pin Go to 1.25.7 for govulncheck stdlib advisories (@Amet13)
- 1f1b8ba: fix(ci): use 'files' instead of 'file' for codecov-action@v5 (@Amet13)
- 27397fe: fix(ci): use correct Task linux archive name (@Amet13)
Other Changes
- c2c1455: chore(deps)(deps): bump github.com/spf13/cobra (@dependabot[bot])
- 78dbd98: refactor(ci): deduplicate task installation and tool execution (@Amet13)
- 01be207: refactor: apply DRY helpers in config and error handling (@Amet13)
- 67a3a60: refactor: deduplicate CLI config/date and output formatting helpers (@Amet13)
Full Changelog: v2.5.1...v2.6.1
v2.5.1
cvewatch v2.5.1
Installation
Download the appropriate binary for your platform from the assets below.
Linux/macOS
# Download and install (replace with your platform)
curl -sL "https://github.com/Amet13/CVEWatch/releases/download/v2.5.1/cvewatch_linux_amd64" -o cvewatch
chmod +x cvewatch
sudo mv cvewatch /usr/local/bin/
# Verify installation
cvewatch versionWindows
# Download and install (PowerShell)
Invoke-WebRequest -Uri "https://github.com/Amet13/CVEWatch/releases/download/v2.5.1/cvewatch_windows_amd64.exe" -OutFile "cvewatch.exe"
# Move to a directory in your PATHChangelog
Bug Fixes
Full Changelog: v2.5.0...v2.5.1
v2.4.1
cvewatch v2.4.1
Installation
Download the appropriate binary for your platform from the assets below.
Linux/macOS
# Download and install (replace with your platform)
curl -sL "https://github.com/Amet13/CVEWatch/releases/download/v2.4.1/cvewatch_linux_amd64" -o cvewatch
chmod +x cvewatch
sudo mv cvewatch /usr/local/bin/
# Verify installation
cvewatch versionWindows
# Download and install (PowerShell)
Invoke-WebRequest -Uri "https://github.com/Amet13/CVEWatch/releases/download/v2.4.1/cvewatch_windows_amd64.exe" -OutFile "cvewatch.exe"
# Move to a directory in your PATHChangelog
Bug Fixes
Full Changelog: v2.4.0...v2.4.1
v2.3.0
cvewatch v2.3.0
Installation
Download the appropriate binary for your platform from the assets below.
Linux/macOS
# Download and install (replace with your platform)
curl -sL "https://github.com/Amet13/CVEWatch/releases/download/v2.3.0/cvewatch_linux_amd64" -o cvewatch
chmod +x cvewatch
sudo mv cvewatch /usr/local/bin/
# Verify installation
cvewatch versionWindows
# Download and install (PowerShell)
Invoke-WebRequest -Uri "https://github.com/Amet13/CVEWatch/releases/download/v2.3.0/cvewatch_windows_amd64.exe" -OutFile "cvewatch.exe"
# Move to a directory in your PATHChangelog
New Features
Bug Fixes
Other Changes
- f733a59: chore(ci)(deps): bump the github-actions group with 2 updates (@dependabot[bot])
- c0b6529: chore(deps)(deps): bump the go-dependencies group with 3 updates (@dependabot[bot])
Full Changelog: v2.2.0...v2.3.0
v2.2.0
cvewatch v2.2.0
Installation
Download the appropriate binary for your platform from the assets below.
Linux/macOS
# Download and install (replace with your platform)
curl -sL "https://github.com/Amet13/CVEWatch/releases/download/v2.2.0/cvewatch_linux_amd64" -o cvewatch
chmod +x cvewatch
sudo mv cvewatch /usr/local/bin/
# Verify installation
cvewatch versionWindows
# Download and install (PowerShell)
Invoke-WebRequest -Uri "https://github.com/Amet13/CVEWatch/releases/download/v2.2.0/cvewatch_windows_amd64.exe" -OutFile "cvewatch.exe"
# Move to a directory in your PATHChangelog
New Features
Bug Fixes
- c134082: fix: Broken pipeline (@Amet13)
- 9b490d3: fix: Text in releases (@Amet13)
- 88d4742: fix: exe cleanup and CI (@Amet13)
Documentation Updates
Other Changes
Full Changelog: v2.1.1...v2.2.0
v2.1.1
v2.1.0
CVEWatch v2.1.0
✨ New Features
- fix: Add shell: bash to all CI steps for cross-platform compatibility (88b5fb9)
- ci: Add concurrency control to cancel outdated jobs (44e660b)
🐛 Bug Fixes
- fix: Add shell: bash to all CI steps for cross-platform compatibility (88b5fb9)
- Fix bash (2477d2f)
- fix: Preserve matrix parallel execution in concurrency control (cdf5713)
- ci: Break down pipeline into logical steps for better debugging (5b051b4)
- refactor: Simplify CI/CD workflows and fix gitignore (b09cc91)
- fix: Use Make commands in CI and fix security issues (3443b83)
- fix: Cleanup (c1ab3d5)
⚠️ Breaking Changes
- refactor: Simplify CI/CD workflows and fix gitignore (b09cc91)
🔧 Maintenance
- cleanup: Do not upload artifacts (f4f4b35)
- cleanup: Remove unused bash scripts (0d4c7a0)
- fix: Cleanup (c1ab3d5)
📋 Full Changelog
- Ubuntu only build (e838728)
- cleanup: Do not upload artifacts (f4f4b35)
- fix: Add shell: bash to all CI steps for cross-platform compatibility (88b5fb9)
- ci: Remove Codecov integration (72d0640)
- Fix bash (2477d2f)
- fix: Preserve matrix parallel execution in concurrency control (cdf5713)
- ci: Add concurrency control to cancel outdated jobs (44e660b)
- fmt: Pipeline (97702ed)
- ci: Break down pipeline into logical steps for better debugging (5b051b4)
- refactor: Simplify CI/CD workflows and fix gitignore (b09cc91)
- cleanup: Remove unused bash scripts (0d4c7a0)
- fix: Use Make commands in CI and fix security issues (3443b83)
- fix: Cleanup (c1ab3d5)
Downloads
Linux:
- AMD64:
cvewatch-linux-amd64 - ARM64:
cvewatch-linux-arm64
macOS:
- Intel (AMD64):
cvewatch-darwin-amd64 - Apple Silicon (ARM64):
cvewatch-darwin-arm64
Windows:
- AMD64:
cvewatch-windows-amd64.exe - ARM64:
cvewatch-windows-arm64.exe
Installation
macOS (Apple Silicon):
curl -L -o cvewatch \
https://github.com/Amet13/CVEWatch/releases/latest/download/cvewatch-darwin-arm64
chmod +x cvewatch
sudo mv cvewatch /usr/local/bin/Linux (ARM64):
curl -L -o cvewatch \
https://github.com/Amet13/CVEWatch/releases/latest/download/cvewatch-linux-arm64
chmod +x cvewatch
sudo mv cvewatch /usr/local/bin/Checksums
SHA256 checksums for all binaries are available in the release assets.
v2.0.0
✨ New Features
- feat: Upgrade to modern softprops/action-gh-release - Replace deprecated actions/create-release@v1 with softprops/action-gh-release@v2 - Simplify workflow by using files input for automatic asset upload - Fix release naming and asset upload issues - Modern, maintained action with better cross-platform support (3cb3a89)
- fix: CI release creation for tag pushes - Add release creation step before asset upload - Fixes missing upload_url error in CI pipeline - Ensures proper GitHub release is created for each tag - Assets will now be properly uploaded to releases (e69927b)
- fix: Add go.sum for CI dependencies - Add go.sum file to fix CI build failures - Remove go.sum from .gitignore to allow dependency tracking - Ensures all external package dependencies are properly tracked (606b1a5)
- feat: Complete Go rewrite v2.0.0 - Complete rewrite from Python to Go with modern architecture - NVD API v2.0 integration replacing discontinued cvedetails.com - YAML-based configuration system - Comprehensive testing and CI/CD pipeline - Removed Docker and notification dependencies - Simplified and focused project structure (aa00cf6)
🐛 Bug Fixes
- fix: Formatting (ceb7274)
- feat: Upgrade to modern softprops/action-gh-release - Replace deprecated actions/create-release@v1 with softprops/action-gh-release@v2 - Simplify workflow by using files input for automatic asset upload - Fix release naming and asset upload issues - Modern, maintained action with better cross-platform support (3cb3a89)
- fix: Remove duplicate version display - Remove hardcoded config version from version command - Now shows only embedded version from Git tags - Eliminates confusion between config version and actual version (dc886c4)
- fix: Clean up CI workflow formatting - Remove extra whitespace in release body - Ensure consistent formatting for GitHub releases (9c67fc2)
- fix: CI release creation for tag pushes - Add release creation step before asset upload - Fixes missing upload_url error in CI pipeline - Ensures proper GitHub release is created for each tag - Assets will now be properly uploaded to releases (e69927b)
- fix: Add go.sum for CI dependencies - Add go.sum file to fix CI build failures - Remove go.sum from .gitignore to allow dependency tracking - Ensures all external package dependencies are properly tracked (606b1a5)
📚 Documentation
- feat: Complete Go rewrite v2.0.0 - Complete rewrite from Python to Go with modern architecture - NVD API v2.0 integration replacing discontinued cvedetails.com - YAML-based configuration system - Comprehensive testing and CI/CD pipeline - Removed Docker and notification dependencies - Simplified and focused project structure (aa00cf6)
🔧 Maintenance
- fix: Clean up CI workflow formatting - Remove extra whitespace in release body - Ensure consistent formatting for GitHub releases (9c67fc2)