vigievuln 1.3.2 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (375) hide show
  1. package/CHANGELOG.md +63 -0
  2. package/README.md +34 -19
  3. package/completions/vigievuln.bash +14 -3
  4. package/completions/vigievuln.zsh +11 -8
  5. package/data/fingerprints/index.js +80 -0
  6. package/data/fingerprints/interpreters/javascript/bun.json +23 -0
  7. package/data/fingerprints/interpreters/javascript/deno.json +10 -0
  8. package/data/fingerprints/interpreters/javascript/electron.json +20 -0
  9. package/data/fingerprints/interpreters/javascript/gjs.json +8 -0
  10. package/data/fingerprints/interpreters/javascript/javascriptcore.json +14 -0
  11. package/data/fingerprints/interpreters/javascript/jscgtk.json +10 -0
  12. package/data/fingerprints/interpreters/javascript/node.json +26 -0
  13. package/data/fingerprints/interpreters/javascript/nwjs.json +8 -0
  14. package/data/fingerprints/interpreters/javascript/webkitgtk.json +10 -0
  15. package/data/fingerprints/interpreters/javascript/wpewebkit.json +10 -0
  16. package/data/fingerprints/interpreters/languages/dotnet.json +8 -0
  17. package/data/fingerprints/interpreters/languages/erlang.json +9 -0
  18. package/data/fingerprints/interpreters/languages/gawk.json +10 -0
  19. package/data/fingerprints/interpreters/languages/guile.json +9 -0
  20. package/data/fingerprints/interpreters/languages/java.json +8 -0
  21. package/data/fingerprints/interpreters/languages/julia.json +9 -0
  22. package/data/fingerprints/interpreters/languages/lua.json +11 -0
  23. package/data/fingerprints/interpreters/languages/luajit.json +10 -0
  24. package/data/fingerprints/interpreters/languages/perl.json +11 -0
  25. package/data/fingerprints/interpreters/languages/php.json +22 -0
  26. package/data/fingerprints/interpreters/languages/powershell.json +17 -0
  27. package/data/fingerprints/interpreters/languages/pypy.json +8 -0
  28. package/data/fingerprints/interpreters/languages/python.json +24 -0
  29. package/data/fingerprints/interpreters/languages/r.json +9 -0
  30. package/data/fingerprints/interpreters/languages/racket.json +9 -0
  31. package/data/fingerprints/interpreters/languages/raku.json +8 -0
  32. package/data/fingerprints/interpreters/languages/ruby.json +21 -0
  33. package/data/fingerprints/interpreters/languages/tcl.json +9 -0
  34. package/data/fingerprints/interpreters/shells/bash.json +10 -0
  35. package/data/fingerprints/interpreters/shells/dash.json +8 -0
  36. package/data/fingerprints/interpreters/shells/fish.json +9 -0
  37. package/data/fingerprints/interpreters/shells/ksh.json +8 -0
  38. package/data/fingerprints/interpreters/shells/zsh.json +9 -0
  39. package/data/fingerprints/services/databases/clickhouse.json +8 -0
  40. package/data/fingerprints/services/databases/elasticsearch.json +8 -0
  41. package/data/fingerprints/services/databases/etcd.json +9 -0
  42. package/data/fingerprints/services/databases/mariadb.json +9 -0
  43. package/data/fingerprints/services/databases/memcached.json +9 -0
  44. package/data/fingerprints/services/databases/mongo.json +8 -0
  45. package/data/fingerprints/services/databases/mysql.json +9 -0
  46. package/data/fingerprints/services/databases/opensearch.json +8 -0
  47. package/data/fingerprints/services/databases/postgres.json +18 -0
  48. package/data/fingerprints/services/databases/redis.json +9 -0
  49. package/data/fingerprints/services/databases/valkey.json +8 -0
  50. package/data/fingerprints/services/dns-directory/bind.json +8 -0
  51. package/data/fingerprints/services/dns-directory/dnsmasq.json +8 -0
  52. package/data/fingerprints/services/dns-directory/slapd.json +8 -0
  53. package/data/fingerprints/services/dns-directory/unbound.json +8 -0
  54. package/data/fingerprints/services/mail/cyrus.json +8 -0
  55. package/data/fingerprints/services/mail/dovecot.json +8 -0
  56. package/data/fingerprints/services/mail/exim.json +9 -0
  57. package/data/fingerprints/services/mail/opendkim.json +8 -0
  58. package/data/fingerprints/services/mail/opensmtpd.json +8 -0
  59. package/data/fingerprints/services/mail/postfix.json +8 -0
  60. package/data/fingerprints/services/mail/rspamd.json +8 -0
  61. package/data/fingerprints/services/mail/sendmail.json +8 -0
  62. package/data/fingerprints/services/messaging/kafka.json +8 -0
  63. package/data/fingerprints/services/messaging/mosquitto.json +8 -0
  64. package/data/fingerprints/services/messaging/nats.json +9 -0
  65. package/data/fingerprints/services/messaging/rabbitmq.json +8 -0
  66. package/data/fingerprints/services/remote-access/dropbear.json +8 -0
  67. package/data/fingerprints/services/remote-access/openssh.json +10 -0
  68. package/data/fingerprints/services/remote-access/proftpd.json +8 -0
  69. package/data/fingerprints/services/remote-access/samba.json +8 -0
  70. package/data/fingerprints/services/remote-access/vsftpd.json +8 -0
  71. package/data/fingerprints/services/web-proxies/apache.json +18 -0
  72. package/data/fingerprints/services/web-proxies/caddy.json +9 -0
  73. package/data/fingerprints/services/web-proxies/envoy.json +8 -0
  74. package/data/fingerprints/services/web-proxies/haproxy.json +10 -0
  75. package/data/fingerprints/services/web-proxies/lighttpd.json +8 -0
  76. package/data/fingerprints/services/web-proxies/nginx.json +14 -0
  77. package/data/fingerprints/services/web-proxies/squid.json +8 -0
  78. package/data/fingerprints/services/web-proxies/tomcat.json +8 -0
  79. package/data/fingerprints/services/web-proxies/traefik.json +9 -0
  80. package/data/fingerprints/services/web-proxies/varnish.json +8 -0
  81. package/lib/README.md +51 -0
  82. package/lib/{coverage-diagnostics.js → advisories/coverage-diagnostics.js} +1 -1
  83. package/lib/{cve-match.js → advisories/cve-match.js} +17 -12
  84. package/lib/{advisory-fixes.js → advisories/fixes.js} +1 -1
  85. package/lib/{advisory-freshness.js → advisories/freshness.js} +5 -1
  86. package/lib/{gap-adjudicate.js → advisories/gap-adjudicate.js} +3 -3
  87. package/lib/{native-package-match.js → advisories/native-package-match.js} +20 -11
  88. package/lib/{native-source-prepare.js → advisories/native-source-prepare.js} +15 -12
  89. package/lib/{native-advisories.js → advisories/native.js} +15 -13
  90. package/lib/{advisory-store-sqlite.js → advisories/store-sqlite.js} +5 -5
  91. package/lib/{advisory-store.js → advisories/store.js} +2 -2
  92. package/lib/{application-exports.js → applications/exports.js} +1 -1
  93. package/lib/{application-inventory.js → applications/inventory.js} +3 -1
  94. package/lib/applications/layout.js +199 -0
  95. package/lib/{application-providers → applications}/live-snapshot.js +10 -10
  96. package/lib/{application-plugins → applications/plugins}/drupal.js +2 -2
  97. package/lib/applications/plugins/ghost.js +36 -0
  98. package/lib/{application-plugins → applications/plugins}/index.js +1 -1
  99. package/lib/{application-plugins → applications/plugins}/prestashop.js +73 -15
  100. package/lib/applications/plugins/redmine.js +24 -0
  101. package/lib/{application-plugins → applications/plugins}/runner.js +89 -59
  102. package/lib/{application-plugins → applications/plugins}/spip.js +4 -4
  103. package/lib/{application-plugins → applications/plugins}/symfony.js +1 -1
  104. package/lib/{application-plugins → applications/plugins}/typo3.js +2 -2
  105. package/lib/{application-plugins → applications/plugins}/wave2-common.js +1 -1
  106. package/lib/{application-plugins → applications/plugins}/wordpress.js +52 -18
  107. package/lib/{application-providers → applications}/snapshot-cache.js +1 -1
  108. package/lib/{cms-snapshot-warm.js → applications/snapshot-warm.js} +21 -8
  109. package/lib/artifacts/access-warnings.js +24 -0
  110. package/lib/artifacts/applications.js +39 -8
  111. package/lib/artifacts/component-scope.js +12 -3
  112. package/lib/artifacts/cve-view.js +8 -5
  113. package/lib/artifacts/disk-wasm.mjs +3 -0
  114. package/lib/artifacts/disk.js +188 -0
  115. package/lib/artifacts/elf-product.js +215 -0
  116. package/lib/artifacts/enrichment.js +31 -17
  117. package/lib/artifacts/go-main-identity.js +135 -36
  118. package/lib/artifacts/go-publisher-advisories.js +4 -3
  119. package/lib/artifacts/image-products.js +181 -0
  120. package/lib/artifacts/index.js +36 -13
  121. package/lib/artifacts/install-version.js +44 -0
  122. package/lib/artifacts/inventory-scope.js +53 -3
  123. package/lib/artifacts/pe-product.js +28 -0
  124. package/lib/artifacts/product-advisories.js +212 -0
  125. package/lib/artifacts/product-catalog.js +67 -0
  126. package/lib/artifacts/release-catalogues.js +149 -0
  127. package/lib/artifacts/release-versions.js +101 -0
  128. package/lib/artifacts/remediation-report.js +1 -1
  129. package/lib/artifacts/report-inventory.js +17 -2
  130. package/lib/artifacts/report-path.js +29 -0
  131. package/lib/artifacts/report.js +85 -32
  132. package/lib/artifacts/retire.js +3 -3
  133. package/lib/artifacts/risk-report.js +12 -8
  134. package/lib/artifacts/sbom.js +33 -4
  135. package/lib/artifacts/scan.js +316 -69
  136. package/lib/artifacts/system-apps.js +98 -0
  137. package/lib/artifacts/system-maintenance.js +101 -0
  138. package/lib/artifacts/system-module-updates.js +104 -0
  139. package/lib/artifacts/system-report.js +232 -0
  140. package/lib/{airgap-project.js → cache/airgap-project.js} +25 -10
  141. package/lib/{cache-archive-sqlite.js → cache/archive.js} +6 -5
  142. package/lib/{cache-db.js → cache/db.js} +1 -1
  143. package/lib/{dump-format.js → cache/dump-format.js} +2 -2
  144. package/lib/{json-cache.js → cache/json.js} +1 -1
  145. package/lib/{proxy-cache.js → cache/proxy-cache.js} +9 -9
  146. package/lib/{proxy-scope.js → cache/proxy-scope.js} +1 -1
  147. package/lib/{record-freshness.js → cache/record-freshness.js} +1 -1
  148. package/lib/{cache-repository.js → cache/repository.js} +1 -1
  149. package/lib/{resource-cache → cache/resource}/engine.js +23 -16
  150. package/lib/{resource-cache → cache/resource}/fs-store.js +2 -2
  151. package/lib/{resource-cache → cache/resource}/sqlite-store.js +3 -3
  152. package/lib/{resource-cache → cache/resource}/validate.js +20 -5
  153. package/lib/{sqlite-driver.js → cache/sqlite-driver.js} +7 -5
  154. package/lib/certs/scan.js +17 -11
  155. package/lib/cli-collect.js +262 -0
  156. package/lib/cli-command-routing.js +30 -13
  157. package/lib/cli-groups.js +1 -1
  158. package/lib/cli-image.js +158 -47
  159. package/lib/cli-project-commands.js +10 -10
  160. package/lib/cli-setup.js +8 -8
  161. package/lib/cli-watch.js +3 -3
  162. package/lib/codecs/binary/elf-metadata.js +6 -0
  163. package/lib/codecs/binary/metadata.js +1 -1
  164. package/lib/codecs/binary/pe-metadata.js +47 -11
  165. package/lib/codecs/binary/scan.js +12 -4
  166. package/lib/codecs/binary.codec.js +1 -1
  167. package/lib/codecs/composer/platform.js +2 -2
  168. package/lib/codecs/composer/registry.js +12 -18
  169. package/lib/codecs/composer.codec.js +6 -5
  170. package/lib/codecs/go/parse.js +1 -1
  171. package/lib/codecs/go/registry.js +7 -7
  172. package/lib/codecs/go.codec.js +2 -2
  173. package/lib/codecs/gradle/parse.js +1 -1
  174. package/lib/codecs/gradle/versionless.js +2 -2
  175. package/lib/codecs/gradle.codec.js +7 -7
  176. package/lib/codecs/index.js +1 -1
  177. package/lib/{maven-airgap.js → codecs/maven/airgap.js} +4 -4
  178. package/lib/{maven-bom.js → codecs/maven/bom.js} +3 -3
  179. package/lib/codecs/maven/jar-scan.js +4 -4
  180. package/lib/{maven-license.js → codecs/maven/license.js} +2 -2
  181. package/lib/{core.js → codecs/maven/pom.js} +22 -11
  182. package/lib/{maven-reactor.js → codecs/maven/reactor.js} +18 -12
  183. package/lib/{transitive.js → codecs/maven/transitive.js} +79 -34
  184. package/lib/{maven-version.js → codecs/maven/version.js} +1 -1
  185. package/lib/codecs/maven.codec.js +18 -14
  186. package/lib/codecs/npm/collect.js +55 -8
  187. package/lib/codecs/npm/manifest-kind.js +16 -0
  188. package/lib/codecs/npm/parse.js +23 -7
  189. package/lib/codecs/npm/registry.js +28 -14
  190. package/lib/codecs/npm.codec.js +5 -5
  191. package/lib/codecs/nuget/registry.js +7 -7
  192. package/lib/codecs/nuget.codec.js +4 -4
  193. package/lib/codecs/pypi/registry.js +7 -7
  194. package/lib/codecs/pypi.codec.js +4 -4
  195. package/lib/codecs/recipes.js +2 -2
  196. package/lib/codecs/ruby/registry.js +7 -7
  197. package/lib/codecs/ruby.codec.js +2 -2
  198. package/lib/config.js +1 -1
  199. package/lib/{attribution.js → findings/attribution.js} +3 -3
  200. package/lib/findings/cve-descriptions.js +144 -0
  201. package/lib/{cve-record-coverage.js → findings/cve-record-coverage.js} +46 -41
  202. package/lib/{diff.js → findings/diff.js} +0 -0
  203. package/lib/{finding-enrichment.js → findings/enrichment.js} +45 -32
  204. package/lib/{eu-refs.js → findings/eu-refs.js} +3 -3
  205. package/lib/{gate.js → findings/gate.js} +1 -1
  206. package/lib/{malware.js → findings/malware.js} +30 -7
  207. package/lib/{merge-sources.js → findings/merge.js} +57 -9
  208. package/lib/{priority.js → findings/priority.js} +3 -3
  209. package/lib/findings/risk-evidence.js +24 -0
  210. package/lib/findings/severity.js +16 -0
  211. package/lib/{finding-summary.js → findings/summary.js} +5 -2
  212. package/lib/{suppress.js → findings/suppress.js} +2 -2
  213. package/lib/images/local-docker.js +72 -0
  214. package/lib/{image-network.js → images/network.js} +26 -16
  215. package/lib/{image-references.js → images/references.js} +29 -11
  216. package/lib/{image-registry.js → images/registry.js} +18 -9
  217. package/lib/{source-image-scan.js → images/source-scan.js} +3 -3
  218. package/lib/images/temp-roots.js +23 -0
  219. package/lib/{image-update.js → images/update.js} +3 -3
  220. package/lib/{dep-record.js → inventory/dep-record.js} +2 -2
  221. package/lib/{deps-descriptor.js → inventory/deps-descriptor.js} +3 -3
  222. package/lib/{descriptor-refs.js → inventory/descriptor-refs.js} +1 -1
  223. package/lib/{embedded.js → inventory/embedded.js} +4 -3
  224. package/lib/{license-policy.js → inventory/license-policy.js} +2 -2
  225. package/lib/{manifest-copy.js → inventory/manifest-copy.js} +2 -2
  226. package/lib/{module-names.js → inventory/module-names.js} +1 -1
  227. package/lib/{package-versions.js → inventory/package-versions.js} +2 -2
  228. package/lib/{parallel-walk.js → inventory/parallel-walk.js} +1 -1
  229. package/lib/{path-filter.js → inventory/path-filter.js} +1 -1
  230. package/lib/{private-deps.js → inventory/private-deps.js} +1 -1
  231. package/lib/{project-descriptor.js → inventory/project-descriptor.js} +3 -0
  232. package/lib/{purl.js → inventory/purl.js} +2 -2
  233. package/lib/{unmanaged.js → inventory/unmanaged.js} +6 -3
  234. package/lib/{commercial-support.js → maintenance/commercial-support.js} +5 -5
  235. package/lib/{outdated.js → maintenance/outdated.js} +20 -20
  236. package/lib/options-env.js +1 -1
  237. package/lib/{system-inventory/alpine-tracker.js → providers/alpine/tracker.js} +27 -7
  238. package/lib/{certfr.js → providers/certfr/enrich.js} +9 -9
  239. package/lib/{cve-download.js → providers/cveproject/download.js} +56 -36
  240. package/lib/{cve-legacy-ranges.js → providers/cveproject/legacy-ranges.js} +1 -1
  241. package/lib/{cve-npm-proxy.js → providers/cveproject/npm-proxy.js} +5 -5
  242. package/lib/{cve-packages-proxy.js → providers/cveproject/packages-proxy.js} +6 -6
  243. package/lib/{cve-version-verdict.js → providers/cveproject/version-verdict.js} +2 -2
  244. package/lib/{system-inventory/current-debian.js → providers/debian/current.js} +6 -6
  245. package/lib/{system-inventory/historical-debian.js → providers/debian/historical.js} +6 -6
  246. package/lib/providers/{debian.js → debian/index.js} +1 -0
  247. package/lib/{application-providers/drupal-advisories.js → providers/drupal/advisories.js} +13 -36
  248. package/lib/providers/{drupal.js → drupal/index.js} +4 -0
  249. package/lib/providers/{eol.js → eol/index.js} +1 -1
  250. package/lib/{epss.js → providers/epss/enrich.js} +16 -13
  251. package/lib/providers/{epss.js → epss/index.js} +2 -2
  252. package/lib/{euvd.js → providers/euvd/enrich.js} +13 -13
  253. package/lib/{system-inventory/freexian-ela.js → providers/freexian/ela.js} +6 -6
  254. package/lib/providers/{freexian.js → freexian/index.js} +3 -3
  255. package/lib/{system-inventory/freexian-release-evidence.js → providers/freexian/release-evidence.js} +8 -5
  256. package/lib/{system-inventory/freexian-tracker.js → providers/freexian/tracker.js} +33 -9
  257. package/lib/{gcve-feed.js → providers/gcve/feed.js} +4 -4
  258. package/lib/{gcve.js → providers/gcve/id.js} +1 -1
  259. package/lib/{gcve-index.js → providers/gcve/local-index.js} +4 -4
  260. package/lib/{application-providers/github-advisories.js → providers/github/advisories.js} +6 -2
  261. package/lib/providers/{github.js → github/index.js} +3 -1
  262. package/lib/{github-publisher-maven.js → providers/github/publisher-maven.js} +1 -1
  263. package/lib/providers/{go.js → go/index.js} +1 -1
  264. package/lib/{hash-id.js → providers/hashid/identify.js} +7 -7
  265. package/lib/providers/{hashid.js → hashid/index.js} +1 -1
  266. package/lib/providers/index.js +18 -13
  267. package/lib/{kev.js → providers/kev/enrich.js} +12 -9
  268. package/lib/{maven-cache.js → providers/maven/cache.js} +3 -3
  269. package/lib/providers/{maven.js → maven/index.js} +5 -3
  270. package/lib/{maven-presence.js → providers/maven/presence.js} +5 -5
  271. package/lib/{maven-repo.js → providers/maven/repo.js} +38 -21
  272. package/lib/providers/mit-kerberos/index.js +6 -0
  273. package/lib/{system-inventory/nginx-advisories.js → providers/nginx/advisories.js} +3 -3
  274. package/lib/providers/{npm.js → npm/index.js} +1 -1
  275. package/lib/providers/{nuget.js → nuget/index.js} +1 -1
  276. package/lib/{cpe.js → providers/nvd/cpe.js} +35 -47
  277. package/lib/{nvd.js → providers/nvd/enrich.js} +41 -40
  278. package/lib/providers/{nvd.js → nvd/index.js} +18 -4
  279. package/lib/{nvd-package-ranges.js → providers/nvd/package-ranges.js} +38 -22
  280. package/lib/{osv-db.js → providers/osv/db.js} +18 -16
  281. package/lib/providers/{osv.js → osv/index.js} +1 -1
  282. package/lib/{osv.js → providers/osv/query.js} +150 -80
  283. package/lib/providers/package-releases/index.js +26 -0
  284. package/lib/{packagist-audit.js → providers/packagist/audit.js} +31 -11
  285. package/lib/providers/{packagist.js → packagist/index.js} +1 -1
  286. package/lib/{proxy-throttle.js → providers/proxy-throttle.js} +17 -9
  287. package/lib/providers/{pypi.js → pypi/index.js} +1 -1
  288. package/lib/providers/redhat/bzip2.js +167 -0
  289. package/lib/providers/redhat/errata.js +75 -0
  290. package/lib/providers/redhat/index.js +10 -0
  291. package/lib/providers/redhat/oval.js +70 -0
  292. package/lib/providers/redhat/unfixed.js +127 -0
  293. package/lib/{registries.js → providers/registries.js} +4 -4
  294. package/lib/{retire.js → providers/retire/scan.js} +18 -18
  295. package/lib/providers/{ruby.js → ruby/index.js} +1 -1
  296. package/lib/providers/rubysec/advisories.js +177 -0
  297. package/lib/providers/rubysec/index.js +9 -0
  298. package/lib/{snyk.js → providers/snyk/client.js} +2 -2
  299. package/lib/{application-providers/spip-advisories.js → providers/spip/advisories.js} +5 -13
  300. package/lib/{vigievuln-advisories.js → providers/vigievuln/advisories.js} +4 -4
  301. package/lib/providers/wolfi/index.js +10 -0
  302. package/lib/providers/wolfi/secdb.js +47 -0
  303. package/lib/{application-providers/wordfence-client.js → providers/wordfence/client.js} +4 -4
  304. package/lib/providers/{wordfence.js → wordfence/index.js} +1 -1
  305. package/lib/{application-providers/wordfence-projection.js → providers/wordfence/projection.js} +14 -5
  306. package/lib/{resource-cache/wordfence.js → providers/wordfence/resource-cache.js} +2 -2
  307. package/lib/{application-providers/wordfence-v3.js → providers/wordfence/v3.js} +4 -5
  308. package/lib/providers/{wordpress.js → wordpress/index.js} +5 -0
  309. package/lib/providers/wpvulnerability/assess.js +181 -0
  310. package/lib/providers/wpvulnerability/index.js +12 -0
  311. package/lib/{charts.js → reports/charts.js} +25 -18
  312. package/lib/{csaf-export.js → reports/csaf-export.js} +16 -11
  313. package/lib/{cve-report.js → reports/cve-report.js} +453 -228
  314. package/lib/reports/detail.js +55 -0
  315. package/lib/{i18n.js → reports/i18n.js} +38 -2
  316. package/lib/{report-integrity.js → reports/integrity.js} +1 -1
  317. package/lib/{json-export.js → reports/json-export.js} +95 -24
  318. package/lib/{report-notices.js → reports/notices.js} +11 -6
  319. package/lib/{sarif-export.js → reports/sarif-export.js} +15 -10
  320. package/lib/{sbom-export.js → reports/sbom-export.js} +16 -11
  321. package/lib/{scan-completeness.js → scan/completeness.js} +1 -1
  322. package/lib/scan/coverage.js +114 -0
  323. package/lib/{provenance.js → scan/provenance.js} +12 -5
  324. package/lib/scan/reliability.js +157 -0
  325. package/lib/{source-health.js → scan/source-health.js} +52 -20
  326. package/lib/{source-profile.js → scan/source-profile.js} +3 -3
  327. package/lib/{hosted-proxy.js → service/hosted-proxy.js} +3 -3
  328. package/lib/{project-client.js → service/project-client.js} +20 -2
  329. package/lib/source-input.js +58 -0
  330. package/lib/system-inventory/advisories.js +89 -16
  331. package/lib/system-inventory/collect.js +33 -10
  332. package/lib/system-inventory/distribution-sources.js +32 -15
  333. package/lib/system-inventory/package-applicability.js +51 -0
  334. package/lib/system-inventory/targeted.js +8 -5
  335. package/lib/ui.js +11 -0
  336. package/package.json +49 -2
  337. package/vigievuln.js +483 -352
  338. package/lib/cache-archive.js +0 -676
  339. package/lib/osv-legacy.js +0 -57
  340. package/lib/risk-evidence.js +0 -18
  341. package/lib/scan-coverage.js +0 -61
  342. /package/lib/{application-plugins → applications/plugins}/joomla.js +0 -0
  343. /package/lib/{application-plugins → applications/plugins}/laravel.js +0 -0
  344. /package/lib/{application-plugins → applications/plugins}/magento.js +0 -0
  345. /package/lib/{application-plugins → applications/plugins}/plugin.interface.js +0 -0
  346. /package/lib/{application-plugins → applications/plugins}/select.js +0 -0
  347. /package/lib/{advisory-compression.js → cache/advisory-compression.js} +0 -0
  348. /package/lib/{compression-dictionary.js → cache/compression-dictionary.js} +0 -0
  349. /package/lib/{cache-directory.js → cache/directory.js} +0 -0
  350. /package/lib/{cache-policy.js → cache/policy.js} +0 -0
  351. /package/lib/{resource-cache → cache/resource}/snapshot-projection.js +0 -0
  352. /package/lib/{cache-startup.js → cache/startup.js} +0 -0
  353. /package/lib/{ruby-version.js → codecs/ruby/version.js} +0 -0
  354. /package/lib/{applicability-evidence.js → findings/applicability-evidence.js} +0 -0
  355. /package/lib/{line-stream.js → inventory/line-stream.js} +0 -0
  356. /package/lib/{package-metadata.js → inventory/package-metadata.js} +0 -0
  357. /package/lib/providers/{alpine.js → alpine/index.js} +0 -0
  358. /package/lib/providers/{certfr.js → certfr/index.js} +0 -0
  359. /package/lib/{native-cna-identities.js → providers/cveproject/cna-identities.js} +0 -0
  360. /package/lib/providers/{euvd.js → euvd/index.js} +0 -0
  361. /package/lib/providers/{gcve.js → gcve/index.js} +0 -0
  362. /package/lib/providers/{kev.js → kev/index.js} +0 -0
  363. /package/lib/providers/{nginx.js → nginx/index.js} +0 -0
  364. /package/lib/{nvd-bulk.js → providers/nvd/bulk.js} +0 -0
  365. /package/lib/providers/{osvdb.js → osvdb/index.js} +0 -0
  366. /package/lib/{request-failure.js → providers/request-failure.js} +0 -0
  367. /package/lib/providers/{retire.js → retire/index.js} +0 -0
  368. /package/lib/providers/{vigievuln.js → vigievuln/index.js} +0 -0
  369. /package/lib/{application-providers/wp-checksums.js → providers/wordpress/checksums.js} +0 -0
  370. /package/lib/{report-time.js → reports/time.js} +0 -0
  371. /package/lib/{xlsx-export.js → reports/xlsx-export.js} +0 -0
  372. /package/lib/{diagnostics.js → scan/diagnostics.js} +0 -0
  373. /package/lib/{account-client.js → service/account-client.js} +0 -0
  374. /package/lib/{account-session.js → service/account-session.js} +0 -0
  375. /package/lib/{account-terms.js → service/account-terms.js} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,68 @@
1
1
  # Release notes — VigieVuln
2
2
 
3
+ ## Unreleased
4
+
5
+ - Close every HTML and Word report on a disclaimer, in the report language, and carry it in `findings.json` (`disclaimer`): an automated aid built from public data that may be incomplete or wrong, provided as is, without liability.
6
+ - Scan only the container images a project declares with `vigievuln scan <path> --images-only`: the report goes to `./vigievuln-report-images`, apart from the dependency report of a scan without the option.
7
+ - Acquire images whose index states the image config type as `artifactType` (cgr.dev: Wolfi, Chainguard); they were refused as "no runnable images".
8
+ - Ask a relay for one release of the Freexian tracker: the complete record of a kernel package exceeded the relay's answer limit, so a proxied scan of a Debian system lost that source.
9
+ - Stop requiring a second advisory source for components owned by an OS package: a proxied system scan reported them unassessed.
10
+ - Follow Maven dependencies whose version comes from `dependencyManagement`, a parent or a BOM in hosted project monitoring: `watch` exported them with an unknown relation, which excluded them (4 of 93 Maven dependencies of a multi-module project were followed, 54 now).
11
+ - Show why the service refused a project (`project request failed (HTTP 403): direct dependency limit exceeded (263/100 distinct coordinates)`) instead of the status alone.
12
+ - Count the reviewed VigieVuln advisories as a consulted source when OSV is disabled: a proxied scan run with `--no-osv` was cancelled as unassessed although they had answered.
13
+ - Treat a consultation made during the run as current under `--advisory-query-ttl 0`: the reviewed advisories just fetched were reported stale and not counted.
14
+ - Correct the `watch` help and the usage guide, which still named the removed `-s` option.
15
+
16
+ ## [1.4.0] — 2026-11-28
17
+
18
+ - Assess Wolfi and Chainguard OS systems from the security database of their package repositories.
19
+ - Assess Red Hat Enterprise Linux and UBI, CentOS Linux, Oracle Linux, SUSE Linux Enterprise, openSUSE Leap and Tumbleweed, Azure Linux and CBL-Mariner, Mageia and openEuler systems from their `os-release` identity, without any advisory configuration. On a Red Hat UBI 8.6 image every fixed advisory reported by Trivy (567) and Grype (587) is found.
20
+ - Report the vulnerabilities Red Hat states are present without a fix (affected, fix deferred, will not fix, out of support scope), from its OVAL data, for Red Hat Enterprise Linux 6 to 9 and the distributions rebuilt from it; one finding per source package names the packages concerned. Use Red Hat errata as a second source for AlmaLinux and Rocky Linux, whose own errata miss updates: on a Rocky Linux 8.6 image, 2 700 of the 2 705 fixed advisories reported by Grype are found (1 910 before) and 4 539 of its 4 593 unfixed ones.
21
+ - Match RubyGems dependencies, in projects and in images, against the Ruby advisory database (rubysec/ruby-advisory-db, the data `bundler-audit` reads), on by default: it carries advisories OSV does not have for gems. On Mastodon v4.0.2 it adds 27 advisories (net-ssh, puma, doorkeeper, sanitize…) and every finding of Trivy is now covered (526 of 526).
22
+ - Reorganise `lib/`: only command entry points and configuration remain at its root; each data source has its folder under `lib/providers/<name>/` holding its requests and its own code, and the other modules are grouped by theme (`cache`, `advisories`, `findings`, `scan`, `inventory`, `reports`, `images`, `applications`, `maintenance`, `service`). `lib/README.md` describes the layout. The `exports` map of `package.json` keeps the module paths used by the server working.
23
+ - Group system-scan advisories by project or CMS instance, with direct and transitive findings and their source paths.
24
+ - Keep CMS modules and themes under their instance. Group extension advisories by owner, give private extensions their own dependency breakdown, and collapse component inventories by default.
25
+ - Give the host its own inventory and findings for interpreters, services and system dependencies. Show the container images chapter when local image inspection was requested.
26
+
27
+ - Recognise Ghost and Redmine through the shared application plugins, read multi-document pnpm lockfiles, and attribute direct, indirect and development dependencies to the owning application.
28
+ - Report unique advisory identifiers alongside active occurrences, show distribution urgency beside CVSS, and distinguish security maintenance from end of life. Supply verified remediation versions for RubyGems, PyPI and stable Composer releases where the advisory establishes a safe boundary.
29
+ - Compare upstream language advisories for distribution-owned components and retain uncertain downstream applicability with its evidence. Identify the PrestaShop Docker installation template separately from the deployed tree.
30
+
31
+ - Run system work with `vigievuln system collect` and `vigievuln system scan`; they replace the `collect`, `analyse` and `image` commands. Scan a project with `vigievuln scan <path>`; the `-s`, `--src` and `--source` flags are rejected.
32
+ - Publish the reports of a scan with coverage gaps, marked incomplete: a banner and chapter 0 list each gap, `summary.scanReliable` is `false`, and the terminal names the checks that did not complete. A scan is cancelled only without any inventory or any assessing advisory source. `--fail-on-incomplete` restores cancellation for the listed capabilities.
33
+ - Scan images and systems that contain systemd: backslashes in file names are accepted on POSIX hosts. Clamp symbolic links that climb above the root, keep a symlink target when an opaque whiteout replaces the link, and read the dpkg `status.d` directory of distroless images.
34
+ - Treat the members of pnpm, npm and Yarn workspaces as covered by the root lockfile, and stop warning about manifests that declare no dependency. Report a Maven type or classifier variant only when it resolves to another version, and name the coordinates.
35
+ - Read every OSV severity entry, so a CVSS v4 vector listed first no longer hides a scorable v3 vector or the distribution rating. Take severity, score and vector from one source when merging, the highest rating first. Honour OSV `versions` lists beside ranges for system packages and Composer pre-release rules for Drupal advisories.
36
+ - Assess signed Debian and Ubuntu kernel images under the `linux` source. Match RPM errata for packages with an epoch, and apply a module-stream erratum only to packages of that stream. Version a Go application built from a checkout from its own linker flag (`-X main.Version=…`) or an unprefixed version label, once the Go module proxy records the same revision: the 80 advisories of Gitea 1.23.8 reported by other scanners are now found. Name Go applications whose main module still has no verifiable version.
37
+ - Record each package's CVEProject consultation in a project cache archive, so an air-gapped scan of a prepared project is no longer reported as lacking a second advisory source. Keep `cache prepare` free of finding gates.
38
+ - Assess WordPress plugins and themes by default, under their header or directory slug, and read plugin headers as WordPress does (Akismet was not inventoried). List private CMS extensions, including those the public catalogue does not know, with the private packages of the other ecosystems instead of marking the report incomplete.
39
+ - Consult the publisher advisories of a detected Drupal, PrestaShop, TYPO3 or SPIP installation in every online scan; the `--…-advisories-live` options are no longer needed.
40
+ - Let `--fail-on-incomplete` pass on a complete project that contains no CMS application. Stop warning about Composer, PyPI and NuGet manifests that declare no dependency.
41
+ - Report a distribution CVE once instead of once per advisory lane (`DEBIAN-CVE-x` and `CVE-x`), and fold a DSA or DLA announcement into the CVEs it covers. Detail an advisory once for all the packages built from one source package, naming the others in its row, and keep full detail for the 100 highest-priority advisories of each source or component; the others are counted in the HTML report and kept as compact entries in the JSON, SBOM, SARIF and CSAF exports. On a Debian 12 system with a kernel package the HTML report goes from 195 MB to 10 MB and `findings.json` from 278 MB to 39 MB.
42
+ - Read large batches of CVE records from the NVD mirror first, even with an API key, and request ENISA EUVD records only for detailed findings and CVEs still lacking a rating or a description: an online scan of a system with a kernel package goes from 92 minutes to 8 with an empty cache. Record the duration of each system-scan stage and report a stage or a collection that runs for more than 30 seconds on stderr.
43
+ - Read the source package and the epoch a CycloneDX or SPDX producer declares for a system package (package URL `upstream` and `epoch` qualifiers, VigieVuln, Trivy and Syft properties): a scanned SBOM of an Alpine image reported nothing, and a Trivy SBOM of Debian 12 now gives the same 242 findings as the image. Keep a distribution source that returns several hundred thousand assessments on a large host instead of losing it to a stack overflow.
44
+ - Keep the Freexian tracker data of every Debian system assessed on a cache: scanning or preparing a second system of the same release no longer left the first one with partial coverage when replayed offline.
45
+ - Report the unreadable paths of a collection run without root as one notice with their count, instead of one warning per path.
46
+ - Inventory single-file WordPress plugins placed directly in `plugins/` and assess them under the slug of their official `Plugin URI`.
47
+ - On AlmaLinux and Rocky Linux: no longer count an imported RPM signing key (`gpg-pubkey`) as a package without advisory coverage, state in the report that packages are assessed against published errata only, and report a CVE identifier that the record sources definitively do not hold as not published yet instead of marking the scan incomplete.
48
+ - Leave kernel, virtual, network and FUSE filesystems out of a live system collection, and add `--exclude-path` to `system collect` and `system scan`.
49
+ - Bind registry credentials to one host with `registry` in the `--registry-auth` file or `VIGIEVULN_REGISTRY_HOST`; bound credentials are never sent to another registry.
50
+ - Do not apply a malicious-package advisory to a same-named dependency that the lockfile resolves from a Git forge or a local path.
51
+ - Fail a project scan on a known-malicious package without `--fail-on`, as system scans do. Keep `cache import --force` a merge unless `--replace` is given. Warn that the advisory tracker of an end-of-life distribution is frozen.
52
+
53
+ ## [1.3.4] — 2026-11-25
54
+
55
+ - Collect Linux filesystems, local container images and supported VM disks offline with `vigievuln collect`. Replay the portable inventory and generate reports on the auditor machine with `vigievuln analyse`.
56
+ - Identify CMS and framework instances, keep their evidence paths, and report installed libraries and other system dependencies separately. Add local Docker image selection from project declarations.
57
+ - Include a Linux x86_64 musl archive for Alpine alongside the glibc release.
58
+ - Show progress while processing CVEProject records during advisory preparation.
59
+
60
+ ## [1.3.3] — 2026-11-22
61
+
62
+ - Identify interpreters, embedded runtimes and network services in container images with 75 product fingerprints. Extract versions from supported ELF binaries, Windows resources and installation metadata.
63
+ - Check supported upstream binary versions against NVD and retain distribution advisory handling for installed OS packages.
64
+ - Group interpreters and services in image details and CVE reports, including detection evidence, unknown versions and incomplete advisory checks.
65
+
3
66
  ## [1.3.2] — 2026-11-20
4
67
 
5
68
  - Group image CVEs by installation source and show declared image references first; omit unaffected image sub-dependencies from report inventories.
package/README.md CHANGED
@@ -10,9 +10,9 @@
10
10
  [![CI](https://github.com/9pings/VigieVuln/actions/workflows/ci.yml/badge.svg)](https://github.com/9pings/VigieVuln/actions/workflows/ci.yml)
11
11
 
12
12
 
13
- **VigieVuln 1.3.2** is a polyglot dependency auditor for code audits.
13
+ **VigieVuln 1.4.0** is a polyglot dependency auditor for code audits.
14
14
 
15
- It scans dependencies and **9 CMS/frameworks** in one pass without build tools, supports **air-gapped** workflows, detects private packages, binaries and certificates, and produces HTML, JSON and other reports.
15
+ It scans dependencies of **10 ecosystems + 11 CMS/frameworks + systems/dockers images** in one pass without build tools, supports **air-gapped** workflows, detects private packages, binaries and certificates, and produces HTML, JSON and other reports.
16
16
 
17
17
 
18
18
  🌐 **[Project site & docs →](https://9pings.github.io/VigieVuln/)**
@@ -25,15 +25,14 @@ It scans dependencies and **9 CMS/frameworks** in one pass without build tools,
25
25
 
26
26
  - **Multiple ecosystems in one pass**: Maven and Gradle, npm/Yarn/pnpm, Composer, PyPI, NuGet, Go and Ruby — plus **vendored JS**, committed **native binaries** and **embedded JARs**.
27
27
  - **No build tools**; No `mvn`/`gradle`/`npm`/`pip`/`dotnet`/`go`, no `node_modules/` → [how](docs/COMPARISON.md#how-its-autonomous-no-build-tools)
28
- - **CVE from multiple sources, merged & prioritised**; CVEProject + OSV.dev + Packagist security advisories + NVD, ranked **CISA KEV → EPSS → CVSS**.
28
+ - **CVE from multiple sources, merged & prioritised**; CVEProject + OSV.dev + Packagist security advisories + Ruby advisory database + NVD, ranked **CISA KEV → EPSS → CVSS**.
29
29
  - **European vulnerability references**: ENISA **EUVD** id + ENISA's exploited flag, **GCVE** id, and the **CERT-FR** advisories citing it. Hosted proxy lookups send relevant CVE identifiers to the proxy.
30
30
  - **Beyond CVEs**; Report **EOL and out-of-active-support** frameworks, deprecated/abandoned/yanked, outdated, SPDX **licenses**, and **private/internal packages**
31
31
  - **CMS & frameworks audited as instances**; Symfony, Laravel, WordPress, Drupal, Joomla, PrestaShop, TYPO3, Magento/Adobe Commerce and SPIP with per-instance inventory (core, plugins, themes, bundles, components) → [the dedicated guide](docs/CMS-FRAMEWORKS.md)
32
32
  - **Crypto material**; committed **certificates**, **private vs public keys** across PEM/OpenSSH/PuTTY/PGP and JKS/PKCS#12 keystores.
33
33
  - **Air-gapped flow**; **zero network under `--offline`** → [Benchmark](docs/BENCHMARK.md) · [Air-gapped](#air-gapped-audits)
34
- - **Native image audits**; Docker/OCI archives, registries and rootfs inventories without Docker; Linux packages, ELF/Go metadata and publisher SBOMs, with explicit coverage. Image analysis in source scans is off by default; use `--images` or the separate `vigievuln image` command → [image guide](docs/IMAGES.md)
35
- - **Hosted proxy with a verified account**; `--set-proxy-cache vigievuln` → [hosted proxy](docs/USAGE.md#hosted-vigievuln-proxy)
36
- - **Project monitoring**; `vigievuln watch ./project --name 'My Project'` — one free project with up to **100 distinct direct dependency coordinates** → [monitoring guide](docs/USAGE.md#project-monitoring)
34
+ - **Native image and system audits**; Docker/OCI archives, registries, root filesystems, VM disks and live-system inventories without Docker; Linux packages of [a dozen distribution families](docs/IMAGES.md#supported-distributions), ELF/Go metadata and publisher SBOMs, with explicit coverage. Image analysis in source scans is off by default; use `--images` or the separate `vigievuln system scan` command → [image guide](docs/IMAGES.md)
35
+ - **Hosted proxy/cache with a verified account**; `--set-proxy-cache vigievuln` → [hosted proxy](docs/USAGE.md#hosted-vigievuln-proxy)
37
36
  - **Shared cache for a scanner fleet**; `vigievuln serve-cache` + `--proxy-cache` → [cache usage](docs/USAGE.md#shared-proxy-cache-server-serve-cache----proxy-cache)
38
37
  - **Supply-chain risk**; known-**malicious** advisories and suspected **typosquats** (`--typosquat`).
39
38
  - **Audit-grade**; every report carries a **provenance manifest** and a **Methodology & limitations** chapter; a `SHA256SUMS`;
@@ -45,7 +44,7 @@ It scans dependencies and **9 CMS/frameworks** in one pass without build tools,
45
44
  📖 **[Usage & all flags](docs/USAGE.md)** · **[Architecture](docs/ARCHITECTURE.md)** · **[Comparison vs other tools](docs/COMPARISON.md)** · **[Data sources](docs/DATA-SOURCES.md)**
46
45
 
47
46
  > [!IMPORTANT]
48
- > **Although VigieVuln is an excellent tool—comprehensive, rigorously tested, and regularly updated—it is still relatively new, and like any other scanner, it may occasionally produce errors.
47
+ > **Although VigieVuln is an excellent tool—comprehensive, rigorously tested, and regularly updated; it is still relatively new, and like any other scanner, it may occasionally produce errors.
49
48
  > Whenever possible, cross-check important findings with another analysis tool — though, among the tools we compared, none offers reports as comprehensive as VigieVuln.**
50
49
 
51
50
  ## Quick start
@@ -77,10 +76,26 @@ Add `--images` to scan supported container images referenced by the project alon
77
76
 
78
77
  ```bash
79
78
  vigievuln scan ./code --images
79
+ vigievuln scan ./code --images-only # the images alone → ./vigievuln-report-images
80
80
  ```
81
81
 
82
+ Images often bring far more findings than the dependencies: `--images-only` keeps them in a report of their own, next to the dependency report of a scan without the option.
83
+
82
84
  The report keeps source and image findings in separate summaries and charts, highlighting vulnerable images and their most critical CVEs. [Image inputs, options and coverage](docs/IMAGES.md).
83
85
 
86
+ ### Scan container / system images
87
+
88
+ `vigievuln system scan` audits an image, an archive, a root filesystem, a VM disk or a publisher SBOM without Docker: distribution packages, installed applications and binaries.
89
+
90
+ ```bash
91
+ vigievuln system scan nginx:1.25 # image from the local Docker engine or a registry
92
+ vigievuln system scan ./rootfs # directory, docker save archive, VM disk or SBOM
93
+ sudo vigievuln system collect / --output server.json # on the server: inventory only, no network
94
+ vigievuln system scan server.json # on the auditor machine
95
+ ```
96
+
97
+ Debian, Ubuntu, Alpine, the Red Hat family, SUSE, Azure Linux, Wolfi and others are assessed from their own advisories; what could not be assessed is stated in the report. [Inputs, supported distributions and limits](docs/IMAGES.md#supported-distributions).
98
+
84
99
  ## Why use vigievuln ?
85
100
 
86
101
  An author-maintained comparison of audit workflows; see [`docs/COMPARISON.md`](docs/COMPARISON.md)
@@ -100,7 +115,7 @@ for versions, sources and limitations. `⚠️` indicates partial or conditional
100
115
  | **Send a report, not a JSON dump** | ✅ HTML + `.doc` | ⚠️ HTML list | ⚠️ template | ❌ | ⚠️ HTML list | ⚠️ `snyk-to-html` |
101
116
  | **Charts, per-CVE drill-down and a pasteable Word copy** | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |
102
117
  | **Make delta reports showing only what changed** | ✅ `--baseline` | ❌ | ❌ | ❌ | ❌ | ⚠️ cloud |
103
- | **Audit CMS/framework instances as such** — plugins, themes, publisher advisories | ✅ 9 products | ❌ | ❌ | ❌ | ❌ | ❌ |
118
+ | **Audit CMS/framework instances as such** — plugins, themes, publisher advisories | ✅ 11 products | ❌ | ❌ | ❌ | ❌ | ❌ |
104
119
  | **Share one cache across the fleet**, API keys server-side | ✅ `serve-cache` | ❌ | ⚠️ local DB | ⚠️ local DB | ⚠️ local DB | ⚠️ cloud |
105
120
 
106
121
 
@@ -109,16 +124,16 @@ for versions, sources and limitations. `⚠️` indicates partial or conditional
109
124
  ## More examples
110
125
 
111
126
  ```bash
112
- vigievuln -s ./proj -e "^com\.acme\." # exclude private libs (coord regex)
113
- vigievuln -s ./proj -t ../clean -e "^com\.acme\." # extract only: normalised descriptors, private modules flagged
114
- vigievuln -s ./proj -t ../clean -e "^com\.acme\." -a snyk # same extraction + scan + merge Snyk
115
- vigievuln -s ./proj --offline # fully offline (zero network, needs a warmed cache)
116
- vigievuln -s ./proj -a osv-db,typosquat # OSV advisory matching + typosquat
117
- vigievuln -s ./proj -a licenses --fail-on high # license chapter + CI gate
118
- vigievuln -s ./proj --report-json --baseline last.json --fail-on-new # differential audit: fail CI on NEW findings
127
+ vigievuln scan ./proj -e "^com\.acme\." # exclude private libs (coord regex)
128
+ vigievuln scan ./proj -t ../clean -e "^com\.acme\." # extract only: normalised descriptors, private modules flagged
129
+ vigievuln scan ./proj -t ../clean -e "^com\.acme\." -a snyk # same extraction + scan + merge Snyk
130
+ vigievuln scan ./proj --offline # fully offline (zero network, needs a warmed cache)
131
+ vigievuln scan ./proj -a osv-db,typosquat # OSV advisory matching + typosquat
132
+ vigievuln scan ./proj -a licenses --fail-on high # license chapter + CI gate
133
+ vigievuln scan ./proj --report-json --baseline last.json --fail-on-new # differential audit: fail CI on NEW findings
119
134
  vigievuln diff last.json this.json # standalone diff of two findings JSONs
120
- vigievuln -s ./proj -r html,json,xlsx # include the Excel workbook
121
- vigievuln -s ./site --app-plugins wordpress --private-component wp-content/plugins/acme --offline
135
+ vigievuln scan ./proj -r html,json,xlsx # include the Excel workbook
136
+ vigievuln scan ./site --app-plugins wordpress --private-component wp-content/plugins/acme --offline
122
137
  ```
123
138
 
124
139
  > [!IMPORTANT]
@@ -153,14 +168,14 @@ Scan a confidential or disconnected project by preparing its advisory and depend
153
168
 
154
169
  ```bash
155
170
  # Offline: export coordinates, excluding internal packages; review before transfer
156
- vigievuln -s ./proj -e "^(client|internal)\." --export-anonymized deps.json
171
+ vigievuln scan ./proj -e "^(client|internal)\." --export-anonymized deps.json
157
172
 
158
173
  # Online: prepare a project-specific cache from the reviewed descriptor
159
174
  vigievuln cache prepare deps.json --output vigievuln-cache.tar.gz
160
175
 
161
176
  # Offline: import the cache and generate the report locally
162
177
  vigievuln --import-cache vigievuln-cache.tar.gz
163
- vigievuln -s ./proj --offline
178
+ vigievuln scan ./proj --offline
164
179
  ```
165
180
 
166
181
  Review the descriptor before sharing and the report's coverage and freshness information after scanning. An incomplete or outdated cache can limit results. [Offline workflow and cache options](docs/USAGE.md).
@@ -6,16 +6,27 @@ _fad_check_complete() {
6
6
  COMPREPLY=()
7
7
  cur="${COMP_WORDS[COMP_CWORD]}"
8
8
  prev="${COMP_WORDS[COMP_CWORD-1]}"
9
- opts="--vigievuln-proxy --proxy-cache --proxy-cache-token --src --target --exclude --verbose --force-update --no-report --no-transitive --no-all-libs --no-osv --no-nvd --no-epss --no-kev --licenses --no-retire --retire-refresh --report-output --report-html --report-doc --report-xlsx --report-sbom --report-csaf --report-json --report-sarif --fail-on --fail-on-new --baseline --no-checksums --ignore --vex --ignore-test --cve-refresh --cve-offline --snyk --transitive-depth --offline --ecosystem --no-maven --no-npm --no-yarn --no-nuget --no-composer --no-pypi --no-go --no-ruby --no-jars --no-binaries --no-certs --cert-expiry-days --retries --no-nvd-mirror --eol-support --no-eol --no-js --set-nvd-key --show-config --completion --help --version --disable --activate --report --help-all -s -t -e -h -v -d -a -r -o"
9
+ opts="--activate --add-repo --advisory-config --advisory-query-ttl --allow-insecure-http --app-plugins --auth --baseline --cache-dir --cert-expiry-days --completion --config --cve-offline --cve-refresh --definitions --disable --distribution --docker --docker-socket --drupal-advisories --drupal-advisories-live --ecosystem --enrich --eol-support --exclude --exclude-path --expected-digest --export --export-anonymized --export-cache --export-inventory --fail-on --fail-on-incomplete --fail-on-new --force --force-update --gcve-offline --help --help-all --id --ignore --ignore-test --image --image-platform --image-retire --images --import-advisories --import-anonymized --import-cache --include-config --insecure --inventory --lang --licenses --limits --list-app-plugins --list-repos --max-advisory-age --name --no-all-libs --no-binaries --no-certfr --no-certs --no-checksums --no-composer --no-default-excludes --no-distro-advisories --no-eol --no-eol-support --no-epss --no-euvd --no-gcve --no-go --no-gradle --no-image-retire --no-images --no-jars --no-js --no-kev --no-maven --no-npm --no-nuget --no-nvd --no-nvd-mirror --no-osv --no-osv-db --no-packagist-audit --no-ruby-advisories --no-publisher-advisories --no-pypi --no-report --no-retire --no-reuse-stable-advisories --no-ruby --no-transitive --no-vendored-js-inventory --no-yarn --nvd-cpe-match --offline --osv-db --osv-db-refresh --output --platform --prefer-sbom --prepare-cache --prepare-offline --prepare-project --prestashop-advisories --prestashop-advisories-live --private-component --projects --proxy --proxy-cache --proxy-cache-token --proxy-rate-limit-wait-ms --public-component --registry --registry-auth --remove-repo --replace --repo --report --report-csaf --report-doc --report-html --report-json --report-output --report-sarif --report-sbom --report-xlsx --reports --retire-refresh --retries --reuse-stable-advisories --sbom --scan-context --set-nvd-key --set-proxy-cache --set-proxy-cache-token --show-config --snapshot-complete --snyk --source-profile --spip-advisories --spip-advisories-live --src --stable-advisory-age-days --sync-advisories --target --token --transitive-depth --typo3-advisories --typo3-advisories-live --typosquat --unset-proxy-cache --unset-proxy-cache-token --verbose --version --vex --vigievuln-proxy --wordfence-api-key --wordfence-feed --wordfence-feed-url --wordfence-live --wp-checksums --wp-checksums-live --wp-checksums-locale"
10
+ if [[ "$COMP_CWORD" -eq 1 ]]; then
11
+ COMPREPLY=( $(compgen -W "scan system watch login logout whoami setup config cache diff serve-cache" -- "$cur") )
12
+ return 0
13
+ fi
14
+ if [[ "${COMP_WORDS[1]}" == system && "$COMP_CWORD" -eq 2 ]]; then
15
+ COMPREPLY=( $(compgen -W "collect scan" -- "$cur") )
16
+ return 0
17
+ fi
10
18
  case "$prev" in
11
- --src|-s|--target|-t|--report-output|-o)
19
+ scan|collect)
20
+ COMPREPLY=( $(compgen -f -- "$cur") )
21
+ return 0 ;;
22
+ --target|-t|--report-output|-o)
12
23
  COMPREPLY=( $(compgen -d -- "$cur") )
13
24
  return 0 ;;
14
25
  --vigievuln-proxy)
15
26
  COMPREPLY=( $(compgen -W "fr com" -- "$cur") )
16
27
  return 0 ;;
17
28
  --ecosystem)
18
- COMPREPLY=( $(compgen -W "auto all maven npm yarn nuget composer pypi" -- "$cur") )
29
+ COMPREPLY=( $(compgen -W "auto all maven gradle npm yarn nuget composer pypi go ruby binary" -- "$cur") )
19
30
  return 0 ;;
20
31
  --completion)
21
32
  COMPREPLY=( $(compgen -W "bash zsh" -- "$cur") )
@@ -1,24 +1,27 @@
1
1
  #compdef vigievuln fad-checker fad
2
2
  # Zsh completion for vigievuln (VigieVuln — autonomous dependency auditor)
3
3
  _fad_check() {
4
+ if (( CURRENT == 2 )); then
5
+ compadd scan system watch login logout whoami setup config cache diff serve-cache
6
+ return
7
+ fi
8
+ if [[ ${words[2]} == system && $CURRENT == 3 ]]; then
9
+ compadd collect scan
10
+ return
11
+ fi
4
12
  local -a opts
5
13
  opts=(
6
14
  '--vigievuln-proxy[Use the hosted proxy]::domain:(fr com)'
7
15
  '--proxy-cache[Shared proxy URL]:url:'
8
16
  '--proxy-cache-token[Proxy authentication key]:token:'
9
- '-s[root directory containing pom.xml files]:directory:_directories'
10
- '--src[root directory containing pom.xml files]:directory:_directories'
11
17
  '-t[output directory]:directory:_directories'
12
18
  '--target[output directory]:directory:_directories'
13
19
  '-e[regex of groupId to exclude]:regex:'
14
20
  '--exclude[regex of groupId to exclude]:regex:'
15
- '-a[query Maven Central]'
16
- '--allLibs[query Maven Central]'
17
- '-v[verbose]'
21
+ '-v[print the version]'
18
22
  '--verbose[verbose]'
19
23
  '--force-update[revalidate online sources]'
20
- '--test[read-only]'
21
- '--report[generate CVE/EOL/obsolete report]'
24
+ '(-r --report)'{-r,--report}'[outputs to write: html,doc,xlsx,sbom,csaf,json,sarif]:list:'
22
25
  '--report-output[base dir for default-named outputs]:directory:_directories'
23
26
  '--report-html[write HTML report]::file:_files'
24
27
  '--report-doc[write Word .doc report]::file:_files'
@@ -53,7 +56,7 @@ _fad_check() {
53
56
  '--cve-refresh[force CVE re-download]'
54
57
  '--cve-offline[use cached CVE only]'
55
58
  '--snyk[run snyk and merge]'
56
- '--ecosystem[codecs to run]:list:(auto all maven npm yarn nuget composer pypi)'
59
+ '--ecosystem[codecs to run]:list:(auto all maven gradle npm yarn nuget composer pypi go ruby binary)'
57
60
  '--no-maven[skip the Maven codec]'
58
61
  '--no-npm[skip the npm codec]'
59
62
  '--no-yarn[skip the Yarn codec]'
@@ -0,0 +1,80 @@
1
+ 'use strict';
2
+
3
+ // Literal imports keep all fingerprints available in standalone builds.
4
+ module.exports = [
5
+ require('./interpreters/javascript/bun.json'),
6
+ require('./interpreters/javascript/deno.json'),
7
+ require('./interpreters/javascript/electron.json'),
8
+ require('./interpreters/javascript/gjs.json'),
9
+ require('./interpreters/javascript/javascriptcore.json'),
10
+ require('./interpreters/javascript/jscgtk.json'),
11
+ require('./interpreters/javascript/node.json'),
12
+ require('./interpreters/javascript/nwjs.json'),
13
+ require('./interpreters/javascript/webkitgtk.json'),
14
+ require('./interpreters/javascript/wpewebkit.json'),
15
+ require('./interpreters/languages/dotnet.json'),
16
+ require('./interpreters/languages/erlang.json'),
17
+ require('./interpreters/languages/gawk.json'),
18
+ require('./interpreters/languages/guile.json'),
19
+ require('./interpreters/languages/java.json'),
20
+ require('./interpreters/languages/julia.json'),
21
+ require('./interpreters/languages/lua.json'),
22
+ require('./interpreters/languages/luajit.json'),
23
+ require('./interpreters/languages/perl.json'),
24
+ require('./interpreters/languages/php.json'),
25
+ require('./interpreters/languages/powershell.json'),
26
+ require('./interpreters/languages/pypy.json'),
27
+ require('./interpreters/languages/python.json'),
28
+ require('./interpreters/languages/r.json'),
29
+ require('./interpreters/languages/racket.json'),
30
+ require('./interpreters/languages/raku.json'),
31
+ require('./interpreters/languages/ruby.json'),
32
+ require('./interpreters/languages/tcl.json'),
33
+ require('./interpreters/shells/bash.json'),
34
+ require('./interpreters/shells/dash.json'),
35
+ require('./interpreters/shells/fish.json'),
36
+ require('./interpreters/shells/ksh.json'),
37
+ require('./interpreters/shells/zsh.json'),
38
+ require('./services/databases/clickhouse.json'),
39
+ require('./services/databases/elasticsearch.json'),
40
+ require('./services/databases/etcd.json'),
41
+ require('./services/databases/mariadb.json'),
42
+ require('./services/databases/memcached.json'),
43
+ require('./services/databases/mongo.json'),
44
+ require('./services/databases/mysql.json'),
45
+ require('./services/databases/opensearch.json'),
46
+ require('./services/databases/postgres.json'),
47
+ require('./services/databases/redis.json'),
48
+ require('./services/databases/valkey.json'),
49
+ require('./services/dns-directory/bind.json'),
50
+ require('./services/dns-directory/dnsmasq.json'),
51
+ require('./services/dns-directory/slapd.json'),
52
+ require('./services/dns-directory/unbound.json'),
53
+ require('./services/mail/cyrus.json'),
54
+ require('./services/mail/dovecot.json'),
55
+ require('./services/mail/exim.json'),
56
+ require('./services/mail/opendkim.json'),
57
+ require('./services/mail/opensmtpd.json'),
58
+ require('./services/mail/postfix.json'),
59
+ require('./services/mail/rspamd.json'),
60
+ require('./services/mail/sendmail.json'),
61
+ require('./services/messaging/kafka.json'),
62
+ require('./services/messaging/mosquitto.json'),
63
+ require('./services/messaging/nats.json'),
64
+ require('./services/messaging/rabbitmq.json'),
65
+ require('./services/remote-access/dropbear.json'),
66
+ require('./services/remote-access/openssh.json'),
67
+ require('./services/remote-access/proftpd.json'),
68
+ require('./services/remote-access/samba.json'),
69
+ require('./services/remote-access/vsftpd.json'),
70
+ require('./services/web-proxies/apache.json'),
71
+ require('./services/web-proxies/caddy.json'),
72
+ require('./services/web-proxies/envoy.json'),
73
+ require('./services/web-proxies/haproxy.json'),
74
+ require('./services/web-proxies/lighttpd.json'),
75
+ require('./services/web-proxies/nginx.json'),
76
+ require('./services/web-proxies/squid.json'),
77
+ require('./services/web-proxies/tomcat.json'),
78
+ require('./services/web-proxies/traefik.json'),
79
+ require('./services/web-proxies/varnish.json'),
80
+ ];
@@ -0,0 +1,23 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "bun",
4
+ "label": "Bun",
5
+ "category": "interpreter",
6
+ "executable": "^bun$",
7
+ "osPackage": "^bun$",
8
+ "cpe": "anthropic:bun",
9
+ "elfBanner": "\\0Bun v(\\d+\\.\\d+\\.\\d+) \\(Linux (?:x64|arm64)\\)(?=\\0)",
10
+ "peVersionInfo": {
11
+ "names": [
12
+ "Bun"
13
+ ],
14
+ "originals": [
15
+ "bun.exe"
16
+ ],
17
+ "vendors": [
18
+ "Oven",
19
+ "Oven, Inc."
20
+ ]
21
+ },
22
+ "elfCodec": "bun-standalone"
23
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "deno",
4
+ "label": "Deno",
5
+ "category": "interpreter",
6
+ "executable": "^deno$",
7
+ "osPackage": "^deno$",
8
+ "cpe": "deno:deno",
9
+ "elfBanner": "\\x00Deno/(\\d+\\.\\d+\\.\\d+)\\x00"
10
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "electron",
4
+ "label": "Electron",
5
+ "category": "interpreter",
6
+ "executable": "^electron$",
7
+ "osPackage": "^electron(?:\\d+)?$",
8
+ "cpe": "electronjs:electron",
9
+ "peVersionInfo": {
10
+ "names": [
11
+ "Electron"
12
+ ],
13
+ "originals": [
14
+ "electron.exe"
15
+ ],
16
+ "vendors": [
17
+ "Electron"
18
+ ]
19
+ }
20
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "gjs",
4
+ "label": "GJS",
5
+ "category": "interpreter",
6
+ "executable": "^gjs$",
7
+ "osPackage": "^gjs$"
8
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "javascriptcore",
4
+ "label": "JavaScriptCore (WebKit)",
5
+ "category": "interpreter",
6
+ "executable": "^jsc$",
7
+ "osPackage": "^javascriptcore$",
8
+ "elfCodec": "jsc-build",
9
+ "elfBuildMarkers": [
10
+ "/Source/JavaScriptCore/",
11
+ "JSC::VM::",
12
+ "JSC Heap Collector Thread"
13
+ ]
14
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "jscgtk",
4
+ "label": "JavaScriptCoreGTK",
5
+ "category": "interpreter",
6
+ "executable": "^libjavascriptcoregtk-[\\d.]+\\.so(?:\\.\\d+)*$",
7
+ "osPackage": "^libjavascriptcoregtk-[\\d.]+-\\d+$",
8
+ "cpe": "webkitgtk:webkitgtk",
9
+ "elfCodec": "jsc-version"
10
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "node",
4
+ "label": "Node.js",
5
+ "category": "interpreter",
6
+ "executable": "^(?:node|nodejs)$",
7
+ "osPackage": "^nodejs$",
8
+ "cpe": "nodejs:node.js",
9
+ "elfBanner": "\\0node\\.js\\/v(\\d+\\.\\d+\\.\\d+)(?=\\0)",
10
+ "peVersionInfo": {
11
+ "names": [
12
+ "Node.js"
13
+ ],
14
+ "originals": [
15
+ "node.exe",
16
+ "node.dll"
17
+ ],
18
+ "vendors": [
19
+ "Node.js",
20
+ "OpenJS Foundation",
21
+ "Joyent, Inc."
22
+ ]
23
+ },
24
+ "elfLibrary": "^libnode\\.so(?:\\.\\d+)*$",
25
+ "elfCodec": "node-release"
26
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "nwjs",
4
+ "label": "NW.js",
5
+ "category": "interpreter",
6
+ "executable": "^(?:nw|nwjs)$",
7
+ "osPackage": "^nwjs$"
8
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "webkitgtk",
4
+ "label": "WebKitGTK",
5
+ "category": "interpreter",
6
+ "executable": "^libwebkit(?:2gtk|gtk)-[\\d.]+\\.so(?:\\.\\d+)*$",
7
+ "osPackage": "^(?:libwebkit(?:2gtk|gtk)-[\\d.]+-\\d+|webkit(?:2gtk|gtk)(?:[\\d.]+)?)$",
8
+ "cpe": "webkitgtk:webkitgtk",
9
+ "elfCodec": "webkit-version"
10
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "wpewebkit",
4
+ "label": "WPE WebKit",
5
+ "category": "interpreter",
6
+ "executable": "^libWPEWebKit-[\\d.]+\\.so(?:\\.\\d+)*$",
7
+ "osPackage": "^(?:libwpewebkit-[\\d.]+-\\d+|wpewebkit)$",
8
+ "cpe": "wpewebkit:wpe_webkit",
9
+ "elfCodec": "webkit-version"
10
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "dotnet",
4
+ "label": ".NET",
5
+ "category": "interpreter",
6
+ "executable": "^dotnet$",
7
+ "osPackage": "^(?:dotnet-runtime|aspnetcore-runtime)-\\d+\\.\\d+$"
8
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "erlang",
4
+ "label": "Erlang/OTP",
5
+ "category": "interpreter",
6
+ "executable": "^(?:erl|beam\\.smp)$",
7
+ "osPackage": "^erlang(?:-base)?$",
8
+ "cpe": "erlang:otp"
9
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "gawk",
4
+ "label": "GNU Awk",
5
+ "category": "interpreter",
6
+ "executable": "^gawk$",
7
+ "osPackage": "^gawk$",
8
+ "cpe": "gnu:gawk",
9
+ "elfBanner": "\\0GNU Awk (\\d+\\.\\d+\\.\\d+)(?=\\0)"
10
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "guile",
4
+ "label": "GNU Guile",
5
+ "category": "interpreter",
6
+ "executable": "^guile(?:-\\d\\.\\d)?$",
7
+ "osPackage": "^guile-\\d\\.\\d$",
8
+ "cpe": "gnu:guile"
9
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "java",
4
+ "label": "Java",
5
+ "category": "interpreter",
6
+ "executable": "^java$",
7
+ "osPackage": "^(?:openjdk-\\d+-(?:jre|jdk)(?:-headless)?|openjdk\\d+(?:-jre(?:-headless)?)?|temurin-\\d+-(?:jdk|jre))$"
8
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "julia",
4
+ "label": "Julia",
5
+ "category": "interpreter",
6
+ "executable": "^julia$",
7
+ "osPackage": "^julia$",
8
+ "cpe": "julialang:julia"
9
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "lua",
4
+ "label": "Lua",
5
+ "category": "interpreter",
6
+ "executable": "^lua(?:[5-9](?:\\.\\d+)?)?$",
7
+ "osPackage": "^lua(?:[5-9](?:\\.\\d+)?)?$",
8
+ "cpe": "lua:lua",
9
+ "elfBanner": "\\$LuaVersion: Lua (\\d+\\.\\d+\\.\\d+)\\s",
10
+ "elfLibrary": "^liblua(?:-?5\\.\\d)?\\.so(?:\\.\\d+)*$"
11
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "luajit",
4
+ "label": "LuaJIT",
5
+ "category": "interpreter",
6
+ "executable": "^luajit(?:-\\d[\\w.-]*)?$",
7
+ "osPackage": "^luajit$",
8
+ "cpe": "luajit:luajit",
9
+ "elfBanner": "\\0LuaJIT (\\d+\\.\\d+\\.\\d+)(?=\\0)"
10
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "perl",
4
+ "label": "Perl",
5
+ "category": "interpreter",
6
+ "executable": "^perl(?:5(?:\\.\\d+){0,2})?$",
7
+ "osPackage": "^perl(?:-base)?$",
8
+ "cpe": "perl:perl",
9
+ "elfBanner": "\\0\\n?This is perl (\\d+), version (\\d+), subversion (\\d+) ",
10
+ "elfLibrary": "^libperl\\.so(?:\\.\\d+)*$"
11
+ }