Tool integration

Retire.js Integration Guide

JavaScript vulnerability scanner detecting use of libraries with known CVEs

Get a Free API Key

Integrate Retire.js with Vulnetix. Scan JavaScript projects for vulnerable library versions and export findings as JSON or CycloneDX for upload to Vulnetix.

CLI toolJSONCycloneDX

Install & scan

$ npm install -g retire
# or use without install:
npx retire --help
$ retire --outputformat json --outputpath retire-report.json --path .

Run Retire.js in CI

Scan on every push and upload the report as a workflow artifact:

- name: Install Retire.js
  run: npm install -g retire

- name: Run Retire.js scan
  run: retire --outputformat json --outputpath retire-report.json --path .

- name: Upload to Vulnetix
  run: vulnetix upload --file retire-report.json

How Vulnetix compares: better together

Vulnetix does not replace Retire.js. Keep running it. Vulnetix sits on top of Retire.js (and every other scanner you already own) turning disconnected tool outputs into one prioritised, fixable queue.

Retire.js is strongest at its core category and also carries features in SBOM Generation, just as Vulnetix spans categories.

CapabilityVulnetixRetire.js
Security coverage
SAST (static code analysis)Built-in rules + Semgrep augmentation
SCA / dependencies40+ ecosystems, transitive graphCore: detects JavaScript/npm library versions with known CVEs from a curated JS vuln database
DAST (dynamic testing)~ Ingests DAST results; no native dynamic engine~ Browser/ZAP/Burp scanners identify vulnerable JS libraries loaded by a running site, not just source
Container & imageImage CVEs, base image, Dockerfile
IaC / misconfigurationTerraform, k8s, CloudFormation
Secret scanning1,000+ rules, source + binary + git history
Cloud / CSPMCloud-posture findings, compliance tab
Mobile (MAST)~ Ingests mobile scanner output; no native mobile engine
License complianceSPDX, copyleft/AGPL/SSPL policy
SBOM generationCycloneDX 1.7 + SPDX 2.3, cosign-signable~ Can output a CycloneDX SBOM of discovered JS libraries
Malware / supply-chainDe-duplicated corpus + install-time firewall (25+ registries)
Network / infra vuln~ Ingests network scanner output; no native network scanner
FuzzingIngests fuzzing crashes; no native fuzzer
Pentest / bug bountyIngests pentest/bug-bounty findings; not a testing service
The Vulnetix orchestration layer
Cross-scanner dedup & one queue (ASPM)Correlates every scanner into one prioritised queue with ownership routing
Exploit-intel prioritisationEPSS, CISA KEV, Coalition ESS, CWSS, Vulnetix LEV
Reachability analysisTree-sitter + CVEAffected; direct/transitive/semantic
Versioned VEX + audit trailImmutable OpenVEX/CycloneDX, cosign-signable
Safe Harbour autofixResolves + applies the nearest safe version
End-of-life policyFlags/blocks past-EOL runtimes & packages
SSVC / risk-based policySSVC v2 + CISA/FedRAMP/Essential-8 presets

✓ full · ~ partial · ✗ not covered

What Retire.js does well

Where Vulnetix adds to it: Retire.js is a focused, well-loved JS-library vuln scanner, including the rare ability to catch libraries in deployed/bundled pages. Vulnetix does not replace that niche depth; it ingests Retire.js output and unifies it with SCA across 40+ ecosystems, then adds cross-scanner dedup, exploit-intel prioritisation (EPSS/KEV/ESS/LEV), reachability, versioned VEX and Safe Harbour autofix. Run Retire.js for client-side JS coverage; let Vulnetix orchestrate, prioritise and remediate the combined findings.

No migration, no rip-and-replace. Retire.js keeps doing what it does best; Vulnetix adds the orchestration, exploit-intelligence prioritisation and remediation layer built for the way AppSec works today.

Centralise Retire.js results in Vulnetix

Upload Retire.js JSON, CycloneDX output to the Vulnetix platform to deduplicate findings, prioritise them with EPSS, CISA KEV and Coalition ESS exploit intelligence, and track remediation across every scanner in a single queue.

Retire.js documentation ↗  ·  Source repository ↗

Wire Retire.js into your CI/CD pipeline →