CheckOps
Retire.js
Retire.js is an Apache-2.0 scanner that detects JavaScript libraries with known vulnerabilities in web apps and Node.js projects, and can generate an SBOM of the libraries it finds.
Latest public signals
Last updated: 11 November 2026 (page expanded from the official README or site).
Introduction
Retire.js scans for JavaScript libraries with known vulnerabilities, a risk captured in the OWASP Top 10 as using components with known vulnerabilities. It works as a command-line scanner and as browser extensions, and can also generate an SBOM of the libraries it finds.
The source code is at RetireJS/retire.js on GitHub under the Apache-2.0 licence, with about 4,200 stars; the most recent commit was on 9 November 2026.
Retire.js scans for JavaScript libraries with known vulnerabilities, addressing the OWASP Top 10 risk of using components with known vulnerabilities. It is available as a command-line scanner, a Node.js library, browser extensions and plug-ins for tools such as Burp Suite and OWASP ZAP, and can also generate a software bill of materials (SBOM) of the libraries it finds.
Where it fits: on CheckOps, Retire.js is listed alongside alternatives such as Snyk, OSV-Scanner, Socket and Dependency-Check. When comparing them, check licence and hosting model, how results reach developers (pull requests, CI logs or dashboards), how much tuning is needed to keep noise low, and whether the project or vendor is actively maintained.
Features
- CLI scanner: Scan files and Node projects.
- Bundled library detection: Finds libraries copied into web assets.
- Browser extension: Detect vulnerable libraries on pages.
- SBOM output: CycloneDX output.
- Vulnerability repository: Community-maintained data.
Pros
- Free to use: Open source under Apache-2.0.
- Maintained: Commits as recent as 9 November 2026.
- Community: About 4,200 GitHub stars.
Cons
- JavaScript only: Single ecosystem.
- Signature-based: Unknown or modified libraries may be missed.
Usage and Links (Example)
npm install -g retire
retire --path ./public
Resources:
Getting started tips: run Retire.js on your main branch to establish a baseline, fix vulnerabilities with available upgrades first, and record accepted risks for the rest. Then run it on every pull request so new vulnerable dependencies are flagged before merge, and schedule a regular scan of the default branch because new advisories are published against packages you already use.
Pricing
Retire.js is free and open source under the Apache-2.0 licence.
Recommended for?
- Web teams with vendored front-end libraries.
- Security testers reviewing JS assets.
- Not a fit for server-side code in other languages.
Conclusion
Retire.js is a simple way to spot vulnerable JavaScript libraries, including bundled copies.
As with any tool in this category, the value of Retire.js comes from running it consistently and acting on what it finds, so wire it into an existing workflow rather than treating it as an occasional audit.
Alternatives
Other tools on CheckOps that cover similar ground. Open a page, or compare one with Retire.js side by side.
SSnykSnyk CLI scans and monitors your projects for security vulnerabilities.Compare with Retire.js
OOSV-ScannerOSV-Scanner is Google's Apache-2.0 dependency vulnerability scanner and official frontend to the OSV database, covering many languages, package managers, OS packages and containers, with guided remediation and licence checks.Compare with Retire.js
SSocketSocket is a software supply-chain security platform that blocks zero-day supply chain attacks in JavaScript, Python and Go dependencies by analysing package behaviour, with a free plan.Compare with Retire.js
DDependency-CheckOWASP dependency-check is a software composition analysis utility that detects publicly disclosed vulnerabilities in application dependencies.Compare with Retire.js
OOWASP ZAPThe ZAP by Checkmarx Core project.Compare with Retire.js
TTrivyTrivy is Aqua Security's Apache-2.0 all-in-one scanner for container images, filesystems, Git repos, VM images and Kubernetes, finding CVEs, IaC misconfigurations, secrets, licences and SBOM data.Compare with Retire.js