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