Skip to content
Nicholas-devsecPublic

About

Browser extension to get threat intelligence and AI driven insights on any CVE

Resources

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

CVE Lens logo

CVE Lens

Highlight a CVE on any web page, right-click, and look it up or ask an AI about it.

CVE Lens is a small, privacy-first Chrome (Manifest V3) extension for security analysts, sysadmins and anyone who reads advisories. It turns a selected CVE id into a one-click lookup across nine vulnerability databases, or a ready-made analyst prompt for an AI chat. It has no servers, no accounts and no telemetry.

CVE Lens context menu showing the Look up submenu

What it does

Look up a CVE

Select a CVE id (or right-click a link that contains one), then choose CVE Lens → Look up and pick a source:

NVD · CVE.org (MITRE) · OSV · GitHub Advisories · EPSS (FIRST) · CISA KEV · Exploit-DB · Tenable · CVEdetails

Open in all opens every source in its own tab. Lookups use the first CVE in your selection, so a large selection can't open a pile of tabs.

Demo: looking up a CVE from the context menu

Ask AI about a CVE

Choose CVE Lens → Ask AI about this CVE and pick a provider. CVE Lens sends a fixed analyst-style prompt (root cause, CVSS, affected and fixed versions, exploitability, mitigations, sources) for up to 5 CVEs. This is the exact default text. {{cves}} is the placeholder that your right-click selection fills in: the validated CVE ids, up to 5, comma-separated. No page text is ever added:

Explain {{cves}} for a security analyst. For each, cover:
1. What the vulnerable product/component is and the root cause.
2. CVSS score and vector, and whether it is in CISA KEV or has a known EPSS score.
3. Affected and fixed versions.
4. Exploitability: public PoC/exploit status, attack prerequisites, observed exploitation.
5. Mitigations, patches, and detection ideas (log/network indicators).
Cite sources (vendor advisory, NVD, CISA). If you are not certain of a detail, say so instead of guessing.

You can replace it under toolbar icon → Customize AI prompt: put {{cves}} where the ids go (appended if missing, max 2000 characters; Reset to default restores the text above). It is stored locally on your device only. The Preview below the editor shows how {{cves}} is replaced, here with CVE-2021-44228.

Customize the AI prompt page: {{cves}} in the template and the preview with the CVE id filled in

CVE Lens context menu showing the Ask AI submenu

Providers: Google AI Mode, Ask Brave, ChatGPT and Duck.ai. Each is opened with the prompt in the URL and sends it automatically on load, so CVE Lens needs no permission to type into or submit anything on these sites (Duck.ai is asked to send via its own prompt=1 flag).

All of these AI providers have anonymous free tiers, so you don't need to log in or create an account to use them. Availability and usage limits are set by each provider and may change.

Demo: asking an AI about a CVE from the context menu

Privacy and security

  • No data collection. Nothing leaves your browser except the CVE id (and, for AI, the fixed prompt) sent to the site you pick, as part of that site's URL.
  • Page text never reaches a URL or prompt. Selections are reduced to validated CVE-YYYY-N ids first, so a hostile page can't inject instructions into your AI chat.
  • Minimal permissions. Just context menus and local storage: no content scripts and no host access.
  • No remote code, no eval, no innerHTML, and a strict extension CSP.

Details: PRIVACY.md and SECURITY.md.

Install

Install CVE Lens from the Chrome Web Store and click Add to Chrome. It updates automatically.

Development

npm install
npm test

Running the tests needs Node 22.12 or newer. Unit tests run on Node. test/e2e.test.mjs launches headless Chrome with the extension loaded (set CHROME_PATH if Chrome isn't in a standard location; it is skipped if none is found).

Path Purpose
manifest.json MV3 manifest (minimal permissions, strict CSP)
src/background.js Service worker: context menus, opening tabs
src/cve.js, src/prompt.js CVE extraction/validation and the fixed prompt
src/providers.js Lookup sites and AI providers: add one by adding an entry
src/popup.*, src/options.* Toolbar popup and the prompt customization page
icons/ Logo source (extension-logo.png) and the 16/32/48/128px icons
screenshots/ Images and demo GIFs used in this README

Contributing

Issues and pull requests are welcome. Adding a lookup site or AI provider is a single entry in src/providers.js.

Know another AI site with an anonymous free tier? If it works without a login or account, please open a pull request to add it. Providers must accept the prompt in the URL (no page access or extra permissions). Please run npm test before opening a PR, and report vulnerabilities privately as described in SECURITY.md.

License

Apache-2.0

CVE Lens is not affiliated with or endorsed by NVD, MITRE, Google, OpenAI, Brave, DuckDuckGo or any other listed service. Their names are used only to identify where a lookup goes.

Inspired by Sputnik (mitchmoser/sputnik).

About

Browser extension to get threat intelligence and AI driven insights on any CVE

Resources

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages