New Act now · Review · Context v0.3.1 →

Fix the vulnerabilities attackers actually exploit.

VulnLens scans your code, dependencies and secrets, then sorts every finding by evidence of real attacks: what to act on now, what to review, and what's only context.

On PyPI and the GitHub Marketplace · MIT licensed

findings
273
findings
to act on now
11
to act on now
under active attack
1
under active attack

From a scan of OWASP PyGoat

Built on public data you can check

Why it matters

A high score isn't the same as a real attack.

Same scan, two orderings. Sorted by severity, the one bug attackers are exploiting today sits at #4. VulnLens puts it first.

By severity score

how most scanners sort
  1. #1
    PyYAML 5.1
    GHSA-8q59-q68h-6hv4
    CVSS 9.8
    EPSS 6.0%
  2. #2
    Django 4.2
    GHSA-m9g8-fxxm-xg86
    CVSS 9.8
    EPSS 1.4%
  3. #3
    PyJWT 2.4.0
    GHSA-ffc3-869f-jxw9
    CVSS 9.1
    EPSS 0.2%
  4. #4
    Pillow 9.4.0 KEV
    GHSA-j7hp-h8jx-5ppr
    CVSS 8.8
    EPSS 99.98%
  5. #5
    Jinja2 3.1.2
    GHSA-gmj6-6f8f-6699
    CVSS 8.8
    EPSS 0.3%
  6. #6
    Werkzeug 2.3.7
    GHSA-2g68-c3qc-8985
    CVSS 7.5
    EPSS 3.4%

By VulnLens

attack data first
  1. #1
    Pillow 9.4.0 KEV
    GHSA-j7hp-h8jx-5ppr
    CVSS 8.8
    EPSS 99.98%
    P0
  2. #2
    django 3.2.18
    GHSA-qmf9-6jqf-j8fq
    CVSS 7.5
    EPSS 50%
    P1
  3. #3
    PyYAML 5.1
    GHSA-8q59-q68h-6hv4
    CVSS 9.8
    EPSS 6.0%
    P1
  4. #4
    PyJWT 2.4.0
    GHSA-ffc3-869f-jxw9
    CVSS 9.1
    EPSS 0.2%
    P1
  5. #5
    Werkzeug 2.3.7
    GHSA-2g68-c3qc-8985
    CVSS 7.5
    EPSS 3.4%
    P2
  6. #6
    sqlparse 0.3.1
    GHSA-2m57-hf25-phgg
    CVSS 7.5
    EPSS 3.2%
    P2
Severity vs. attack odds 158 known vulnerabilities Known bug Under attack
0.01% 0.1% 1% 10% 100% 0 2 4 6 8 10 Likely to be attacked ↑ Severe, rarely attacked → Severity (CVSS) Chance of attack in 30 days (EPSS)
1 in 158

known vulnerabilities is under active attack. VulnLens ranks it first; a severity sort puts it #4.

11 / 273

findings to act on now. Everything else is sorted into Review and Context, so nothing gets lost.

Study

We scanned 50 popular open-source AI apps.

VulnLens turned 10,114 findings into a list of 34, and that short list held actively exploited CVEs (LiteLLM, Ray, Starlette) still shipping in 7 projects. We're reporting each one to its maintainers.

findings across all 50 repos
10,114
findings across all 50 repos
to act on now (0.3%)
34
to act on now (0.3%)
repos shipping an actively exploited CVE in a runtime dependency
7
repos shipping an actively exploited CVE in a runtime dependency
of CVSS 9+ CVEs had less than a 1% chance of attack
61%
of CVSS 9+ CVEs had less than a 1% chance of attack

How it works

One command. A short list.

  1. 01

    Scan

    Looks for flaws in your code, known bugs in your dependencies, and keys that shouldn't be in your repo.

    semgrep      86 findings
    osv         187 findings
    total       273 findings
  2. 02

    Check

    For every known bug: is anyone attacking it right now, and how likely is an attack this month?

    CVE-2023-4863
    under attack   yes
    attack odds    99.98%
  3. 03

    Rank

    Puts every finding in a tier (Act now, Review or Context), shows why, and lists the upgrades that fix the most at once.

    Act now     11
    Review     242
    Context     20

Features

From your laptop to every pull request.

AI triage

Claude checks whether each code finding is real.

Add --ai-triage and Claude reads the surrounding code, tells you whether the issue is real, and suggests a fix. Confirmed issues move to Act now; confident false alarms drop to low priority. Secrets are masked before anything is sent.

On a 54-finding labeled benchmark: 61% of false alarms removed, 0 real issues missed, $0.035 per run with Claude Haiku.

P1 SQL injection · app.py:16 Real · high confidence

Why: user input from request.args['name'] goes straight into the SQL query.

-  conn.execute("SELECT * FROM users WHERE name = '" + name + "'")
+  conn.execute("SELECT * FROM users WHERE name = ?", (name,))
Example output

Upgrade plan

The smallest upgrade that clears each package.

  • P0 Pillow 9.4.0 → 12.3.0
  • P1 Django 4.2 → 5.2.17
  • P1 PyJWT 2.4.0 → 2.15.0

GitHub Action

On the GitHub Marketplace. Results show up in GitHub's Security tab; block pull requests that add Act-now findings.

Shareable reports

Browse results in a local dashboard, or export one HTML file anyone can open.

Private by default

Secrets are always masked, and the dashboard only listens on your own machine.

Never a false all-clear

If an engine or data feed fails, the scan says so instead of looking clean.

Six languages

Reads 13 lockfile and manifest formats across Python, JavaScript, Go, Rust, PHP and Ruby.

  • requirements.txt
  • Pipfile.lock
  • poetry.lock
  • uv.lock
  • pyproject.toml
  • package-lock.json
  • yarn.lock
  • pnpm-lock.yaml
  • go.mod
  • Cargo.lock
  • composer.lock
  • Gemfile.lock

Clear rules

No black-box score.

Three tiers sorted by the strength of the evidence, and every finding shows why it landed where it did.

  • P0Under attack
  • P1Likely soon
  • P2Plan a fix
  • P3Low
  • P4Info

Inside each tier, findings are ordered P0 to P4.

  1. Act now
    Evidence of real risk: a CVE in CISA's exploited list or with high attack odds in a runtime dependency, a leaked key that still works, or a code issue the AI confirmed.
  2. Review
    A signal in production code that needs a person's judgment: risky code patterns, unconfirmed keys, CVEs with no sign of attacks yet.
  3. Context
    Findings in tests, examples, docs or vendored code, and development-only dependencies. Kept in the report, out of your way.

Live demo

See it on 4 real projects.

Each one is built with security holes on purpose, for training. 787 findings, 24 to act on now.

Open the demo

Get started

Start with one command.

  • On PyPI and the GitHub Marketplace
  • Python 3.10 or newer
  • No account needed
  • Free and open source
# installpip install vulnlens semgrepvulnlens doctor   # checks engines, shows how to add TruffleHog# scan a folder or a public repovulnlens scan .vulnlens scan https://github.com/owner/repo# with AI triage (needs an ANTHROPIC_API_KEY)pip install "vulnlens[ai]"vulnlens scan . --ai-triage

Fix what matters first.

Free and open source.