retire.js for Firefox

retire.js for Firefox

Find the JavaScript libraries a site uses and their known vulnerabilities, as you browse.

Version 3.0.0 · Manifest V3 · Firefox 140+ and Firefox for Android 142+ · Apache 2.0 · no analytics

Add to FirefoxSource code (git)What's new in 3.0
The retire.js panel: vulnerable libraries with severity and the version to upgrade to

Always up to date — no add-on update needed

Earlier versions shipped a fixed list of vulnerabilities, which aged between releases. Version 3 keeps the data fresh by itself:

How libraries are found

SourceExample
File name and URLjquery-1.8.1.min.js
CDN addressescdn.jsdelivr.net/npm/lodash@4.17.15/…, unpkg.com/react@16.8.0/…, cdnjs…/ajax/libs/moment.js/2.19.1/…, code.jquery.com/jquery-3.4.1.js
File content and SHA-1 hashesbundles that contain jQuery, Handlebars, DOMPurify…
License banners/*! axios v0.21.1 …
Inline <script> blocksthe same rules, applied to scripts written in the page
Global variablesjQuery.fn.jquery, Vue.version, React.version, [ng-version], lodash, moment, DOMPurify, axios, Handlebars, Bootstrap and 30 more

The panel

Advisory details with CVE and GHSA links

Firefox for Android

On Android the panel uses the full screen width, with touch-sized controls. Open it from ⋮ → Extensions → retire.js.

Panel on a phoneAdvisory details on a phone

Permissions

PermissionWhy
Access your data for all websitesRead the scripts the page loads and run the small page probe.
webRequest (non-blocking)Notice which scripts a page loads and reset the results when the page changes. Nothing is modified.
storage, alarmsSettings, the downloaded database and the daily update.
Optional: website contentOnly if you turn on OSV.dev: library names and versions are sent to api.osv.dev.

Use it responsibly

retire.js only reads what your browser has already downloaded. Assessing systems you do not own, or have no permission to test, may be illegal. You are responsible for how you use the results.

Source code and credits

The source is plain JavaScript with tests that drive a real Firefox. Get it with git clone https://git.code.sf.net/p/retirejs/code retirejs, or download it from Files.

The detection core and the vulnerability database come from the Retire.js project by Erlend Oftedal, under the Apache License 2.0.