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 Vulnesis. Scan JavaScript projects for vulnerable library versions and export findings as JSON or CycloneDX for upload to Vulnesis.

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 Vulnesis
  run: vulnetix upload --file retire-report.json

How Vulnesis compares: better together

Vulnesis does not replace Retire.js. Keep running it. Vulnesis 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 Vulnesis spans categories.

CapabilityVulnesisRetire.js
Security coverage
SAST (static code analysis)✓ Built-in rules + Semgrep augmentation✗
SCA / dependencies✓ 40+ ecosystems, transitive graph✓ Core: 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 & image✓ Image CVEs, base image, Dockerfile✗
IaC / misconfiguration✓ Terraform, k8s, CloudFormation✗
Secret scanning✓ 1,000+ rules, source + binary + git history✗
Cloud / CSPM✓ Cloud-posture findings, compliance tab✗
Mobile (MAST)~ Ingests mobile scanner output; no native mobile engine✗
License compliance✓ SPDX, copyleft/AGPL/SSPL policy✗
SBOM generation✓ CycloneDX 1.7 + SPDX 2.3, cosign-signable~ Can output a CycloneDX SBOM of discovered JS libraries
Malware / supply-chain✓ De-duplicated corpus + install-time firewall (25 registries)✗
Network / infra vuln~ Ingests network scanner output; no native network scanner✗
Fuzzing✗ Ingests fuzzing crashes; no native fuzzer✗
Pentest / bug bounty✗ Ingests pentest/bug-bounty findings; not a testing service✗
The Vulnesis orchestration layer
Cross-scanner dedup & one queue (ASPM)✓ Correlates every scanner into one prioritised queue with ownership routing✗
Exploit-intel prioritisation✓ EPSS, CISA KEV, Coalition ESS, CWSS, Vulnesis LEV✗
Reachability analysis✓ Tree-sitter + CVEAffected; direct/transitive/semantic✗
Versioned VEX + audit trail✓ Immutable OpenVEX/CycloneDX, cosign-signable✗
Safe Harbour autofix✓ Resolves + applies the nearest safe version✗
End-of-life policy✓ Flags/blocks past-EOL runtimes & packages✗
SSVC / risk-based policy✓ SSVC v2 + CISA/FedRAMP/Essential-8 presets✗

✓ full · ~ partial · ✗ not covered

What Retire.js does well

Where Vulnesis 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. Vulnesis 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 Vulnesis orchestrate, prioritise and remediate the combined findings.

No migration, no rip-and-replace. Retire.js keeps doing what it does best; Vulnesis adds the orchestration, exploit-intelligence prioritisation and remediation layer built for the way AppSec works today. Software Factory agents on a Pix Sandbox can then turn the findings from any scanner into pull requests that a person approves. How Software Factory works.

Centralise Retire.js results in Vulnesis

Upload Retire.js JSON, CycloneDX output to the Vulnesis 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 →