vigievuln 0.0.0-stage → 1.0.1

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.
Files changed (172) hide show
  1. package/CHANGELOG.md +987 -0
  2. package/LICENSE +201 -0
  3. package/README.md +270 -2
  4. package/completions/vigievuln.bash +26 -0
  5. package/completions/vigievuln.zsh +66 -0
  6. package/data/cpe-coord-map.json +113 -0
  7. package/data/cwe-names-fr.json +192 -0
  8. package/data/cwe-names.json +192 -0
  9. package/data/eol-composer-frameworks.json +36 -0
  10. package/data/eol-mapping.json +178 -0
  11. package/data/known-obsolete.json +137 -0
  12. package/data/known-public-namespaces.json +79 -0
  13. package/data/license-policy.json +97 -0
  14. package/data/popular-packages.json +39 -0
  15. package/fad-checker.js +3 -0
  16. package/lib/advisory-freshness.js +35 -0
  17. package/lib/application-exports.js +32 -0
  18. package/lib/application-inventory.js +175 -0
  19. package/lib/application-plugins/drupal.js +281 -0
  20. package/lib/application-plugins/index.js +18 -0
  21. package/lib/application-plugins/joomla.js +114 -0
  22. package/lib/application-plugins/laravel.js +61 -0
  23. package/lib/application-plugins/magento.js +148 -0
  24. package/lib/application-plugins/plugin.interface.js +20 -0
  25. package/lib/application-plugins/prestashop.js +157 -0
  26. package/lib/application-plugins/runner.js +288 -0
  27. package/lib/application-plugins/select.js +25 -0
  28. package/lib/application-plugins/spip.js +149 -0
  29. package/lib/application-plugins/symfony.js +119 -0
  30. package/lib/application-plugins/typo3.js +140 -0
  31. package/lib/application-plugins/wave2-common.js +121 -0
  32. package/lib/application-plugins/wordpress.js +266 -0
  33. package/lib/application-providers/drupal-advisories.js +152 -0
  34. package/lib/application-providers/github-advisories.js +223 -0
  35. package/lib/application-providers/live-snapshot.js +171 -0
  36. package/lib/application-providers/spip-advisories.js +166 -0
  37. package/lib/application-providers/wordfence-v3.js +154 -0
  38. package/lib/application-providers/wp-checksums.js +77 -0
  39. package/lib/attribution.js +125 -0
  40. package/lib/cache-archive.js +323 -0
  41. package/lib/certfr.js +142 -0
  42. package/lib/certs/analyze.js +305 -0
  43. package/lib/certs/index.js +17 -0
  44. package/lib/certs/scan.js +67 -0
  45. package/lib/certs/sniff.js +29 -0
  46. package/lib/charts.js +493 -0
  47. package/lib/cli-groups.js +101 -0
  48. package/lib/cms-snapshot-warm.js +125 -0
  49. package/lib/codecs/binary/scan.js +71 -0
  50. package/lib/codecs/binary/sniff.js +37 -0
  51. package/lib/codecs/binary.codec.js +54 -0
  52. package/lib/codecs/codec.interface.js +30 -0
  53. package/lib/codecs/composer/parse.js +84 -0
  54. package/lib/codecs/composer/platform.js +187 -0
  55. package/lib/codecs/composer/registry.js +152 -0
  56. package/lib/codecs/composer.codec.js +155 -0
  57. package/lib/codecs/go/parse.js +117 -0
  58. package/lib/codecs/go/registry.js +93 -0
  59. package/lib/codecs/go.codec.js +101 -0
  60. package/lib/codecs/gradle/catalog.js +91 -0
  61. package/lib/codecs/gradle/parse.js +527 -0
  62. package/lib/codecs/gradle.codec.js +242 -0
  63. package/lib/codecs/index.js +112 -0
  64. package/lib/codecs/maven/jar-scan.js +350 -0
  65. package/lib/codecs/maven.codec.js +89 -0
  66. package/lib/codecs/npm/collect.js +353 -0
  67. package/lib/codecs/npm/parse.js +782 -0
  68. package/lib/codecs/npm/registry.js +237 -0
  69. package/lib/codecs/npm.codec.js +61 -0
  70. package/lib/codecs/nuget/parse.js +111 -0
  71. package/lib/codecs/nuget/registry.js +175 -0
  72. package/lib/codecs/nuget.codec.js +141 -0
  73. package/lib/codecs/pypi/parse.js +177 -0
  74. package/lib/codecs/pypi/registry.js +125 -0
  75. package/lib/codecs/pypi.codec.js +135 -0
  76. package/lib/codecs/recipes.js +197 -0
  77. package/lib/codecs/ruby/parse.js +42 -0
  78. package/lib/codecs/ruby/registry.js +91 -0
  79. package/lib/codecs/ruby.codec.js +72 -0
  80. package/lib/codecs/select.js +30 -0
  81. package/lib/codecs/yarn.codec.js +22 -0
  82. package/lib/commercial-support.js +97 -0
  83. package/lib/config.js +101 -0
  84. package/lib/core.js +457 -0
  85. package/lib/cpe.js +459 -0
  86. package/lib/csaf-export.js +181 -0
  87. package/lib/cve-download.js +456 -0
  88. package/lib/cve-match.js +490 -0
  89. package/lib/cve-report.js +3468 -0
  90. package/lib/dep-record.js +85 -0
  91. package/lib/deps-descriptor.js +192 -0
  92. package/lib/descriptor-refs.js +198 -0
  93. package/lib/diff.js +0 -0
  94. package/lib/dump-format.js +110 -0
  95. package/lib/embedded.js +57 -0
  96. package/lib/epss.js +116 -0
  97. package/lib/eu-refs.js +25 -0
  98. package/lib/euvd.js +125 -0
  99. package/lib/finding-summary.js +95 -0
  100. package/lib/gap-adjudicate.js +123 -0
  101. package/lib/gate.js +45 -0
  102. package/lib/gcve.js +34 -0
  103. package/lib/hash-id.js +86 -0
  104. package/lib/i18n.js +667 -0
  105. package/lib/json-export.js +191 -0
  106. package/lib/kev.js +89 -0
  107. package/lib/license-policy.js +112 -0
  108. package/lib/malware.js +100 -0
  109. package/lib/manifest-copy.js +75 -0
  110. package/lib/maven-bom.js +210 -0
  111. package/lib/maven-license.js +53 -0
  112. package/lib/maven-presence.js +85 -0
  113. package/lib/maven-reactor.js +329 -0
  114. package/lib/maven-repo.js +280 -0
  115. package/lib/maven-version.js +372 -0
  116. package/lib/merge-sources.js +120 -0
  117. package/lib/module-names.js +182 -0
  118. package/lib/nvd.js +406 -0
  119. package/lib/options-env.js +114 -0
  120. package/lib/osv-db.js +209 -0
  121. package/lib/osv.js +482 -0
  122. package/lib/outdated.js +705 -0
  123. package/lib/packagist-audit.js +447 -0
  124. package/lib/parallel-walk.js +50 -0
  125. package/lib/path-filter.js +137 -0
  126. package/lib/priority.js +95 -0
  127. package/lib/private-deps.js +84 -0
  128. package/lib/provenance.js +148 -0
  129. package/lib/providers/certfr.js +15 -0
  130. package/lib/providers/common.js +27 -0
  131. package/lib/providers/drupal.js +10 -0
  132. package/lib/providers/eol.js +9 -0
  133. package/lib/providers/epss.js +30 -0
  134. package/lib/providers/euvd.js +15 -0
  135. package/lib/providers/github.js +17 -0
  136. package/lib/providers/go.js +11 -0
  137. package/lib/providers/hashid.js +13 -0
  138. package/lib/providers/index.js +126 -0
  139. package/lib/providers/kev.js +7 -0
  140. package/lib/providers/maven.js +13 -0
  141. package/lib/providers/npm.js +13 -0
  142. package/lib/providers/nuget.js +14 -0
  143. package/lib/providers/nvd.js +22 -0
  144. package/lib/providers/osv.js +45 -0
  145. package/lib/providers/osvdb.js +7 -0
  146. package/lib/providers/packagist.js +38 -0
  147. package/lib/providers/pypi.js +9 -0
  148. package/lib/providers/retire.js +7 -0
  149. package/lib/providers/ruby.js +9 -0
  150. package/lib/providers/wordfence.js +7 -0
  151. package/lib/providers/wordpress.js +7 -0
  152. package/lib/proxy-cache.js +208 -0
  153. package/lib/purl.js +78 -0
  154. package/lib/registries.js +125 -0
  155. package/lib/report-integrity.js +52 -0
  156. package/lib/resource-cache/engine.js +519 -0
  157. package/lib/resource-cache/fs-store.js +233 -0
  158. package/lib/resource-cache/validate.js +161 -0
  159. package/lib/retire.js +516 -0
  160. package/lib/sarif-export.js +193 -0
  161. package/lib/sbom-export.js +183 -0
  162. package/lib/scan-completeness.js +85 -0
  163. package/lib/scan-coverage.js +61 -0
  164. package/lib/snyk.js +164 -0
  165. package/lib/source-health.js +271 -0
  166. package/lib/suppress.js +113 -0
  167. package/lib/transitive.js +544 -0
  168. package/lib/ui.js +151 -0
  169. package/lib/unmanaged.js +82 -0
  170. package/lib/xlsx-export.js +146 -0
  171. package/package.json +114 -4
  172. package/vigievuln.js +2359 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,987 @@
1
+ # Changelog — VigieVuln
2
+
3
+ ## [1.0.1] — 2026-10-26
4
+
5
+ - Regenerated the HTML sample reports, terminal demo and report screenshot with VigieVuln branding.
6
+ - Release binaries are now built and published automatically when a matching version tag is pushed.
7
+
8
+ ## [1.0.0] — 2026-10-25
9
+
10
+ - First VigieVuln release, continuing fad-checker 2.7.4 with the same audit capabilities.
11
+ - New package/command `vigievuln`, professional report branding and updated project links.
12
+ - Legacy CLI aliases, cache paths, credentials, findings/baseline/dump formats preserved.
13
+ - New configuration names with fallback to existing FAD settings.
14
+ - CLI and server now have separate Git repositories; only `vigievuln` CLI is prepared for npm publication.
15
+
16
+ ## Predecessor history — fad-checker
17
+
18
+ Versions below belong to fad-checker and are not VigieVuln releases.
19
+
20
+ # Changelog
21
+
22
+ All notable changes to `fad-checker` are documented here.
23
+ This project adheres to [Semantic Versioning](https://semver.org/).
24
+
25
+ ## [Unreleased]
26
+
27
+ ### Added
28
+ - European references for every matched CVE: the ENISA **EUVD** id and ENISA's exploited
29
+ flag (`lib/euvd.js` — the mapping dump + the exploited catalogue, bulk, 24h cache), the
30
+ **GCVE** id (`GCVE-0-…`, computed — the GCVE rules map every CVE to GNA 0) and the
31
+ **CERT-FR** advisories and alerts that cite it (`lib/certfr.js` — a local, incremental
32
+ CVE → advisory index; the first run reads ~18 000 advisories once, ~75 s). No CVE id of
33
+ the project is ever sent. Shown in the CVE detail panel (CERT-FR titles as written) and
34
+ carried by every export: findings JSON (`euvd`, `euvdExploited`, `euvdExploitedSince`,
35
+ `gcve`, `certfr`), CycloneDX `vulnerabilities[].references`, CSAF `references`, SARIF
36
+ `europeanReferences` + `enisa-exploited` tag. ENISA's exploited flag is reported, not
37
+ gated: the priority band and `--fail-on kev` stay on CISA KEV. `--no-euvd` / `--no-certfr`
38
+ (`-d euvd,certfr`); both are cached for `--offline` and travel in `--export-cache`.
39
+ - EOL chapter: each row is click-to-expand. The detail panel lists every descriptor
40
+ that declares the framework (or each component of a grouped framework) down to
41
+ `file:line` plus the declaration itself; a transitive finding shows every chain
42
+ and where the direct dependency to bump is declared (`lib/descriptor-refs.js`).
43
+ Grouped EOL `components[]` now carry `manifestPaths` / `scope` / `via` in the JSON.
44
+ - NVD mirror (`fkie-cad/nvd-json-data-feeds`, a daily git mirror of the NVD API 2.0: same
45
+ JSON, no key, no rate limit). Without an NVD API key it is read FIRST, in parallel; a CVE
46
+ it does not hold (not mirrored yet) or cannot serve goes to NVD, which must answer (full
47
+ retry schedule, the run stops otherwise). With a key NVD stays first and the mirror is its
48
+ fallback. A cached record past its TTL is served rather than dropped when no source
49
+ answers. `--no-nvd-mirror` (`-d nvd-mirror`) restores NVD-only.
50
+ - `--retries <n>`: number of retries (5+n s apart) before an unresponsive data source
51
+ stops the run. Default 5 (unchanged behaviour); `0` disables retrying.
52
+
53
+ - EOL and paid support: when endoflife.date lists commercial support past the open-source
54
+ end of life (`extendedSupport`, e.g. Broadcom for Spring), the EOL row states it — it
55
+ stays an EOL finding, since those fixes are paid builds from the vendor's repository. It
56
+ also gives the build of the dependency's OWN branch that fixes the CVEs found (from the
57
+ advisories' per-branch bounds: CVE-2024-38820 on 5.3.x → a build above 5.3.40, not the
58
+ 6.1.14 migration) and, with the vendor repository configured (`--add-repo maven … --token`),
59
+ the newest vendor build and whether it reaches that bound. A project already running a
60
+ vendor build (newer than the cycle's last public release and absent from Maven Central)
61
+ is not reported as EOL: a chapter-0 note says so. JSON: `extendedSupport`, `cycleLatest`,
62
+ `branchFix`, `latestCommercial`; every CVE match carries `cve.branchFix`.
63
+
64
+ ### Fixed
65
+ Reliability — every item below produced a false positive or a false negative; each is
66
+ checked against `mvn dependency:tree` / Maven's own `ComparableVersion` / the package
67
+ manager's documented semantics, and locked by a test.
68
+
69
+ - Maven version ordering now equals Maven's `ComparableVersion`: unknown qualifiers sort
70
+ AFTER the release (`32.0.0-jre > 32.0.0`, Jetty `9.4.11.v20180605 > 9.4.11`), a number
71
+ beats a qualifier, `1.0.1 > 1.0-1`, `1-rc < 1-rc1`, `1.0a1` = alpha-1. Guava's fixing
72
+ release was "affected" by the CVEs it fixes, Jetty's by its own. Verified on 9 816 real
73
+ version pairs (0 mismatch); 1 542 of them kept as a test oracle.
74
+ - Maven version ranges (`[1.0,2.0)`) are resolved to the highest published version inside
75
+ them (maven-metadata.xml) instead of being compared as a literal version, which matched
76
+ every upper-bounded CVE.
77
+ - Maven is now resolved MODULE BY MODULE (`lib/maven-reactor.js`): each module with its own
78
+ `<dependencyManagement>`, external parent, imported BOMs and property overrides; the scan set
79
+ is the union of what the modules really hold. The former global merged pass let one
80
+ project's pins re-version another project's dependencies (several projects under one scan
81
+ root) and kept a managed version a module overrides as a direct dependency. It replaces the
82
+ per-module overlay (`lib/version-overlay.js`, removed).
83
+ - A coordinate present only in `<dependencyManagement>` (a version pin) or an imported BOM
84
+ is no longer scanned as a dependency; it is kept only where a module really resolves it.
85
+ - Transitive resolution is deterministic and follows Maven's mediation: nearest wins, then
86
+ first declared (the result used to depend on network latency); the winner keeps its version
87
+ and a wider-scope path only widens its scope and its subtree's.
88
+ - `<exclusions>` (declared and managed) are applied; a dependency without `<scope>` takes the
89
+ managed scope, locally and in upstream POMs (junit/mockito managed `test` in a root pom,
90
+ logback managed `test` by a library's parent, no longer production); transitives of a
91
+ `provided` dependency are dev; import-BOM / parent managed versions pin transitives.
92
+ - Upstream POMs: a child redeclaring an inherited dependency overrides it; an explicit
93
+ managed entry beats an imported BOM and the first imported BOM wins;
94
+ `${project.parent.version}` resolves. An external parent's own `<dependencies>` are scanned;
95
+ an `<optional>` direct dependency is on its own module's classpath; an `activeByDefault`
96
+ profile's properties override the main `<properties>`.
97
+ - Maven transitive resolution no longer seeds npm/PyPI/… records as Maven roots
98
+ (`undefined:<name>` lookups sent to Maven Central and mirrors).
99
+ - Gradle: `constraints { }` entries and `force(...)` are version constraints, not direct
100
+ dependencies (a constraint is a floor, a force a pin); `exclude(...)` (per dependency and
101
+ per configuration) is applied; the widest scope wins whatever the declaration order;
102
+ `gradle.lockfile` entries are not re-walked as resolution roots; `-e` matches the groupId;
103
+ in a hybrid Maven + Gradle tree one build tool's record no longer overwrites the other's.
104
+ - yarn (v1 and Berry) and pnpm: dependencies are classified from the lockfile graph —
105
+ transitives are transitive (with their `via` chain), dev is dev only when reachable solely
106
+ through dev dependencies. Dev-only CVEs no longer trip `--fail-on`.
107
+ - npm aliases (`string-width-cjs` → `string-width`, `npm:` specifiers in package-lock v1/v3,
108
+ yarn, Berry, pnpm) are scanned under the REAL package name; CVEs of the real package were
109
+ never queried.
110
+
111
+ - Local OSV database (`--osv-db`): range events are evaluated in sorted order per the OSV
112
+ schema (unsorted events gave false positives and negatives), and `limit` events are honoured.
113
+ - Source merging is alias-symmetric: a GHSA-keyed finding and a CVE-keyed one carrying that
114
+ GHSA as an alias (or sharing any alias) are one finding, in either arrival order.
115
+ - Packagist advisories: the Composer constraint evaluator follows composer/semver — `^1.0`,
116
+ `~1.2`, `1.2.*`, `<2.0` exclude 2.0 pre-releases; `1.2.3-p1 > 1.2.3`; `< 3.4.6` (spaced
117
+ operators) parses; a `composer.lock` package at a pre-release/patch version is checked
118
+ instead of silently skipped.
119
+ - NuGet `packages.lock.json`: `CentralTransitive` entries are transitive, not direct; Direct in
120
+ any target framework / project wins; `Project` references are never scanned as packages.
121
+
122
+ ### Changed
123
+ - Relicensed from MIT to Apache-2.0 (`LICENSE`, `package.json`).
124
+
125
+ ### Security
126
+ - **`serve-cache` types every `/v1/resource` document before any lookup** (the whitelist
127
+ vigievuln applies, now `lib/resource-cache/validate.js`): an unknown provider/type, an
128
+ unknown field or header, a malformed identifier is a `400` and never reaches an upstream —
129
+ a `serve-cache` exposed on a network no longer forwards whatever a caller sends. OSV
130
+ queries are accepted in fad's flat form and in OSV's own `{ package, version }` form.
131
+ The Maven, NuGet and Go providers now encode every path segment of the upstream URL (a
132
+ `?`, `#` or `%2e%2e` in a client value can no longer reshape the upstream path or query).
133
+
134
+ ## [2.7.4] - 2026-10-20
135
+
136
+ ### Added
137
+ - Reproducible Docker integration check for the complete descriptor/cache transfer
138
+ cycle, with fresh offline containers, transitive findings, all report formats,
139
+ expired KEV evidence and zero attempted network calls.
140
+
141
+ ### Fixed
142
+ - Maven presence checks only classify a coordinate as absent when every configured
143
+ repository answers 404/410. Network/authentication errors, throttling, skipped
144
+ mirrors and partial preflight reachability remain unknown instead of poisoning
145
+ the cache with false "private package" verdicts.
146
+ - Legacy negative Maven presence entries are discarded automatically, including
147
+ after cache imports. New negative entries carry their own evidence, timestamp
148
+ and repository-scope fingerprint; positive legacy entries remain usable offline.
149
+ - `--import-anonymized` now warms Maven presence alongside the analysis caches.
150
+ - Registry-absence warnings no longer claim that packages are necessarily private
151
+ or excluded from CVE matching.
152
+ - OSV batch queries follow per-query pagination and validate complete responses and
153
+ advisory details before replacing cached package results. Failed/incomplete online
154
+ queries stop the scan instead of writing false clean results. Offline scans report
155
+ missing coverage; legacy empty entries must be re-warmed with this version.
156
+ - Anonymized descriptors filter Maven properties to version hints, exclude credential
157
+ properties and URL/path versions, and retain custom version properties referenced
158
+ locally. Documentation now explains that private coordinates require review.
159
+ - Offline registry/outdated checks preserve cache dates and never write fresh-looking
160
+ empty snapshots. Online cache-only reads no longer renew unchanged snapshots.
161
+ - Maven custom repositories retain Bearer tokens for both reachability and artifact
162
+ requests; Basic authentication remains supported.
163
+ - Offline KEV and binary identity lookups retain expired cached evidence without
164
+ network requests or timestamp changes. An expired KEV snapshot no longer silently
165
+ removes exploitation markers or bypasses `--fail-on kev`.
166
+ - Cache tar imports/exports pass archive data through file descriptors, so Windows
167
+ drive paths, spaces and non-ASCII paths are not interpreted as remote tar hosts.
168
+ - GitHub release notes select the current version's changelog section, falling back
169
+ to `Unreleased` only when no version-specific notes are available.
170
+
171
+ ## [2.7.0] - 2026-09-24
172
+
173
+ ### Fixed
174
+ - Preserve GitHub advisory pagination through shared and local caches; refetch old
175
+ cached pages without pagination metadata.
176
+ - Prevent abandoned batch reservations when an overlapping request encounters
177
+ upstream failure backoff.
178
+ - Route SPIP's NVD product query through the provider cache and server credentials.
179
+ Exclude non-vulnerable context CPEs and different product names; retain UNKNOWN
180
+ severity when NVD provides no score.
181
+ - Preserve CMS snapshot collection dates through cache reuse and check live
182
+ coverage against `--max-advisory-age`; fingerprint all GitHub advisory pages.
183
+ - Exclude generated CMS review reports from the npm package.
184
+
185
+ - Bound proxy transfers with deadlines, backpressure, concurrency limits and an
186
+ evicting metadata/body/spool quota; protect readers and clean orphaned files.
187
+ - Merge CMS snapshots by collection date and publish imported semantic cache
188
+ entries atomically, preserving the old entry if publication fails.
189
+ - Add `--wordfence-live` for scans and anonymized warming using server credentials.
190
+
191
+ ### Documentation
192
+ - Document the remaining dependency advisory coverage gate limitation.
193
+ - Update npm description and CMS/framework keywords; remove development plans,
194
+ reviews, handoffs and specifications from version control.
195
+ - Align CMS detection, SPIP warming, data-source and credential documentation with
196
+ implementation; use `npm ci` for contributor setup.
197
+
198
+ ### Added
199
+ - Optional Excel `.xlsx` export (`--report-xlsx [file]` or `-r xlsx`) with a summary and separate sheets for populated findings, inventory, application ownership, coverage, warnings, provenance and baseline diff. Numbers and booleans stay typed; advisory text is never interpreted as a formula. The workbook uses the same findings model as JSON and joins `SHA256SUMS` when enabled.
200
+ - **Same command, same options, same results online and air-gapped.** The 3-phase air-gap workflow now covers every CMS/framework lane with no extra flag: `fad-checker -s <proj>` online and `fad-checker -s <proj> --offline` in the enclave produce identical reports once phase 2 has run. Three pieces close the loop. (1) The anonymized descriptor (`fad-deps/1`) gains an `applications` section — public product identities only: application type, core version, and the inventoried **public** component identities (private components never leave; a module/theme is inventoried from its `.info.yml` without ever appearing in the lock). (2) `--import-anonymized` **warms every CMS advisory snapshot from the descriptor alone** (`lib/cms-snapshot-warm.js`): the Drupal feed for the union of the lock's `drupal/*` coordinates and the inventoried public identities — the exact set the live source queries —, the PrestaShop/TYPO3 repository feeds (coordinate prefix **or** declared application: an install's lock may hold none of the publisher's own packages), one WordPress checksums reference per declared core version (pinned by the warming run's `--wp-checksums-locale`), and the Wordfence catalogue when the warming machine holds an API key (the key itself never travels; the enclave reads the snapshot back without one). Each fetched snapshot is validated with its provider's schema before being written, so a shape change fails online instead of aborting the enclave. (3) The runner consumes those cached snapshots automatically **in every mode** — the lanes a scan runs are a function of the cache state, not of online/offline — with an explicit flag or live URL always winning, the fallback only engaging when the source's application plugin is selected, and the same schema/`--max-advisory-age` validation as an operator-supplied file. Auto-consumed snapshots report `completeness: "tool-fetched"` with the stamp's `sourceUrl`/`collectedAt` (`localSourceSnapshot` in `lib/application-plugins/wave2-common.js`); an explicit flag still reports `operator-declared`. Previously an offline phase-3 that skipped `--drupal-advisories`/`--wp-checksums` silently lost those lanes (measured: 84 vs 105 CVE on the CMS fixture), and a coordinate-only warming missed advisories of inventoried-but-not-locked modules (webform: 21 CVE). End-to-end on the fixture (Drupal 10.1.0 + WordPress 6.4.2, fresh offline Docker, pure 3-phase workflow, zero CMS flags): both scans report 105 CVEs, byte-identical findings and coverage — the only residual diffs are `generatedAt`, the runtime/mode provenance lines, and `fileModifiedAt` millisecond truncation from the tar transport. Wordfence without a key anywhere stays honestly `not-run`. Tests: `test/offline-snapshot-reuse.test.js`, `test/cms-snapshot-warm.test.js` (warming per source, union query set, keyless skip, loud failure, per-version checksums, Wordfence reuse without a key).
201
+ - **SPIP support** — the ninth CMS/framework instance view (`lib/application-plugins/spip.js`, auto-activated). Detection is conjunctive (`spip.php` + `ecrire/inc_version.php` with a readable `$spip_version_branche` — a bare `require "spip/spip"` never creates an application); inventory covers the core (observed version), the official `plugins-dist/` set (`paquet.xml`) and user plugins (`paquet.xml` or legacy `plugin.xml`), with private paths kept separate. The advisory lane is the one machine-readable SPIP source that exists: SPIP has no publisher API and no package ecosystem (`spip/spip` 404s on Packagist, no GHSA — hosted on git.spip.net, blog.spip.net publishes prose), so the core is assessed against **NVD's versioned product CPE** (`cpe:2.3:a:spip:spip`, 69 CVEs; `--spip-advisories[-live]`, optional NVD API key lifts the rate limit) using the same `matchVersionRange` primitive as the report's CPE cross-check; SPIP *plugins* have no advisory source anywhere and their rows say so honestly. Measured end-to-end on the official SPIP 4.4.24 release: a clean core reads `completed / no-match` (a stated result), a 4.1.2 core matches 10 CVEs (3 critical — CVE-2023-27372, CVE-2024-8517…). The full air-gapped loop works with no flag: the descriptor carries `{type: "spip", version}`, phase 2 warms the NVD snapshot, the offline phase 3 auto-consumes it with the same online-identical results. Tests: `test/application-spip.test.js` (conjunctive detection, paquet/plugin.xml inventory, NVD range assessment, per-plugin honesty, live/local/warmed reuse, unconfigured not-run).
202
+
203
+ ### Changed
204
+ - The report's four overview donuts render **20% taller** (`lib/charts.js`, donut radius 47 → 56.4; every vertical coordinate derives from the radius, so the card scales cleanly and the Word/PNG export follows through the viewBox).
205
+ - The report's application-findings chapter is titled **"CMS & Frameworks"** (French: "CMS & frameworks") instead of "Applications" — it covers CMS instances and frameworks alike, and the TOC/numbering follow. The XLSX sheet keeps its `Applications` name (it is the machine-readable inventory, not the chapter).
206
+ - **A detected CMS/framework keeps its chapter even at zero findings.** The "CMS & Frameworks" section now renders whenever an application was inventoried (or a finding references one — an orphaned exposure is never dropped): the instance synthesis — version, direct/indirect counts, worst priority, coverage lanes — always shows, with a "No application CVE on the inventoried instances" intro (French: "Aucune CVE applicative sur les instances inventoriées…"); only the Production/Dev CVE tables wait for findings. Previously a zero-finding instance left the chapter out entirely (2.6.0’s "populated subsections only") and the instance was visible only through the inventory & coverage chapter — measured on the regenerated corpus: Magento 2.4.7-p3 (1 application, 0 CVE) now shows "1.1 CMS & Frameworks (0)" with its synthesis.
207
+ - **Every CMS finding now carries its fix version, and component versions are visible wherever the finding is named.** The Wordfence and PrestaShop/TYPO3 lanes already set `fixVersion` from the publishers' patched releases; the two lanes that could not now derive it honestly: Drupal advisories publish an affected *range* with disjoint branches ("X || Y"), so the fix is the smallest exclusive upper bound above the observed version (measured: drupal:core 10.1.0 → fix 10.1.8 for CVE-2024-11941, 10.5.12/10.6.13 for the 2026 SA records) — a wildcard-only branch stays `—` rather than inventing a patch level; SPIP's NVD ranges carry `versionEndExcluding`, which IS the fix ("affected < 4.1.10" → 4.1.10). In the report, the per-instance group headers of the "CMS & Frameworks" chapter now carry the owning component's observed version ("core Drupal 10.1.0", "plugin Acme Internal Checkout 2.3.0 (private)") next to the counts, and the Fix Version column of every CVE table (already rendering for wordfence/prestashop/typo3 findings) now fills for drupal and spip too. The installed version was already shown in the Dependency column of every CVE table, the instance synthesis (core), the inventory & coverage chapter (per component) and the executive summary's fix line.
208
+ - **Framework coverage no longer implies a gap it cannot fill.** A Symfony or Laravel instance used to report `advisories: not-run (0/155 — CMS_ADVISORY_NOT_QUALIFIED)` — reading like the scan could have done more. It cannot: neither framework publishes a machine-readable advisory feed, and their inventoried components ARE Composer dependencies whose advisory evaluation is the report's own dependency lanes (OSV.dev, Packagist security-advisories, NVD). The coverage row now says exactly that: `advisories (dependency-lanes): completed (155/155)` — no fake "Evaluation incomplete" flag on a clean framework scan (a zero-finding instance reads "No matching advisory in the consulted data"). Joomla and Magento follow the same principle per component (see the next entry). The CMS-style publisher lanes (Wordfence, Drupal, PrestaShop, TYPO3) are unchanged.
209
+ - **Joomla/Magento advisory coverage is now per component, same principle as Symfony/Laravel.** `finishInventory` no longer emits one blanket `not-qualified` row: a component whose coordinate is a Composer dependency the report's dependency lanes actually scanned (lock pin or best-effort manifest) reads `advisories (dependency-lanes): completed`; private components keep their `internal-advisories` row; only a component with no advisory source anywhere — a source-only extension with no dep record — keeps the honest `CMS_ADVISORY_NOT_QUALIFIED`. Measured: the corpus Joomla 5.4.1 (a composer-installed tree) reads its ~100 locked components as dependency-lanes-covered with the core + file extension honestly not-qualified; a locked Magento site reads product and modules covered; the Magento source archive keeps its three not-qualified rows (nothing scanned the product coordinate — true, not a gap the tool could fill).
210
+ - **A Magento source distribution reports its exact product version.** The core version was read only from the composer.lock pin — a source archive ships no lock, so the report showed `— / CMS_VERSION_UNKNOWN` and a partial inventory (measured: the corpus Magento 2.4.7-p3 source read `inventory: partial (2/3)`). The root `composer.json` of a source distribution carries the exact product version (`"version": "2.4.7-p3"`): it is now read as observed evidence, the missing-lock alarm is not raised for a tree that is the product by construction, and the corpus line reads `Magento Open Source 2.4.7-p3, inventory: completed (3/3)`.
211
+
212
+ ## [2.6.0] - 2026-09-23
213
+
214
+ ### Fixed
215
+ - Report subsections now appear only when populated and are numbered from the sections actually present; the contents bar uses the same list. CMS/framework CVEs lead chapter 1 when found, while a zero-finding application remains in the scan-context inventory and coverage. Report files now preserve application ownership relations through the writer.
216
+
217
+ ### Added
218
+ - **Shared persistent proxy-cache server** (`fad-checker serve-cache`, `lib/proxy-cache.js`, scan-side `--proxy-cache <url>`): a long-running server that turns one machine into the cache point for every other instance — one upstream call per URL per TTL for the whole fleet, single-flight coalescing (10 concurrent identical lookups → one upstream call), stale-while-revalidate (`--no-swr` for a blocking refetch) and stale-if-error (a 403/429/5xx upstream serves the stale copy; a definitive 404 is mirrored as-is — that is how private packages are detected). The store persists in its **own root** (`~/.fad-checker-proxy-cache/`), deliberately outside the scan's `~/.fad-checker/` caches so `--export-cache`/`--import-cache` never bundle or swap the two together; only fad's public data sources are cached (private registries pass through uncached, credentials included, and never leave the scanning machine when a client uses `--proxy-cache`). Per-source TTLs mirror the client's (OSV 12h, NVD/endoflife.date 7d, rest 24h; `--ttl` overrides), bodies over `--max-body-mb` (default 32 MB — the CVE bulk zip is ~500 MB) stream through uncached, `GET /__stats` + `POST /__clear` manage the base, `--token` guards it when bound on `0.0.0.0`. **API keys are held by the server, not the instances**: `--nvd-key` / `--wordfence-key` / `--github-token` (flags > env > `--set-nvd-key` config) are injected upstream with each source's wire format, so a keyless instance shares the server's quota; without a server key the client's own credential is forwarded; a server key overrides a client's. **Corporate proxy support**: `--proxy <url>` on a scan and `--upstream-proxy <url>` on the server route all outbound requests through a forward proxy — Node only honours `HTTP(S)_PROXY` with `NODE_USE_ENV_PROXY` set at process start (verified: a mid-run `process.env` change is silently ignored), so fad re-execs itself with the environment applied; a `--proxy-cache` URL in the same command is added to `NO_PROXY` so local cache traffic stays out of the tunnel. Measured end-to-end on the npm fixture: a second instance with a cold local cache made 2 upstream calls instead of 16 (15 served from the shared base). Load-tested against deps.dev v3 (the source a future package-health lane would use): 200s at 440 req/s from one client, p50 ≈ 40 ms, zero 429s; the Scorecard lives behind `/v3/projects/{url-encoded projectKey}` (raw slashes 404).
219
+ - **A present CMS/framework is activated by the default `--app-plugins auto`** (user decision, 6e session, superseding the session-1 opt-in rule): any recognized layout is inventoried automatically, qualified or still experimental; `--app-plugins none` opts out and `all` remains an explicit synonym. This matches what the ecosystems' own tools do — `composer audit` audits the lock of the current directory, OSV-Scanner `scan -r .` sweeps every lockfile it finds, Trivy `fs .` auto-detects every language present, Snyk `test` auto-detects the project, `drush pm:security` bootstraps the site it is in; the single counter-example (WPScan's 2026 pull-back of automatic plugin enumeration) is a cloud-API quota economy whose detection of the CMS itself stayed automatic (comparison documented in `docs/COMPARISON.md`). fad's split carries the same logic without the constraint: local inventory is automatic, the networked advisory sources stay behind their explicit configuration and an unconfigured lane reports `not-run (CMS_PROVIDER_UNCONFIGURED)`, never a clean result. False positives were the acceptance question and were checked three ways: every plugin's detection is a conjunction of positive physical markers (WordPress `wp-load.php` + `wp-includes/version.php` + `wp-admin/index.php`; Symfony a kernel/front-controller marker *and* `symfony/framework-bundle` in that tree's lock; Laravel `artisan` + `bootstrap/app.php` + the framework requirement; Drupal the core `Drupal.php` + `core.services.yml` pair, or the literal 7.x `VERSION` define for Drupal 7; etc.), so a bare `require` constraint never creates an application; the real corpus (four wave-1 repositories + four publisher extracts) scans as exactly 8 applications with no phantom; and real bare PHP libraries (guzzle/guzzle, laravel/framework as a package, the symfony/symfony monorepo, composer/composer) scan with zero applications. The `CMS_PLUGIN_UNQUALIFIED` announcement diagnostic is gone with the gate it announced.
220
+ - **Publisher GitHub advisory lanes for PrestaShop and TYPO3** (`lib/application-providers/github-advisories.js`, `--prestashop-advisories[-live]`, `--typo3-advisories[-live]`): the machine-readable channel those publishers maintain themselves (verified 2026-09-23: 61 and 97 live advisories; joomla/joomla-cms and magento/magento2 have empty feeds — their bulletins stay HTML, those lanes stay `CMS_ADVISORY_NOT_QUALIFIED`). The whole repository feed is fetched once per scan (Link-header pagination, loud failure on runaway pages) and matched per inventoried composer coordinate. The publishers' range spellings are normalized in the lane only — the shared Packagist/Drupal evaluator is untouched: PrestaShop's "and" means two affected branches when every clause is an upper bound (`< 8.2.6 and < 9.1.1`, two patched versions) but one interval otherwise (`>= 8.0.0 and < 8.1.1`); TYPO3's comma-joined hyphen intervals (`13.0.0-13.4.33, 14.0.0-14.3.5`) are alternative branches — with Composer's AND they describe an empty set and every real advisory silently became a false negative. The ~30 2020-era PrestaShop records whose `package` identity is empty in the official feed are attributed to the PrestaShop core coordinate (documented inference; records without a fallback surface as one `CMS_ADVISORY_UNATTRIBUTABLE` diagnostic, never as silence), and their lossy unbounded ranges ("> 1.7.0.0") are decided through their `patched_versions` bound: a version at or above the publisher's patched release is fixed — PrestaShop 8.2.1 finds its 10 real advisories (fixes 8.2.3–8.2.8) and none of the 2020 false positives; 8.2.8 finds none. Real-feed assertions are gated behind `FAD_REAL_INSTANCES=1 node --test test/wave2-real-instances.test.js`.
221
+ - **WordPress core file-integrity capability** (`lib/application-providers/wp-checksums.js`, `--wp-checksums <file>`, `--wp-checksums-live [url]`, `--wp-checksums-locale <locale>`): compares the WordPress core files of every inventoried instance against the official api.wordpress.org checksums reference pinned to the observed core version and locale. Modified, missing-from-the-tree and extra files are three different results, all **diagnostics, never CVE findings**: `CMS_FILE_MODIFIED` (differs from the official distribution), `CMS_FILE_MISSING` (a source checkout is not the distribution archive — the four default akismet files ship only in the tarball — so this does not flip the verdict), `CMS_FILE_EXTRA` (an unexpected file inside `wp-admin/`/`wp-includes/`, the controlled perimeter; `wp-content/` is user land and never flagged). Verdict `affected` only on modified or unexpected core-directory files; a reference pinned to another version (`CMS_CHECKSUMS_REFERENCE_MISMATCH`) produces no verdict rather than fake divergences; per-code diagnostic lists are capped with an honest truncation notice. Measured on the real WordPress/WordPress 6.4.2 git tree: 2960/2960 reference files conforming (`completed / no-match`), and one appended comment in `wp-load.php` flips to `affected` naming the file — both asserted in the gated real-instance suite.
222
+ - **Application-provider findings now merge through the alias-aware source seam** (`mergeBySource`): a publisher constat the standard Composer lane already found — measured on the official TYPO3 v13.4.2 extract, where the Composer lane reads the exact pin `typo3/cms-core: 13.4.2` in `typo3/sysext/seo/composer.json` while the publisher lane reads the observed core marker — becomes ONE finding with the union of its sources (`github-typo3-advisories+nvd+osv+packagist`) instead of two duplicates; the publisher's fix version travels with the merge and application attribution is rebuilt from the physical occurrence. Findings the standard lanes cannot see (Drupal core, the WordPress catalogue) pass through intact. The source-label union is now over source tokens, so absorbing a second Packagist constat renders `osv+packagist`, not `osv+packagist+packagist`.
223
+ - The gated real-instance suite now also drives `--wp-checksums-live` on the real WordPress tree (pristine conforming + tampered affected, restored afterwards), and a new gated wave-2 suite downloads the official PrestaShop 8.2.1 and TYPO3 v13.4.2 release archives, reduces them to the documented marker files, and asserts the live publisher feeds end to end (GHSA-xrwj-pq6w-f8m4 fixed 8.2.8 and CVE-2026-44212 fixed 8.2.6 present on 8.2.1 with completed/affected coverage; no 2020 false positive; CVE-2026-19418 within `13.0.0-13.4.33` on 13.4.2 with fix 13.4.34; `typo3/cms-seo` an honest `no-match`).
224
+ - Experimental Joomla, PrestaShop, TYPO3 and Magento/Adobe Commerce application inventories, explicitly selected through `--app-plugins`. They use static, bounded reads of publisher-defined manifests and the Composer lock; report unknown versions, missing locks and unqualified application advisory coverage instead of inventing clean results. Magento retains the exact product `-pN` version and edition from the lock.
225
+ - **Packagist security-advisories lane for Composer** (`lib/packagist-audit.js`, default-on, `-d packagist-audit` to disable): queries the endpoint `composer audit` itself queries, then evaluates the official constraints per locked version. Found by benchmarking the real-instance corpus against `composer audit` 2.10.3 (2026-09-23): OSV carries twig/twig CVE-2026-46636 + CVE-2026-46627 and knplabs/knp-snappy CVE-2026-46643 only as CVEProject entries with GIT/CPE ranges and no composer coordinates, so a package+version OSV query can never return them — fad reported 3 fewer advisories than the official tool on drupal 8.5.0, symfony-demo v2.6.0 and BookStack v24.10. After the lane: exact parity on all three trees (68/68, 62/62, 64 unique of audit's 65 — its 65th is its own duplicate of GHSA-5vg9-5847-vvmq), zero duplicate findings. The evaluator covers the Packagist constraint grammar (`|`/`||` branches, AND by comma/space, `^` `~`, `X.Y.*` wildcards, partial versions, hyphen ranges; an unparsable token is `null` — undecidable, never a guess). Only package NAMES travel to packagist.org, exactly like the existing registry pass; under `--offline` the lane reads the warm per-package cache (`~/.fad-checker/packagist-advisories/`, 24 h TTL online, age ignored offline like OSV/NVD) and makes zero network calls — locked by tests.
226
+ - **Alias-aware source merging** (`lib/merge-sources.js`, extracted from `fad-checker.js` to be unit-testable): the same advisory can arrive keyed by its CVE from one source (OSV prefers the CVE alias) and by its GHSA remoteId from another (Packagist records with no `cve` field — league/commonmark GHSA-8rr7/jjv6/j8pm/c2pc on the real corpus). The merge now resolves collisions through `aliases` + `ghsa` instead of emitting the advisory twice; the existing finding keeps its primary id, severities prefer non-UNKNOWN, and the merged aliases are the union.
227
+ - Drupal advisory constraints with the API's `X.Y.*` wildcard branches (`11.2.*`, `11.0.*`, seen on SA-CORE-2026-010/011/012) are now **decided** — a version outside the branch is `no-match` — instead of sinking the whole advisory into `CMS_CONSTRAINT_UNSUPPORTED`. The live scan of the real drupal/drupal 8.5.0 tree moved from `partial / indeterminate` coverage with a constraint diagnostic to `completed / affected`; the wildcard grammar is asserted against the official API's real published constraints.
228
+ - The gated real-instance suite now drives `--drupal-advisories-live` and asserts the **full official record** for drupal/core 8.5.0 (15 advisories as of 2026-09-23, incl. the CVE-less SA-CORE-2023-* wave keyed by advisory id) — the offline corpus's 1-advisory operator snapshot can no longer pass as the authoritative coverage. The reduced WordPress fixture now contains only CVE-2024-31210 for 6.4.2; the vendor fixed CVE-2024-31211 in 6.4.2, and the test asserts its absence. The fixture is not a completeness check for the full Wordfence feed.
229
+ - Experimental application inventory for Symfony, WordPress (classic and Bedrock), Drupal (Composer and Drupal 7), and Laravel, with explicit `--app-plugins` selection, private component paths, coverage records, and Composer CVEs attributed to their physical copies and owners. HTML/Word, JSON, SARIF, SBOM, CSAF, and baseline diff carry occurrence context. Local Wordfence v3 and Drupal Composer advisory snapshots assess eligible public components; private extensions and unqueried packages retain incomplete coverage.
230
+ - `--max-advisory-age <duration>` bounds the age of configured advisory snapshots; the collection date must be declared inside the snapshot file (top-level `collectedAt`/`generatedAt`, or the reserved `_fadSnapshot.collectedAt` key tolerated by the Wordfence v3 feed). Undeclared, malformed or stale snapshots exit `2` before any report. A declared date also enriches coverage provenance (`sourceSnapshot.collectedAt`).
231
+ - Live advisory sources: `--drupal-advisories-live` queries the official packages.drupal.org security-advisories API for the inventoried public `drupal/*` packages (private components are never sent); `WORDFENCE_API_KEY` or `--wordfence-api-key` authenticates the official Wordfence v3 production feed; `--wordfence-feed-url` can override the endpoint. Fetched snapshots are stamped with their collection date, validated with the same schema as local files, and cached atomically under `~/.fad-checker/advisory-snapshots/`. Both refuse `--offline`, still require their `--app-plugins` selection, and fail the scan (exit `2`) on an unusable response.
232
+ - The application CVE section opens with an instance synthesis: one row per application instance — CMS, path, observed core version, direct/indirect/unknown-origin counts, worst priority, per-capability coverage and an explicit note for instances without findings ("no matching advisory in the consulted data" vs "evaluation incomplete"). Instances without any finding remain listed in the scan-context inventory and coverage. Full French translation included.
233
+ - Fix: a Drupal 8+ tree was misread as an extra, phantom Drupal 7 application — Drupal 8 ships `core/includes/bootstrap.inc` and `core/modules/system/system.module` too. Drupal 7 discovery now requires the 7.x `VERSION` define in `bootstrap.inc` as positive content evidence (found by scanning the real drupal/drupal 8.5.0 repository).
234
+ - Opt-in real-instance integration tests (`test/real-instances.test.js`, `FAD_REAL_INSTANCES=1`): clone WordPress/WordPress 6.4.2 (CVE-2024-31210), drupal/drupal 8.5.0 (SA-CORE-2018-002 — a lockless source tree must stay unproven, never acquitted), symfony/symfony-demo v2.6.0 (http-foundation v7.1.1, CVE-2024-50345) and BookStack v24.10 (laravel/framework 10.48.22, CVE-2024-52301), and verify detection, inventory, honest coverage and CVE attribution on the real trees.
235
+ - Drupal core version now corroborates the on-disk `core/lib/Drupal.php` `VERSION` marker: with no composer.lock (a git clone is a source tree), the observed version carries `versionStatus: "observed"` with its file evidence and real advisories are assessed instead of dead-ending at `CMS_VERSION_UNKNOWN`. A divergence between the lock and the marker keeps the lock as the installed-version authority and reports `CMS_VERSION_CONFLICT` with both values, marking the inventory coverage partial. Found by reviewing the report of the real drupal/drupal 8.5.0 scan.
236
+ - Instance-synthesis readability: the observed-version column falls back to the framework component for Symfony/Laravel instances (which have no core), and the coverage cell names the source lane (`advisories (wordfence-v3): completed`, `advisories (application-advisories): not-run (CMS_ADVISORY_NOT_QUALIFIED)`) so a completed standard SCA is never read as "nothing was checked". The gated real-instance suite now also runs a live OSV scan asserting CVE-2024-50345 and CVE-2024-52301 on the real trees.
237
+ - Drupal application discovery requires positive content evidence: standalone component scans validate `.info.yml` types and legacy `.info` name fields instead of trusting file names, announce `CMS_INFO_INVALID` for false markers, and a component scan that recognizes nothing is announced (`CMS_COMPONENT_NOT_RECOGNIZED`). Submodules of a distributed project inherit its advisory identity as `probable` with `parentComponentId`.
238
+ - Symfony Flex `symfony.lock` recipe context and extraction mirroring; Composer lock versions remain authoritative.
239
+ - `-t/--target` refuses a non-empty directory without `--force`, and always refuses source overlap and symlink targets.
240
+ - **`--lang en|fr`: the HTML/Word report in French — the whole report.** Not just the
241
+ headings: chapter titles and the counts inside them, every table header, the scope chips
242
+ and the "defined in / version managed by / pulled in via" footers, the CVE detail panel
243
+ down to its reference categories, every chapter's intro paragraph, every status pill
244
+ (`intact`, `devrait être géré`, `nom≠empreinte`, `🔑 CLÉ PRIVÉE`, …), the scan-warning
245
+ headings, the licence categories, the eight methodology limitations, the per-ecosystem fix
246
+ recipes, the empty states, the executive summary on screen AND the one the 📋 button
247
+ pastes into Word — plus the 189 CWE titles it ships. The `<html>` element now declares its
248
+ language, so Word and screen readers hyphenate and spell-check in the right one.
249
+ Text that comes from a data source is deliberately NOT translated: a CVE description, an
250
+ advisory summary or a registry deprecation reason is evidence, and paraphrasing evidence in
251
+ an audit report is wrong. By the same rule a CVSS severity stays in NVD's own vocabulary
252
+ wherever it is a finding's value — the badge, the priority band — while the labels around
253
+ it are French. MITRE publishes CWE in English only, so the French titles are fad's own and
254
+ MITRE's original travels with every one of them (tooltip in HTML, parentheses in the
255
+ `.doc`) — otherwise a reader could not find on cwe.mitre.org what the report just told
256
+ them. A translation may carry both plural forms, picked by the count, because French
257
+ inflects where English does not ("1 obsolète", not "1 obsolètes"). English is unchanged,
258
+ byte for byte, by construction: the English string is the translation key — and the suite
259
+ now checks the catalogue and the source agree in both directions, so a new string cannot
260
+ ship untranslated and a retired one cannot linger as dead weight for a translator to read.
261
+ - **A data source that goes dark now stops the run instead of quietly shrinking the report.**
262
+ Online, a lookup that gets no usable answer is retried 5 times waiting 5+n seconds (6 → 10),
263
+ each attempt logged; the schedule is shared per source, so a dead host costs one schedule and
264
+ not one per dependency. If it never comes back the run stops **before writing anything** and
265
+ prints the domain, the HTTP/transport codes, the first failing URL and the flag that disables
266
+ that source, exiting **2** — distinct from the `1` that `--fail-on` uses, so CI can tell
267
+ "vulnerabilities found" from "this scan is not trustworthy". A source whose warm cache covered
268
+ every lookup stays completely silent: no request was issued, so there is no hole. A definitive
269
+ 404/410 is an answer, not an outage — it is how private packages are detected. `--offline`
270
+ never aborts. New `--no-eol` so endoflife.date, which had no opt-out, has one to suggest.
271
+ - **A bare `fad-checker` answers instead of erroring.** Typing the name alone is a question —
272
+ what is this, which version do I have, how do I run it — and "required option '-s, --src'
273
+ not specified" answered none of it. It now prints a mini help: the banner with the running
274
+ version, the ecosystems covered, and three real invocations (full report, `--offline`,
275
+ `--fail-on` gate). Exit stays non-zero: nothing was scanned, so it must not read as a clean
276
+ run to a job that mis-invoked it. `--help` gained the same version header, for the same
277
+ reason a report carries one — someone reporting a bug should not have to hunt for it.
278
+ - **The report links back to the project.** The `fad-checker <version>` line in the HTML /
279
+ `.doc` report header is now a link to the repository. A report is a hand-over artifact:
280
+ someone who receives only the file has to be able to find the tool that produced it — its
281
+ version, its docs, its issue tracker — without asking whoever ran the scan.
282
+
283
+ ### Changed
284
+ - **Table headers wrap at spaces, never mid-word** (`thead th { word-break: normal }`). The shared `th, td` rule's `word-break: break-word` let a table's intrinsic-sizing calculation crush a column to a few characters, so a two-word header ("Version corrigée") wrapped to SEVEN lines — measured with a layout engine at a 173px header row, taller than every data row, on the regenerated drupal corpus report; the same mechanism had the vendored-JS header at 185px. Headers are now bounded by their word count and the row stays minimal (29px, one line, on every table of the real corpus reports).
285
+ - **The second application donut reads "Indirect CVEs per direct dependency"** (FR « CVE indirectes par dépendance directe », renamed from "per introducing component" at review): the grouping is unchanged — indirect CVEs counted under the direct dependency that introduces them, which is also the thing to bump — but the title now says what the reader is looking at.
286
+ - **The vendored-JS vulnerability chapter is one row per physical library, not per advisory.** A vendored file usually carries several advisories (jQuery 1.8.3 alone has two CVEs) and the old flat table made one physical library read as many findings. Each library row now carries the two cells an operator scans first — the linked CVE identifiers (NVD for CVEs; a CVE-less identifier links to the advisory's own source URL, never to a page that cannot know it) and the CWEs when known — plus the advisory count; clicking the row expands a nested sub-table with every advisory (severity, identifier, fix version, summary), using the same cve-row/detail-row interaction as chapter 1 so the toggle needs no new script. The `.doc` variant force-opens every sub-table — Word cannot click. Retire.js itself carries no CWE data, so vendored-JS findings now join the same NVD enrichment as the composer/npm findings (per-CVE cache, only CVE-shaped ids queried), which also upgrades retire's one-line summary to NVD's canonical description. Found while reworking the chapter: the identifier LIST cell must not reuse `td.cve` — its blanket nowrap put a 20-advisory library on one 4280px line (retire's CVE-less advisories fall back to prose sentences), blowing the table out to 7× its container; the list is its own class, each real identifier stays unbreakable, and a prose fallback wraps like the text it is.
287
+ - Removed the `php-runtime-undetermined` chapter-0 note and its French wording: a deployed
288
+ PHP runtime is not a manifest property, the note fired on virtually every source tree
289
+ (23 of them on the real drupal/drupal scan alone) and drowned the actionable warnings.
290
+ The PHP runtime verdict is unchanged: a finding is still emitted when a declared
291
+ constraint proves an EOL runtime; an undeterminable runtime is simply silent now.
292
+ - **BREAKING-ish — `--help` is one screen: the long tail folds into `-d` / `-a` / `-r`.** It
293
+ had reached 176 lines and eighty options, thirty-six of which were a `--no-<something>` or
294
+ an opt-in switch. Now `-d eol,nvd` turns things off, `-a licenses,snyk` turns on what is off
295
+ by default, `-r html,json` picks the outputs and `-o` is the output directory. The folded
296
+ flags **still work** — they are hidden from the help, not removed, so no existing script
297
+ breaks — and `--help-all` prints them. The cache, registry and configuration commands are
298
+ hidden the same way: they manage the tool, not a scan. An unknown token is a hard error, not
299
+ a silent no-op, because a dropped `-d nvd` would produce a report claiming coverage the run
300
+ never had.
301
+ - **Default outputs are now HTML + `findings.json`, not HTML + `.doc`.** The JSON means the
302
+ next run has something to `--baseline` against without anyone having to remember a flag.
303
+ `--report-doc` still writes the Word file for those who want it.
304
+ - **The pinned chapter bar is one row of equal, centred cells**, and chapter 3 is now
305
+ **Maintenance / EOL**. Sub-chapters used to sit inline behind a `›`, so a full report listed
306
+ sixteen links and the sticky bar wrapped onto two rows — a third of the viewport, on every
307
+ scroll. Each chapter that has sub-chapters now reveals them on hover or keyboard focus,
308
+ using CSS only: a nav that needs JavaScript to open is a nav that silently stops working in
309
+ a report someone opens from a mail attachment. The bar is also divided into equal cells now, one per chapter and centred in it, so its shape no longer depends on how many findings the report happens to contain.
310
+ - **The merged priority cell reads as four labelled lines**, and the CVE table's widths were
311
+ rebalanced around it: band + KEV, severity + CVSS score, then `EPSS: 100%` and
312
+ `Published: 2021-12-10`. The last two are labelled because neither a bare percentage nor a
313
+ bare date has a column header of its own any more. Four short lines need less width than
314
+ three long ones, so Priority/severity gives 15% back, Fix Version and Source 10% each,
315
+ Dependency takes a little more, and every point freed goes to Description — the only column
316
+ whose content is prose.
317
+ - **A finding now says which MODULE ships it, not which file declares it.** The "defined in"
318
+ footer showed up to three descriptor paths; it now shows up to two module names —
319
+ `dubbo-dependencies-zookeeper` rather than
320
+ `dubbo-dependencies/dubbo-dependencies-zookeeper/pom.xml` — with the path kept as the
321
+ tooltip. Names are read per ecosystem: Maven artifactId (with the `<parent>` block stripped
322
+ first), package.json / composer.json name, go module, pyproject name, .NET AssemblyName /
323
+ PackageId / file name, Gradle `rootProject.name` or the directory, and a Ruby `.gemspec`
324
+ beside a `Gemfile.lock`. `requirements*.txt` and `Pipfile` genuinely name nothing and keep
325
+ falling back to the path rather than having a name invented from their directory. That cell
326
+ was also what made the Dependency column wide, so its width went to Description.
327
+ - **The report no longer scrolls sideways, and the CVE table lost three columns.** A table's
328
+ minimum width is set by its longest unbreakable token — a Maven coordinate is one — and
329
+ chapter 1's nesting removes ~30px per level, so the document ran 495px wider than the
330
+ viewport. Long tokens now break (only in the columns that hold them: a CVE id or a severity
331
+ badge is never chopped mid-word), any residue scrolls inside the table instead of the page,
332
+ and the inset flattens past the second level. Measured at 0px overflow from 768px to 1600px.
333
+ Priority, Severity and Published are merged into one three-line cell — band + KEV, severity +
334
+ CVSS, then EPSS + date — which returns their width to Description and Dependency. Both Word
335
+ paths were updated with it: the `.doc` stylesheet and the clipboard's inline-style pass.
336
+ - **Overview chart 3 is now "Most vulnerable components".** It ranks the scanned project's
337
+ OWN modules — Maven artifactId, package.json / composer.json name, go module, pyproject
338
+ name, else the path relative to `--src` — by their count of **critical + high** production
339
+ CVEs, so the reader learns which module to open first. It replaces "Direct vs transitive",
340
+ which said where risk sits in the dependency graph but never which part of *your* tree
341
+ carries it. A finding declared in several modules counts in each, because each one ships
342
+ it. On a scan with a single descriptor there is nothing to rank, so that slot keeps the
343
+ direct-vs-transitive donut unchanged. Module names come from the descriptors the codecs
344
+ already parsed; a pom's `<parent>` block is stripped before reading its artifactId, or
345
+ every module of a Spring Boot reactor would be labelled `spring-boot-starter-parent`.
346
+ - **BREAKING — `-v` is now `--version`, not `--verbose`.** Verbose keeps its long form only.
347
+ A script running `fad-checker -s . -v` for verbose output will now **print the version and
348
+ exit 0 without scanning**, which reads as a pass: grep your CI for `-v` and use `--verbose`.
349
+ `-V` still works (it was the version flag), aliased before parse because commander permits
350
+ one short flag per option. `docs/USAGE.md` and the bash completion were updated with it.
351
+ - **`--import-cache` now MERGES instead of replacing the cache.** It moved the whole
352
+ `~/.fad-checker/` aside as `.fad-checker.bak-<timestamp>` (or deleted it with `--force`)
353
+ and unpacked the archive in its place, so an enclave that was already warm lost every
354
+ cache entry the archive didn't happen to carry — and `--offline` on the resulting cold
355
+ cache reports **0 CVE / 0 EOL / 0 outdated**, which reads exactly like a clean project.
356
+ Worse, `--export-cache` deliberately never bundles `config.json`, so replacing the
357
+ directory also wiped the target's **NVD key and private registry credentials**, silently.
358
+ And each import left a full copy of the cache in `$HOME` (123 MB on a real one), never
359
+ cleaned up — a weekly sneakernet refresh grew to gigabytes.
360
+ The import now reconciles the two sides, per cache family:
361
+ per-key file caches (`osv-cache/`, `nvd-cache/`, `poms-cache/`, `retire-cache/`,
362
+ `retire-signatures/`, `osv-db/`) union file by file; `entries{}` maps (`version-`,
363
+ `maven-exists-`, `npm-registry-`, `eol-`, `epss-`, `packagist-`, `pypi-`, `nuget-`,
364
+ `go-proxy-`, `rubygems-`, `hash-id-cache.json`) union key by key, the fresher side winning
365
+ a collision and the merged map stamped with the **older** of the two `fetchedAt` (a union is
366
+ only as fresh as its stalest half — antedating it would let a TTL check treat stale entries
367
+ as just-fetched); whole-corpus snapshots (`kev-cache.json`) and the atomic `cve-data/`
368
+ (index + `meta.json` must describe the same build) take the freshest side as a block.
369
+ `config.json` is never touched. A stale archive can no longer roll a fresher enclave back.
370
+ `--replace` restores the old wholesale swap (with the `.bak`), `--force` still means
371
+ "replace, no backup". Locked by `test/cache-archive-merge.test.js`.
372
+
373
+ - **`-t <dir>` is now an extraction step, not a scan.** It walks the tree, links the reactor
374
+ modules, writes the cleaned POM tree + mirrored manifests, prints the Maven POM analysis
375
+ (missing parents / private libs) and **stops**. Before, every `-t` run also went through the
376
+ full CVE/EOL/outdated pass and wrote a report nobody asked for — minutes of "hang" on a
377
+ large reactor, offline or not, for a step whose only job is to produce that tree. The
378
+ scan still runs when something explicitly consumes it: `--snyk`, any `--report-<type>`,
379
+ `--fail-on` / `--fail-on-new`, `--baseline`. A read-only run (no `-t`) is unchanged.
380
+
381
+ ### Fixed
382
+ - Composer's no-lock fallback no longer treats `4.4.*` or `1.0.x-dev` as an installed version. Packagist audit and public package metadata lookups skip known `repo.magento.com` packages instead of asking a different registry for an answer; the advisory scan reports the skipped scope. The progress total includes the PHP runtime phase.
383
+ - Corrected the WordPress 6.4.2 test feed: CVE-2024-31211 was already fixed in that version, and CVE-2024-31210 now uses the vendor's 7.6 CVSS vector. Wordfence live scans accept a bearer key via `WORDFENCE_API_KEY` or `--wordfence-api-key` and warn when the key or advisory source is missing.
384
+ - Packagist audit now rejects omitted packages, malformed responses and HTTP errors instead of treating them as clean; invalid legacy empty cache entries are revalidated. Composer caret and hyphen constraints follow the documented bounds, and `sources[].remoteId` participates in advisory deduplication.
385
+ - Drupal rejects an empty advisory array. Application sections keep distinct shared owner sets, and application charts use readable bars for overlapping categories.
386
+ - Removed a duplicated `validateSnapshot` declaration in `lib/application-providers/drupal-advisories.js` (the second, byte-identical copy silently shadowed the first; no behaviour change — dead code found during the official-tool comparison review).
387
+ - **Report reliability pass over the CMS/framework application layer** (driven by red tests on the observed defects, re-verified on the real WordPress/Drupal/Symfony/BookStack corpus):
388
+ - The Drupal live source now queries the union of every instance's public packages: a second instance whose module was not part of the first query is fetched before its evaluation and merged — only responses actually obtained are merged, the disk snapshot holds the exact queried union with matching provenance, and the outcome no longer depends on discovery order (`CMS_PACKAGE_NOT_QUERIED` disappears). A required query that fails still exits `2` before any report.
389
+ - A locally configured advisory source (`--wordfence-feed`, `--drupal-advisories`) is validated once before discovery — readability, size, JSON, provider schema, and freshness when `--max-advisory-age` is set — and the parsed snapshot is reused during assessment. An unusable source fails with exit `2` and no report even when no instance would have reached the file; a valid one is accepted with no matching instance.
390
+ - The instance synthesis aggregates coverage per capability AND provider: a lane with any `failed`/`partial`/`not-run` check never reads `completed`, shows `executed/expected`, the number of unassessed components and the diagnostic counts, and an instance with a finding still carries the "evaluation incomplete" note when its lanes are incomplete (WordPress 6.4.2: 1 core assessed, 14 themes not — the lane reads partial, not completed).
391
+ - Coverage is actionable and translated: every 6.4 coverage row names the component it is about (kind, name, path, occurrence id); chapter 0 groups identical coverage gaps into one navigable block per cause (application, capability, source, diagnostic) with count, expected action and the affected component list, instead of 14 identical raw messages; capability, lane, execution and result labels are translated in the French report while `CMS_*` codes and `sourceId` stay stable in JSON.
392
+ - Section numbering: "Direct deps to update" is 5.1 under section 5 — the orphan "7.0" numbering is gone, and its French label is "Dépendances directes à mettre à jour".
393
+ - Chapter 0 groups per-manifest warnings: `no-lockfile` and `parse-error` blocks collapse into one navigable block per type, each manifest listed with its own pinned/skipped detail; the JSON keeps one entry per manifest. On the real drupal/drupal scan the ~20 near-identical best-effort blocks become one, and the intentionally broken `HtaccessTest` fixture stays a scoped two-file parse limit that never leaks components or findings into the inventory.
394
+ - Application direct/indirect follows the plan's §6.3 rule: only advisory-targetable kinds (core, framework, framework-component, bundle, module, theme, profile, plugin, mu-plugin, drop-in) root a require walk or hold a direct self-relation; a lock `library` never self-attributes. Packages installed by the application's own root manifest and claimed by nothing else are attributed to its primary core/framework (indirect, proof `root-manifest`) — the drupal/drupal layout where the root `replace`s `drupal/core` no longer yields 60 unknown-origin findings. Real corpus after correction: 28 direct / 162 indirect / 1 unknown (was 131 / 0 / 60); the core, `symfony/http-foundation` (in symfony-demo) and `laravel/framework` CVEs stay direct, the same http-foundation under Drupal core and Laravel framework reads indirect.
395
+ - A shared physical occurrence is detailed in EVERY exposed instance section with its own origins per instance (`applicationExposures` in JSON), a "also exposed in" reference in each, while global counters stay a union of findings; the instance synthesis counts direct/indirect per instance too.
396
+ - Overview charts on application scans announce the application axis: the CWE donut carries the DIRECT application findings only (core/framework/components/extensions — the CMS/framework versions' own vulns), the second donut groups the indirect CVEs by their INTRODUCING component (core Drupal, laravel/framework, plugins, themes…, unattributed ones kept as a count, never invented), and a third ranks the exposed instances (critical/high per instance, shared occurrences counted in each) with the distinct-finding count in the donut center and the advisories-coverage gaps in its note — overlapping exposures are never presented as exclusive donut parts. Filling the CWE donut requires the NVD enrichment lane (the CWE source); the final review reports are regenerated with NVD/EPSS/KEV active. SARIF, SBOM (`fad:finding` = `findingId=relation`), CSAF (one affected product per physical occurrence) and the occurrence-aware diff keep the same identities, and a finding whose advisory coverage went incomplete is reclassified unassessed, never "resolved".
397
+ - **The one French block in an otherwise English terminal.** The "a data source went dark"
398
+ abort — and the retry lines leading up to it — printed in French whatever `--lang` said,
399
+ so the operator who most needs to read it, the one whose run just refused to write a
400
+ report, got it in a language the rest of the output never used. Now English, like every
401
+ other line the tool prints. `--lang` deliberately does not reach it: that flag picks the
402
+ language of the **report**, which goes to a client, while this is a diagnostic for
403
+ whoever launched the scan.
404
+ - **The compiled binary asked for Node.js to scan vendored JavaScript.** The launcher looked
405
+ for `node_modules/.bin/retire` before checking whether it was itself the compiled binary,
406
+ and it resolved that path from `__dirname` — which in a bun-compiled binary still points at
407
+ the directory it was BUILT in. Wherever that path also exists at run time (the machine that
408
+ built it, a mounted or shared checkout) the binary ran a `#!/usr/bin/env node` script and
409
+ died with `env: 'node': No such file or directory` with Node absent, losing the whole
410
+ vendored-JS chapter — the one capability the self-exec exists to provide. It now decides on
411
+ what the binary IS, not on what happens to sit on disk beside it. A box that never held the
412
+ checkout was unaffected, which is why a container never showed it.
413
+ - **`--import-cache` could unpack nothing at all and still look like it had run.** `tar`
414
+ restores the archived uid/gid when it runs as root; real root can chown to anything, but
415
+ *mapped* root cannot — a rootless container, a userns-remapped daemon, anything under
416
+ `unshare -r`. There the chown failed, tar aborted having written **nothing**, and the
417
+ air-gapped run that followed found no cache and reported a clean project. Extraction now
418
+ passes `--no-same-owner`, which is already the default for a non-root user.
419
+ - **A failed vendored-JS scan showed up as the raw string `retire-failed`.** The warning was
420
+ raised and reached chapter 0 correctly; it just had no heading of its own, so the chapter
421
+ printed the internal type id — and in a French report, printed it in English.
422
+ - **The copied executive summary stayed English in a French report.** The page was
423
+ translated but the clipboard flavours are built as sentences in JavaScript ("The library X
424
+ version Y is vulnerable to Z"), which the sweep had not reached. They now carry their own
425
+ translations with placeholder interpolation rather than string concatenation, because word
426
+ order differs between languages — `Top {n} most critical` has to be able to become
427
+ `Les {n} plus critiques`. The rich Word flavour substitutes the bolded values into the
428
+ translated sentence, so the bolding survives the reordering.
429
+ - **A copied vulnerability pasted as `CRITICAL9.8`.** The merged priority cell separated its
430
+ severity badge from its CVSS score with a CSS margin, and drew the `EPSS:` / `Published:`
431
+ colons with a `::after`. Both look right on screen and neither exists in `textContent` —
432
+ which is exactly what the clipboard's plain-text flavour and the TSV export read. The
433
+ separators are in the markup now, so the same text reaches the screen, the `.doc`, the
434
+ clipboard and the TSV. The KEV chip had the same gap against the band badge.
435
+ - **The report called every descriptor a POM.** "Declared in (1 POM)" said POM whether the
436
+ file was a `pom.xml`, a `package.json` or a `composer.lock`, and the advice for a CVE with
437
+ no published fix was "Add `<exclusion>` in root POM" — given to npm, PyPI, NuGet, Go and
438
+ Ruby readers, about a file their project does not have. The count now names the file kind
439
+ when the paths share one (`3 pom.xml`, `2 package.json`) and says `N descriptors` when they
440
+ do not, and each ecosystem's recipe carries its own no-fix line: an npm override, a yarn
441
+ resolution, "upgrade or replace the gem". Wording that is genuinely Maven-only, such as the
442
+ `parent POM` chip, is unchanged — those concepts only ever apply to Maven dependencies.
443
+ - **A URL-versioned npm dependency killed the scan.** `package-lock` v1 records a dep
444
+ installed from a URL as `"version": "https://registry.npmjs.org/x/-/x-0.12.5.tgz"`, and the
445
+ OSV cache filename interpolated that raw — so the scan died mid-step on
446
+ `ENOENT … osv-cache/npm____javascript.util__https:/registry.npmjs.org/…`. Two fixes: a cache
447
+ filename is now always one path segment (also in the Maven pom caches, which had the same
448
+ gap, with a character set that leaves warm caches byte-identical), and a registry tarball URL
449
+ is resolved to the semver in its filename, so the package is actually scanned instead of
450
+ merely not crashing. A git ref, `github:`/`file:`/`link:` spec or a nightly with no version
451
+ in its name has no concrete version and stays unresolved, never a fabricated one.
452
+ - **The source-health guard made the Maven outdated pass crawl.** Its retry schedule wrapped
453
+ every fetch, including the ones `lib/maven-repo.js` and `lib/registries.js` issue with their
454
+ own `AbortSignal` and their own failover to the next mirror or base. Each dead mirror then
455
+ cost 6+7+8+9+10 = **40 seconds of sleeping** before the rotation was even allowed to try the
456
+ next host — and every one of those retries reused the already-aborted signal, so all five
457
+ failed instantly and pointlessly. A request that carries a signal is now passed straight
458
+ through: the caller owns that budget. The coverage guarantee is kept where the information
459
+ actually is, in the rotations themselves, which report a hole only when no host answered at
460
+ all; a 404 from every base stays what it always was, the way an internal package is detected.
461
+ - **CSAF VEX declared the wrong publisher namespace.** `document.publisher.namespace` pointed at
462
+ a stale `github.com/nathb2b/fad-checker`; it is now the canonical
463
+ `github.com/9pings/fad-checker`, matching `package.json` and the SARIF `informationUri`.
464
+
465
+ - **Existence check hung on an offline box that was not told `--offline`.** The private-lib
466
+ classification HEADs `maven-metadata.xml` for every non-local coord (100+ on a real
467
+ reactor) with no request timeout, so a blackholed route (DNS fine, no egress — the usual
468
+ audit VM) sat through the OS TCP timeout per probe, right after
469
+ `✓ no missing Maven parent POMs`, with nothing on screen. Every Maven-repo request now
470
+ carries a 20 s abort deadline, and the probe fan-out is preceded by **one bounded 5 s
471
+ preflight per repository** (`reachableRepos`): when none answers the check is skipped
472
+ with a visible warning, the cache is reused as-is (never wiped or restamped), and the run
473
+ goes on.
474
+
475
+ ### Security
476
+ - **Dependency refresh: 7 advisories to 0, all of them already permitted by the declared
477
+ ranges.** `package.json` allowed every fix; only `package-lock.json` was stale, so a plain
478
+ `npm update` closed the lot. `js-yaml` 4.1.1 → 4.3.2 (three HIGH: quadratic-complexity DoS
479
+ in merge-key handling and `!!omap` resolution, incl. CVE-2026-59870), `retire` 5.4.2 → 5.7.0
480
+ (drops `uuid` entirely, and carries `ip-address` past three HIGH SSRF/trust-boundary
481
+ bypasses via `proxy-agent`), `rimraf` 6.0.1 → 6.1.3 (pulls `glob` 11.0.3 → 13.0.6, past a
482
+ HIGH command injection, and `minimatch` 10.0.3 → 10.2.6, past three HIGH ReDoS), plus
483
+ `commander` 14.0.3 and `smol-toml` 1.8.0.
484
+
485
+ Two of these are reachable from **attacker-controlled input**, which is the reason this is a
486
+ Security entry rather than a chore: `js-yaml` parses `pnpm-lock.yaml` and Berry `yarn.lock`
487
+ from the audited tree, and `minimatch` compiles `--exclude-path` patterns. A scanner is
488
+ pointed at untrusted repositories by definition.
489
+
490
+ The declared **floors** were raised to the fixed versions, not just the lockfile. With
491
+ `^4.1.1` left in place a consumer that already has `js-yaml` 4.1.1 in its tree would
492
+ deduplicate fad-checker onto the vulnerable copy; the floor is what actually states the
493
+ security minimum.
494
+
495
+ ### Fixed
496
+ - **endoflife.date cache never refreshed.** `fetchEndoflife` returned whatever the cache held
497
+ before looking at the 7-day TTL (an `{error}` entry included), and every run — offline
498
+ included — restamped `meta.fetchedAt`, so the TTL could never trigger a refetch and a cached
499
+ `support`/`eol` date was frozen forever. Now stamped **per product** on a successful fetch only:
500
+ online, a stale entry is refetched (a failed refetch keeps serving the stale list, error
501
+ entries are retried); offline, the warmed cache is served regardless of age, never blocking.
502
+ Legacy cache files are upgraded in place.
503
+ - **`minimatch` was a phantom dependency.** `lib/path-filter.js` has always done
504
+ `require("minimatch")` — the engine behind every `--exclude-path` glob — while
505
+ `package.json` never declared it. It resolved only because `rimraf → glob` happened to hoist
506
+ it to the top level of `node_modules`. Under a strict store (pnpm), or the day `rimraf` stops
507
+ depending on `glob`, `--exclude-path` would have thrown at runtime on a resolution nothing in
508
+ the manifest guaranteed. Now declared directly (`^10.2.6`). An audit of every external
509
+ `require()` across `lib/`, `test/` and `fad-checker.js` found no other undeclared package.
510
+
511
+ ### Added
512
+ - **Two-level EOL lifecycle + reliable PHP.** `--eol-support` reports frameworks/runtimes whose
513
+ active (bug-fix) support has ended while security fixes continue (endoflife.date `support`
514
+ field — Symfony 5.4 LTS since 2024-11-30, React 16/17/18, Django 5.2), as an "Out of active
515
+ support" band; default output unchanged. Symfony/Laravel components are mapped from a
516
+ generated, zero-false-positive list (`data/eol-composer-frameworks.json`, the monorepo's
517
+ `replace: self.version` table — `symfony/monolog-bundle`, `*-contracts`, `polyfill-*` stay out)
518
+ and reported as **one row per framework** with `anchor` + `components[]`. The **PHP runtime**
519
+ is evaluated from the Composer platform constraint: a finding only when it proves an EOL PHP
520
+ (`^7.4`, an exact pin), a chapter-0 `php-runtime-undetermined` note otherwise. JSON `eol[]`
521
+ gains `status/cycle/support/anchor/components`; `--baseline` diffs treat a status change as a
522
+ change.
523
+ - **`--nvd-cpe-match` (opt-in, off by default): match dependencies against NVD's CPE version
524
+ ranges.** OSV/GHSA declare affected ranges per release *branch*; NVD declares them for every
525
+ affected branch. For `CVE-2020-9546`, OSV covers 2.9.0–2.9.10.4 while NVD also covers
526
+ 2.0.0–2.7.9.7 — so `jackson-databind:2.5.2` is affected and never got a fix. fad already had
527
+ that data in its NVD cache and only ever used it **subtractively**, to filter false positives.
528
+ This uses it additively, restricted to coordinates with an **unambiguous 1:1** entry in
529
+ `data/cpe-coord-map.json` (no name heuristics), and only for CVEs already enriched, so it adds
530
+ no network path.
531
+
532
+ **It is off by default because its measured precision is poor, and the reason is structural.**
533
+ On Apache Dubbo 2.7.8 it adds 76 findings of which **9 (12%) are corroborated by Snyk**. CPE
534
+ products are *framework*-level (`spring_framework`, `netty`, `log4j`) while Maven coordinates
535
+ are *artifact*-level, so a framework CVE lands on every artifact of that framework —
536
+ `CVE-2016-1000027` is a spring-web flaw and CPE puts it on spring-core, `CVE-2019-20444` is
537
+ netty-codec-http and CPE puts it on netty-common. Curation cannot fix a granularity mismatch;
538
+ allowing the map's deliberate 1:N entries made it worse still (262 findings, 8% corroborated).
539
+ Shipped as a triage aid ("what might I be missing?"), never as a default. Locked by
540
+ `test/nvd-cpe-match.test.js`, including a test asserting that a coordinate with no curated
541
+ entry is not matched even when the name heuristic would have accepted it.
542
+
543
+ The investigation behind it also settled what fad's 118 benchmark misses actually are, and
544
+ the answer is not flattering: **they are real misses, not the other scanner's noise.** All 87
545
+ public-CVE ones were checked against NVD — 7 confirmed, 13 where NVD's own range disagrees,
546
+ 67 where NVD names no CPE for the artifact. Both minorities were traced. The "NVD is silent"
547
+ bulk are public-database coverage gaps: `CVE-2023-6481` on `logback-classic@1.2.2` exists in
548
+ OSV with **no Maven package binding at all** (only a GIT range), while its own fixed-version
549
+ list `1.2.12, 1.3.13, 1.4.13` shows the 1.2.x branch was affected and fixed at 1.2.12 — so
550
+ 1.2.2 is vulnerable and no public-source scanner can see it. The "NVD contradicts" cases are
551
+ NVD contradicting itself: sibling jackson-databind gadget CVEs published weeks apart declare
552
+ `2.0.0–2.7.9.7 / 2.8.0–2.8.11.6 / 2.9.0–2.9.10.4` (CVE-2020-9546) versus `2.9.0–2.9.10.4`
553
+ alone (CVE-2020-10672). Public advisory data declares ranges per release *branch* and old
554
+ unpatched branches are routinely absent; a hand-curated commercial database fills that in and
555
+ aggregating public sources does not reproduce it. Documented in `docs/BENCHMARK.md` rather
556
+ than left as "not yet diagnosed".
557
+
558
+ ### Fixed
559
+ - **An imported BOM's `<properties>` leaked into the importing project — and won.**
560
+ `<scope>import</scope>` imports a BOM's `<dependencyManagement>` and **nothing else**: the
561
+ BOM resolves its managed versions in its own property context, and its `<properties>` never
562
+ become the importer's. `core.js` merged them, and merged them so the BOM won
563
+ (`{...merged.properties, ...imported.properties}`), so a BOM silently redefined the
564
+ importing project's own property values. On Apache Dubbo 2.7.8 the reactor root sets
565
+ `<hibernate_validator_version>5.2.4.Final</hibernate_validator_version>` and
566
+ `dubbo-dependencies-bom` redefines it to `5.4.1.Final`, so `dubbo-filter-validation`'s
567
+ `<version>${hibernate_validator_version}</version>` resolved to the wrong version — and a
568
+ different version is a different CVE set. (`mvn dependency:tree` reports
569
+ `hibernate-validator:jar:5.2.4.Final:test` for that module.) The BOM's managed entries are
570
+ now interpolated against the BOM's own properties at the import boundary and the properties
571
+ are dropped, mirroring what `transitive.js#effectivePom` already did for EXTERNAL import
572
+ BOMs. Locked by `test/bom-property-leak.test.js`, which guards both directions: the leak
573
+ must stop **and** importing a BOM must still supply managed versions.
574
+ - **A version declared only at test scope is now reported as dev.** `isDev` lives on the
575
+ coord-wide record, so a version declared solely at `<scope>test</scope>` inherited the
576
+ coordinate's production flag whenever the same coordinate was production at some other
577
+ version — counting toward the production total and the `--fail-on` gate. Per-version scopes
578
+ are now recorded next to per-version paths (`versionScopes`, mirror of `versionPaths`), and
579
+ attribution applies the same widest-wins rule already used for overlay-recovered versions.
580
+ On Dubbo, `hibernate-validator:5.2.4.Final` moves to the dev chapter, attributed to
581
+ `dubbo-filter-validation` — exactly what Maven reports.
582
+
583
+ Air-gapped recall on the public benchmark reaches **657/657 (100%)** of OSV-Scanner's own
584
+ online finding set, up from 653.
585
+
586
+ ### Changed
587
+ - **The benchmark now measures every scanner at full capability, not just air-gapped.**
588
+ `docs/BENCHMARK.md` carries two tables, because they answer different questions. **Full
589
+ capability** (all five online, best configuration, populated `~/.m2`, union 908 pairs):
590
+ fad-checker 790 (87.0%), OSV-Scanner 657, Snyk 603, Trivy 546, Grype+Syft 45. **No tool
591
+ finds everything, fad included** — its 118 misses all come from Snyk, 30 of them under a
592
+ proprietary `SNYK-*` id no public database carries, and **88 genuine public-CVE misses that
593
+ remain undiagnosed**. **No network** (`unshare -rn`, against OSV-Scanner's online output):
594
+ fad 657/657, Grype+Syft 45, Trivy 40, OSV-Scanner 37.
595
+ Also documented: Trivy's result is identical online and with a fully populated `~/.m2` (the
596
+ local repository substitutes for the network entirely), Grype+Syft does not move at all
597
+ between default and fully-enabled configuration, and the `settings.xml` mirror trick for
598
+ reproducing the run when Maven Central rate-limits the IP.
599
+ - **The per-module overlay could not recover a version held only on a TEST classpath.**
600
+ The overlay exists because the global transitive pass dedupes by `g:a` across the whole
601
+ reactor and keeps one version per coordinate — but it hardcoded
602
+ `includedScopes: ["compile","runtime","provided"]`, so a version reachable only through a
603
+ test-scoped dependency was structurally unreachable. Measured on Apache Dubbo 2.7.8, this
604
+ one omission accounted for **every one** of the 78 findings OSV-Scanner reported that fad
605
+ missed (`jackson-databind:2.8.4:test` in dubbo-registry-sofa,
606
+ `hibernate-validator:5.2.4.Final:test` in dubbo-filter-validation, `okhttp:3.11.0` /
607
+ `okio:1.14.0` in dubbo-configcenter-apollo, `commons-compress:1.18:test` in
608
+ dubbo-remoting-etcd3 — each verified against `mvn dependency:tree`).
609
+ Air-gapped recall on that project: **579 → 653 of 657 (88.1% → 99.4%)**, production
610
+ findings unchanged at 651, dev findings 11 → 147, **zero production finding lost**.
611
+ - **A version is now dev only when EVERY module resolving it does so at test scope.**
612
+ On Dubbo, `jackson-databind:2.10.4` is test-scoped in `dubbo-config-spring` but
613
+ **compile**-scoped in `dubbo-configcenter-nacos`. Reading the first recorded provenance
614
+ called the version dev and dropped a genuine production finding out of the count and out
615
+ of the `--fail-on` gate.
616
+ - **The overlay records provenance per module even when the version is already known.**
617
+ It used to `continue` on the first module to contribute a version, so a second module
618
+ resolving the same version at a different scope left no trace at all — which is exactly
619
+ what made the previous item invisible.
620
+ - **A DECLARED version now wins over any transitive provenance for the same version.**
621
+ `xstream:1.4.10` is declared outright in `dubbo-registry-eureka` *and* reached as a
622
+ test-scoped transitive of `dubbo-config-api`; letting the transitive provenance win
623
+ demoted 35 findings, one of them KEV, into the dev chapter. A manifest that writes
624
+ `<version>` for a coordinate is the authority on that version.
625
+
626
+ ### Previously fixed
627
+ - **The transitive closure of a test-scoped dependency was never scanned.** Maven's scope
628
+ matrix says `test → compile = test`: the compile dependencies of a test-scoped dependency
629
+ are on the test classpath, and so are theirs, recursively (only `test → test` is omitted).
630
+ `expandWithTransitives` passed test-scoped roots into resolution (`includeTestDeps`, on
631
+ unless `--ignore-test`) but `resolveTransitiveDeps` then filtered accepted propagated
632
+ scopes to `compile/runtime/provided`, so **every child of a test root was discarded at the
633
+ first hop**. Net effect: the dev chapter only ever listed *directly declared* test
634
+ dependencies, never their transitives. On Apache Dubbo 2.7.8 this hid
635
+ `spring-boot:1.5.17.RELEASE` and `spring-boot-autoconfigure:1.5.17.RELEASE`, four hops down
636
+ `registry-test → registry-server-integration → spring-boot-starter`, all of which
637
+ `mvn dependency:tree` reports at scope=test.
638
+ - **Scope is now widened, never narrowed, when a coord is reached by several paths.** This is
639
+ the half of the fix above that matters most. The traversal dedupes by `g:a` and keeps the
640
+ first chain walked, so marking everything under a test root as dev let **BFS order decide
641
+ the scope**: a coordinate reachable from *both* a test root and a compile root got stamped
642
+ test if the test path happened to be walked first. Measured: 6 production findings
643
+ (`spring-core:4.3.16.RELEASE`, `commons-lang:2.6`, …) silently moved into the dev chapter,
644
+ dropping out of the production count **and out of the `--fail-on` gate**. A false negative
645
+ on the production classpath is worse than the gap being fixed. A revisit now upgrades
646
+ `test` to the wider propagated scope and never the reverse. Locked by
647
+ `test/transitive-test-scope.test.js` (6 tests, including the both-paths case and the
648
+ `test → test` omission).
649
+ Net on Dubbo: **575 → 579** recovered pairs, production findings **unchanged at 650**, dev
650
+ findings 7 → 11.
651
+ - **Maven hard-pin versions (`[1.2.3]`) are now normalised to the bare version.**
652
+ Maven's `[x]` syntax means *exactly* x — a concrete version wearing range brackets —
653
+ and real upstream POMs use it (`io.grpc:grpc-netty:1.22.1` declares
654
+ `<version>[4.1.35.Final]</version>`). fad kept the brackets verbatim, so the coordinate
655
+ was wrong **everywhere downstream**: the report, the purl, and every SBOM/CSAF/SARIF/JSON
656
+ export carried `netty-codec-http2@[4.1.35.Final]`, which cannot be joined with any other
657
+ tool's output for the same dependency. Fixed by `lib/maven-version.js#normalizeHardPin`,
658
+ applied on both paths that produce a version — `cve-match.js#resolveDepVersion` (declared
659
+ deps, after `${…}` interpolation, so `[${netty.version}]` works) and `lib/transitive.js`
660
+ (deps read out of upstream POMs, which is where this actually came from). A **genuine
661
+ range keeps its brackets**: choosing a version out of `[1.0,2.0)` is resolution, not
662
+ normalisation, and it must keep surfacing as unresolved rather than silently becoming
663
+ concrete. Found by the new public benchmark, where it cost **9 recovered findings**
664
+ (566 → 575 of OSV-Scanner's reference set on Apache Dubbo 2.7.8). Note that the OSV cache
665
+ is keyed by coordinate **and** version, so this fix invalidates entries warmed under the
666
+ old string — an offline re-run needs a cache re-warm to see the corrected coordinate.
667
+ - **Docs referenced a `--transitive` flag that does not exist.** Transitive resolution is
668
+ **on by default**; `--no-transitive` disables it. Corrected in `ARCHITECTURE.md` and
669
+ `COMPARISON.md`.
670
+
671
+ ### Added
672
+ - **`docs/BENCHMARK.md` — a reproducible air-gapped recall benchmark.** Replaces the
673
+ unverifiable private-project figure that headlined the README. Measured on **Apache Dubbo
674
+ 2.7.8** (105-module reactor, pinned commit), with both scanners run under `unshare -rn` in
675
+ a namespace with **no network interface**, and graded against **OSV-Scanner's own online
676
+ output** as the reference set (657 distinct `package@version | vulnerability` pairs) rather
677
+ than against fad's own notion of a finding: **fad-checker recovers 575 (87.5%)**,
678
+ **OSV-Scanner recovers 37 (5.6%)**. Documents the exact commands, the tool versions, the
679
+ 82 pairs fad misses **and why** (version-mediation divergence, plus two genuinely
680
+ unresolved `spring-boot` coordinates), and the caveats — a warmed cache is required, and
681
+ one project is one shape.
682
+
683
+ ### Changed
684
+ - `docs/COMPARISON.md`: four competitor cells corrected after re-verification against
685
+ upstream docs and source. Syft **does** have Maven transitive resolution
686
+ (`java.resolve-transitive-dependencies`, opt-in, off by default); Trivy consults a local
687
+ `~/.m2` before the network; Trivy **does** report end-of-service-life, but only for OS
688
+ distributions (the EOL row is now scoped to *application* frameworks); and the
689
+ "scan without exposing the codebase" row now concedes the SBOM-then-scan-online route,
690
+ keeping only the two differences that are sourceable. Adds a version stamp for every tool
691
+ compared and an explicit note that no ⚠️/❌ cell means "unmaintained".
692
+
693
+ ### Previously fixed
694
+ - **External `<parent>` POMs (spring-boot-starter-parent) now backfill their managed
695
+ versions.** A versionless dep whose version is inherited from an external `<parent>`
696
+ (e.g. `spring-boot-starter-actuator` under `spring-boot-starter-parent`, whose own
697
+ parent `spring-boot-dependencies` holds the version table) was left unresolved and
698
+ **dropped from the CVE/OSV/EOL/outdated scans** — the mainline backfill (`lib/maven-bom.js`)
699
+ only handled `<scope>import</scope>` BOMs, never the `<parent>` case, so this failed
700
+ even online (the `--transitive` overlay resolved the parent but couldn't backfill the
701
+ primary version). `collectExternalParents()` now feeds external parents through the same
702
+ `effectivePom` → `backfillVersions` path as import BOMs (import BOMs win on precedence),
703
+ stamped `versionSource={via:"parent",…}` → report "version managed by … (parent POM)".
704
+ It runs in the **mainline** flow (not just `--transitive`), so the warmed cache always
705
+ captures the parent POMs for **offline/air-gapped** reuse. **Child property overrides are
706
+ honored** (Maven semantics): a project that redefines `<log4j2.version>2.17.1</log4j2.version>`
707
+ to patch a CVE resolves the managed coord to `2.17.1`, not the framework default
708
+ (`collectPropertyOverrides()` → `effectivePom`'s new `propertyOverrides`; import-BOM-managed
709
+ coords are correctly left un-overridden). The "missing parent POM — potentially private"
710
+ warning now **partitions** parents fad resolves from Maven Central/cache (public) from the
711
+ truly-unresolvable ones (private), instead of flagging every external parent as suspect.
712
+ - **Anonymized descriptor closes the versionless-Spring-Boot round-trip in one exchange.**
713
+ The `fad-deps/1` descriptor now carries a `maven` hints block (`externalParents[]` +
714
+ `importBoms[]` coords + version `propertyOverrides{}`) so a no-source-tree online
715
+ `--import-anonymized` run can resolve the versionless deps' versions and warm their
716
+ `coord+version`-keyed CVE caches — previously that needed a second air-gapped exchange.
717
+ Only public coords + version strings travel (a private parent listed is a harmless online
718
+ no-op); the source tree never leaves the enclave.
719
+ - **CVE-index recall: real-world pre-2023 records were dropped (incl. Log4Shell).**
720
+ `isMavenRelevant()` only accepted CVE 5.x records carrying machine-readable Maven
721
+ metadata (`packageName`/`collectionURL`/`versionType:"maven"`) or an EXACT-match
722
+ known vendor — but CNAs publish legal-entity vendors ("Apache Software Foundation")
723
+ and display products ("Apache Log4j2"), so **CVE-2021-44228 was absent from the
724
+ index** and an offline scan of `log4j-core:2.14.0` reported no Log4Shell. The filter
725
+ now tokenises vendors, strips leading vendor words from products, and consults the
726
+ curated `data/cpe-coord-map.json` — which also **backfills `packageName`** on
727
+ product-only records so they match at tier-1. `versions[].changes[]` timelines
728
+ (how 44228 encodes its affected windows) are expanded into plain affected windows,
729
+ placeholder bounds (`lessThan:"log4j-core*"`, `"*"`, `"unspecified"`) no longer
730
+ poison comparisons (fail-closed preserved), and `fixVersion` picks the **highest**
731
+ version-like upper bound instead of the first (multi-branch advisories suggested a
732
+ downgrade). Rebuilt index: **6 589 → 15 236 CVE (+131 %)**. Regression-tested against
733
+ the real cvelistV5 record (`test/fixtures/cve-samples/cve-2021-44228-real.json`).
734
+ - **OSV offline: warmed cache older than the 12 h TTL was silently discarded.**
735
+ `--offline` now bypasses the OSV cache TTL (same rule as the NVD cache): on an
736
+ air-gapped box the warmed cache is the only source, and expiring it reported
737
+ "0 OSV vulns" for every ecosystem. Online behaviour is unchanged.
738
+ - **Go: `replace` directives are now applied** (module→module replaces rewrite the
739
+ scanned coordinate — a `replace` downgrade was invisible; directory replaces are
740
+ dropped with a chapter-0 `local-replace` warning), and **pre-1.17 modules merge the
741
+ `go.sum` graph** (their `go.mod` lists direct deps only — transitives were skipped).
742
+ - **PyPI: `pip-compile --generate-hashes` output parsed correctly.** The trailing
743
+ `\` of hash-pinned lines (and inline ` --hash=…` options) made every dep of such a
744
+ requirements file silently skipped. `uv.lock` no longer inventories the project's
745
+ own virtual/editable package. Same-name deps pinned to different versions across
746
+ files now ALL land in `versions[]` (every distinct version scanned, as Maven does).
747
+ - **NuGet: `Directory.Packages.props` is resolved by walking UP the tree** (MSBuild
748
+ semantics — nearest wins). Before, only the csproj's own directory was searched, so
749
+ a root-level CPM solution collected **zero** deps. Also: `VersionOverride` support,
750
+ exact-range pins `[1.2.3]` accepted as concrete, distinct resolved versions across
751
+ projects/TFMs all scanned, and **paged registration indexes** (Newtonsoft.Json-class
752
+ packages) have the needed pages fetched instead of returning empty findings.
753
+ - **Registry caches (go/pypi/nuget): offline runs no longer re-stamp cache freshness**
754
+ (a stale cache would then look fresh to the next online run and skip its refetch).
755
+
756
+ ### Changed
757
+ - **Report chapters reorganised into a two-level hierarchy.** Related chapters are now
758
+ grouped under six **root chapters**, each whose header carries a breakdown count:
759
+ **1. CVE** (`X direct, Y indirect, Z dev` — sub: Production, Vendored JS vulns, Dev,
760
+ Likely false positives) · **2. Unmanaged / unversioned components** (`X embedded,
761
+ Y native, Z vendored JS` — sub: embedded JAR/WAR/EAR, native binaries, vendored JS) ·
762
+ **3. Maintenance / lifecycle** (`X EOL, Y obsolete, Z outdated`) · **4. Licenses** ·
763
+ **5. Fix Recommendations** · **6. Scan context & limitations** (sub: scanned
764
+ descriptors, ignored dirs, methodology). **0. Warnings** and **Δ. Changes since
765
+ baseline** stay pinned at the top. The table of contents is now hierarchical
766
+ (roots + indented sub-chapters).
767
+
768
+ ### Added
769
+ - **Certificate & key-material scanner (report chapter 2.4).** A new standalone scanner
770
+ (`lib/certs/`, on by default, `--no-certs` to disable) walks the source tree for
771
+ committed cryptographic material and surfaces it in a dedicated report chapter, the
772
+ JSON export (`certificates` array + `summary.certificates`/`certPrivateKeys`) and SARIF
773
+ (`FAD-*` rules). It detects **X.509 certificates** (PEM/DER, parsed with Node's built-in
774
+ `crypto.X509Certificate`) and flags **expired**, **expiring** (within `--cert-expiry-days`,
775
+ default 90), **weak key** (RSA<2048 / weak EC curve), **weak signature** (MD5/SHA1) and
776
+ **self-signed**; **private & public keys** — every key explicitly labelled **private**
777
+ (a committed secret → critical) or **public** (low) — across PEM (PKCS#1/8/SEC1),
778
+ **OpenSSH of every algorithm** (RSA/DSA/ECDSA/Ed25519 incl. FIDO `-sk`), PuTTY `.ppk`,
779
+ PGP and one-line SSH (`*.pub`, `authorized_keys`, `known_hosts`); and **keystores**
780
+ (JKS/JCEKS by magic byte, PKCS#12 by extension). Detection is by extension **and**
781
+ conventional SSH filename. **100% offline** — no network, no decryption — inventory-only
782
+ (does not affect the `--fail-on` gate).
783
+ - **Scan-provenance manifest + Methodology chapter (audit reproducibility).** Every
784
+ report now carries a provenance manifest — tool version, run mode (offline/online),
785
+ the findings-affecting configuration, and the **freshness of every data source**
786
+ (CVE index, OSV, NVD, KEV, EPSS, endoflife, registry caches) read from
787
+ `~/.fad-checker/`. Surfaced in the JSON export's `provenance` block and in the
788
+ report's new **chapter 12 — "Methodology, data sources & limitations"**, which also
789
+ states explicitly **what fad-checker does *not* assess** (reachability, runtime
790
+ config, secrets/IaC, first-party code, malware beyond the OSV/CIRCL signal, legal
791
+ license advice). New `lib/provenance.js`.
792
+ - **Differential audits (`--baseline` / `fad diff`).** Diff a scan against a prior
793
+ findings JSON: the report gains a **"Δ Changes since baseline"** chapter, the JSON
794
+ export gains a `diff` block (summary + new/fixed CVEs), and CI can gate on **new**
795
+ findings with `--fail-on-new` (exit 1 on any new production CVE). Standalone
796
+ `fad-checker diff <baseline.json> <current.json> [--report-json <out>] [--fail-on-new]`
797
+ for ad-hoc comparison. Finding identity = CVE id + ecosystem + coord + version. New
798
+ `lib/diff.js`.
799
+ - **Report integrity manifest.** A standard `SHA256SUMS` is written beside the report
800
+ artifacts (verifiable with `sha256sum -c`); `--no-checksums` disables it. New
801
+ `lib/report-integrity.js`.
802
+ - **Private registries for NuGet and Composer** (previously the only registry-backed
803
+ ecosystems without private-feed support). NuGet custom feeds speak the v3
804
+ registration API (a service-index `…/index.json` is auto-resolved to its
805
+ `RegistrationsBaseUrl`); Composer custom feeds are queried via the v2
806
+ `<base>/p2/<vendor>/<pkg>.json` metadata API. Same `--add-repo nuget|composer …`
807
+ CRUD + auth as the other ecosystems.
808
+ - **Custom registries for npm, PyPI, Ruby and Go** (previously Maven-only). Point
809
+ fad-checker at private Verdaccio/Artifactory/GitHub Packages (npm), devpi (PyPI),
810
+ Gemfury/Geminabox (Ruby) or a private GOPROXY/Athens (Go). They are tried in
811
+ declared order, the public registry last; auth via `--auth user:pass` (→ Basic)
812
+ or `--token TOK` (→ Bearer), inline `https://user:pass@host/` also accepted.
813
+ CRUD: `--add-repo <eco> <name> <url>`, `--remove-repo <eco> <name>`,
814
+ `--list-repos` (grouped by ecosystem); one-off repeatable `--repo <eco>=<url>`.
815
+ New `lib/registries.js`; per-codec fetchers honour `opts.registries`.
816
+ - **Layered configuration.** Defaults can come from a JSON config file
817
+ (`--config <file.json>`, else auto-discovered `./.fad-env.json`) and from the
818
+ `FAD_CHECKER_ENV` environment variable (a string of CLI flags). Precedence:
819
+ **CLI flag > config file > `FAD_CHECKER_ENV` > `~/.fad-checker/config.json` >
820
+ defaults**; `registries` are unioned across every layer. New `lib/options-env.js`.
821
+ - **`--source` alias** for `-s`/`--src` (and the JSON config key `"source"`/`"src"`).
822
+ - **Vendored-JS inventory (report chapter 1D + JSON `vendoredJs`).** retire.js now
823
+ runs with `--verbose`, so fad lists **every** identified standalone JS library
824
+ committed into the tree (jQuery, Bootstrap, PDF.js, …) — **vulnerable or not** —
825
+ as a cyber-hygiene inventory of unmanaged third-party code (the JS twin of the
826
+ native-binary chapter 1C). Each entry: component, version, file, detection
827
+ method, and vulnerability status. Vulnerable libs remain detailed in chapter 2.
828
+ On by default; `--no-vendored-js-inventory` keeps only the vulnerable findings.
829
+ - **`--exclude-path <glob...>`** — ignore sub-paths during the directory walk,
830
+ gitignore-style (matched relative to `--src`, prunes the dir + its subtree),
831
+ across every ecosystem. Repeatable; also `excludePath: [...]` in `.fad-env.json`,
832
+ unioned across config layers. **`--no-default-excludes`** walks the normally
833
+ pruned dirs (`node_modules`, `vendor`, `target`, `.git`, …). New `lib/path-filter.js`.
834
+ - **Ignored-directories appendix (report chapter 11 + JSON `excludedDirs`).** The
835
+ HTML/`.doc` report now ends with an appendix listing the ACTUAL directories the
836
+ scan did not walk — resolved by re-walking `--src` once under the same prune
837
+ policy the codecs use (the default-exclude set at any depth + your
838
+ `--exclude-path` rules), each path shown relative to the scan root and tagged
839
+ with the rule that pruned it (`default` vs `--exclude-path`). Surfaced in the
840
+ findings JSON as `excludedDirs[]` + `summary.excludedDirs`. New
841
+ `collectExcludedDirs()` in `lib/path-filter.js`.
842
+
843
+ ### Changed
844
+ - **BREAKING:** the persisted-registry store moved from the Maven-only
845
+ `maven_repos` config key + 2-arg `--add-repo <name> <url>` to a per-ecosystem
846
+ `registries` map + `--add-repo <ecosystem> <name> <url>`. `--repo` now requires
847
+ the `<ecosystem>=<url>` form (a bare URL is rejected). Re-add any private Maven
848
+ repos with `--add-repo maven <name> <url>`.
849
+
850
+ ### Fixed
851
+ - **A failing `--snyk` run is no longer silently reported as "0 findings".** Snyk
852
+ exits 2 on a command error (e.g. not authenticated) and 3 when it detects no
853
+ supported project — but in `--json` mode it still writes a JSON document to
854
+ **stdout**, shaped `{ ok:false, error:"…" }`. `runSnykTest`'s catch block treated
855
+ *any* stdout on a non-zero exit as "vulns found (exit 1)", so that error JSON was
856
+ parsed to zero vulnerabilities and surfaced as a green `Snyk: 0 findings merged`,
857
+ hiding the failure. It now distinguishes real results (a `vulnerabilities` array or
858
+ `ok:true`) from error stubs and **throws the snyk error message** (deduped, joined),
859
+ which the orchestrator shows as a `Snyk run failed: …` warning. A snyk crash with no
860
+ stdout now surfaces `stderr` instead of `execFile`'s generic "Command failed", and a
861
+ timeout is reported as such. New pure helper `snykOutputError()` (unit-tested).
862
+ - **retire.js now skips the same dirs as the rest of the scan.** The vendored-JS
863
+ scan walks the tree itself and was handed a bare `--ignore node_modules,…` list,
864
+ which retire `path.resolve()`s against its **own working directory** — so a
865
+ `node_modules` (or `target`/`dist`/…) nested anywhere under `--src` was scanned
866
+ whenever fad-checker ran from a different directory than the source tree. retire
867
+ is now driven by a generated `--ignorefile` anchored to `--src` that prunes the
868
+ default SKIP dirs **at any depth** and honors `--exclude-path` /
869
+ `--no-default-excludes`, matching `lib/path-filter.js`.
870
+ - **Offline NVD enrichment (incl. CWEs) no longer silently dropped.** The NVD cache
871
+ enforces a 7-day TTL and a schema version; offline, a TTL-expired or older-schema
872
+ entry was treated as a miss — and since an air-gapped box can't re-fetch, the CVE
873
+ lost **all** its NVD enrichment (CWE list, CVSS vector, references, CPE configs).
874
+ That was the "offline scan was missing some CWE titles that the online scan had".
875
+ Offline now reads the warmed cache regardless of age/schema (a missing field just
876
+ stays missing — strictly better than dropping everything); online still enforces
877
+ TTL + schema so it re-fetches and upgrades. CWE IDs were already persisted in the
878
+ cache body (`_schema:2`) and travel in `--export-cache`; CWE *titles* come from the
879
+ bundled `data/cwe-names.json` (identical online/offline).
880
+
881
+ ## [2.1.0]
882
+
883
+ ### Added
884
+ - **Embedded-binary scanning (chapter 1B).** The Maven codec now discovers Maven
885
+ coordinates inside committed `.jar`/`.war`/`.ear` archives — vendored libs,
886
+ Spring-Boot fat-jars, shaded uber-jars — by unzipping them **in memory** (via
887
+ `fflate`, recursing into nested jars without touching disk, so there is no
888
+ zip-slip risk). Each artifact's coordinate is read from
889
+ `META-INF/maven/.../pom.properties` → `MANIFEST.MF` → file name; unidentifiable
890
+ archives are flagged in chapter 0 rather than scanned blindly. Findings carry
891
+ `provenance:"embedded"`, report in a dedicated **Embedded binaries** chapter
892
+ (grouped by containing archive), feed the `--fail-on` gate, and are labelled in
893
+ the SBOM (`fad:provenance`/`fad:location` + unique `bom-ref`), SARIF
894
+ (`provenance` + nested-jar location) and JSON exports. Auto when archives are
895
+ present; `--no-jars` disables it.
896
+
897
+ ### Changed
898
+ - **Unified output flags.** Every output now has its own `--report-<type>` flag
899
+ taking an OPTIONAL path (omit it → a default name under `--report-output`):
900
+ `--report-html`, `--report-doc`, `--report-sbom`, `--report-csaf`,
901
+ `--report-json`, `--report-sarif`. With no `--report-*` flag, HTML + `.doc` are
902
+ written as before; selecting any flag writes exactly that set.
903
+ **BREAKING:** the old `--export-sbom`/`--export-csaf`/`--export-json`/`--export-sarif`
904
+ flags are removed — use `--report-sbom`/`-csaf`/`-json`/`-sarif`. (The unrelated
905
+ `--export-cache` / `--export-anonymized` flags are unchanged.)
906
+ - **`--no-report` now writes NO output files at all** (gate-only / CI mode) — the
907
+ scan, terminal summary and `--fail-on` gate still run. Previously it
908
+ short-circuited the whole flow, so `--no-report --fail-on …` silently passed.
909
+
910
+ ### Fixed
911
+ - **Catastrophic data loss**: `--target` being a *parent* of `--src` passed the
912
+ guardrail and `rimraf`'d the source tree. The guard now rejects overlap in both
913
+ directions.
914
+ - **Missed npm/yarn/pnpm CVEs**: only the highest version of a duplicated package
915
+ was scanned; nested-`node_modules` lower versions are now accumulated.
916
+ - **CPE false negatives**: AND-configurations with a `vulnerable:false` platform
917
+ node wrongly dropped real findings.
918
+ - **VEX over-suppression**: an unmappable product id suppressed a CVE for every
919
+ dependency.
920
+ - **CSAF/SBOM/SARIF scoring**: OSV CVSS *vectors* were mis-read as the score
921
+ (`3.1`), the NVD CVSS version label was malformed (`CVSS:V31`), and an NVD record
922
+ without metrics clobbered an OSV-derived vector — so CSAF emitted no scores and
923
+ SBOM showed `method:other`. CVSS v3 base scores are now computed from the vector,
924
+ labels normalised, and exports stay schema-valid (no empty `known_affected`, no
925
+ `UNKNOWN` baseSeverity, no v4 vector under a v3 score).
926
+ - **CI / parsing**: an invalid `--fail-on <level>` (typo) now hard-fails instead of
927
+ silently disabling the gate; Maven version ordering for dot-aligned qualifiers
928
+ (`5.0.0.RC1` vs `5.0.0.5`) corrected; classic poetry.lock `category="dev"` and
929
+ `go.sum` highest-version selection fixed.
930
+
931
+ ## [2.0.1]
932
+
933
+ ### Fixed
934
+ - **EOL detection for PyPI / NuGet** used dead endoflife.date product slugs
935
+ (`fastapi`, `aspnetcore`, `efcore` → HTTP 404), so no .NET / FastAPI EOL was ever
936
+ flagged. NuGet ASP.NET Core / EF Core packages now map to the `dotnet` product
937
+ (their versions track .NET cycles); `fastapi` removed (no endoflife.date source).
938
+
939
+ ### Added
940
+ - Detailed capability test suite (`test/codec-capabilities.test.js`): end-to-end EOL
941
+ per ecosystem (seeded cycles), registry findings (abandoned / yanked / inactive /
942
+ deprecation) + outdated gating, cycle-matching logic, fix recipes, and report
943
+ rendering of EOL/Obsolete/Outdated. Plus a guard asserting every eol-mapping product
944
+ slug is a known-valid endoflife.date product.
945
+
946
+ ## [2.0.0]
947
+
948
+ Major release: **codec architecture** + three new ecosystems.
949
+
950
+ ### Added
951
+ - **Codec abstraction** (`lib/codecs/`): every ecosystem now lives behind a single
952
+ interface (`detect` / `collect` / `coordKey` / `formatCoord` / `osvPackageName` /
953
+ `checkRegistry` / `resolveEolProduct` / `recipe` / `nativeScanners`) discovered through
954
+ a registry. OSV, NVD, CPE refinement and endoflife.date are shared, ecosystem-agnostic
955
+ services. Adding an ecosystem is adding a codec — no orchestrator changes.
956
+ - **Composer (PHP)** codec — `composer.lock` / `composer.json`, Packagist `abandoned`,
957
+ EOL (Laravel/Symfony/Drupal), `composer require` fix recipe.
958
+ - **PyPI (Python)** codec — `poetry.lock` / `Pipfile.lock` / `uv.lock` / `pdm.lock` /
959
+ `requirements.txt`, PEP 503 name normalisation, PyPI `yanked` + "Inactive" classifier,
960
+ EOL (Django/NumPy/FastAPI), `pip install` fix recipe.
961
+ - **NuGet (C#/.NET)** codec — `packages.lock.json` / `*.csproj` (+ Central Package
962
+ Management via `Directory.Packages.props`) / `packages.config`, NuGet `deprecation`,
963
+ EOL (.NET/ASP.NET Core/EF Core), `dotnet add package` fix recipe.
964
+ - `--ecosystem` is now a **list** (`auto` | `all` | comma list) and per-codec opt-outs
965
+ `--no-maven` / `--no-npm` / `--no-yarn` / `--no-nuget` / `--no-composer` / `--no-pypi`.
966
+ - Generalized `depRecord` (`ecosystem` / `namespace` / `name` / `coordKey`).
967
+ - Dependency: `smol-toml` (TOML lockfile parsing).
968
+
969
+ ### Changed
970
+ - **npm no-lockfile behaviour (contract change)**: a `package.json` without a sibling
971
+ `package-lock.json` / `yarn.lock` is now parsed **best-effort** (pinned exact versions
972
+ scanned, ranges skipped, `no-lockfile` warning) instead of being skipped entirely. The
973
+ same lockfile-first, best-effort fallback applies to Composer / PyPI / NuGet.
974
+ - The orchestrator now loops over detected codecs; report sections, labels, coordinate
975
+ formatting and fix recipes are driven by the codec registry.
976
+ - Maven CVE-index (cvelistV5) and retire.js are now `nativeScanners` owned by their codec.
977
+ - `--no-js` is retained as an alias for `--no-npm` + `--no-yarn`.
978
+
979
+ ### Notes
980
+ - Maven map keys stay bare `g:a` (collision-free against the prefixed `npm:` / `nuget:` /
981
+ `composer:` / `pypi:` keyspaces) to keep transitive resolution and existing behaviour intact.
982
+ - Verified non-regression against a real Maven + npm project: identical findings modulo
983
+ upstream advisory drift.
984
+
985
+ ## [1.x]
986
+ - Maven + npm/Yarn + vendored-JS scanning; CVEProject + OSV + NVD + CPE; EOL / obsolete /
987
+ outdated; HTML + Word report; private-dep cleanup for Snyk.