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
Not refreshed yet. Refresh reads the public site and, when the entry has a GitHub repository, the latest release.
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.
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:
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.
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