# RetireJS/retire.js

scanner detecting the use of JavaScript libraries with known vulnerabilities. Can also generate an SBOM of the libraries it finds.

Repository: https://github.com/RetireJS/retire.js
Canonical: https://ross.abutalabs.com/products/retirejs
Homepage: https://retirejs.github.io/retire.js/
Language: JavaScript
License: Apache-2.0
License Family: permissive
Topics: vulnerabilities, scanner, firefox-extension, grunt-plugins, javascript, vulnerable-libraries, insecure-libraries, chrome-extension, build-tool, security, software-composition-analysis, sbom, sbom-generator, sbom-tool
Last push: 2026-08-23T12:25:59+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 99, longevity 100
- inputs: {"age_days": 4751, "days_push": 10, "days_rel": 11, "gap_med": 22.0, "n_releases_24m": 15}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4161, forks 438 (observed 2026-08-28T04:08:37.650705+00:00)

## What it is
Retire.js is a scanner that detects the use of JavaScript libraries and Node.js modules with known vulnerabilities, available as a CLI scanner, browser extensions, and plugins for Burp and OWASP ZAP. It can also generate SBOMs in CycloneDX format (XML and JSON, including VEX variants).

## Use cases
- scan a node app for vulnerable javascript libraries
- detect insecure js libraries loaded on websites
- generate a cyclonedx sbom of javascript dependencies
- find js libraries with known cves not listed in package manifests
- integrate vulnerability scanning into ci pipeline
- check web apps for outdated frontend libraries

## When to choose
- you need to detect vulnerable JavaScript libraries even when they are not declared in package manifests
- you want an SBOM generator for JS dependencies in CycloneDX format
- you need a scanner that works as CLI, browser extension, or Burp/ZAP plugin

## When to avoid
- you need full SCA for non-JavaScript ecosystems like Python or Java
- you want a maintained Firefox extension (it is deprecated)
- you need continuous dependency monitoring with dashboards rather than on-demand scanning

## Facets
- artifact type: cli-tool
- maturity: active
- function: security, vulnerability-scanning, developer-tools, cli
- domain: security, web-development, developer-tools
- platform: cli, browser-extension, cross-platform
- tags: sbom, software-composition-analysis, vulnerable-libraries, owasp, cyclonedx, burp-extension, zap-addon, chrome-extension, javascript, nodejs

## Member repositories
- RetireJS/retire.js (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:37.650705+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:22:48.633465+00:00, confidence not recorded.
  - readme: https://github.com/RetireJS/retire.js (fetched 2026-08-28T04:08:37.650705+00:00, sha 73e2d90c48bf)
  - homepage: https://retirejs.github.io/retire.js/ (fetched 2026-08-29T09:13:50.441936+00:00, sha 1f0ad794755d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
