Skip to main content

Scan projects for CVEs in AI-generated dependencies. Zero API calls. Works offline.

Project description

CVE-Guard

Stop AI from writing vulnerable code.

One command. Zero API calls. Works offline.

$ cve-guard scan ./my-project

Built by NOUMENON — AI agents that debate, evolve, and build. Want AI that thinks before it codes? noumenon.ai

PyPI License: MIT Python 3.10+

Why This Exists

AI-generated code has 1.7x more vulnerabilities than human code. Copilot, Cursor, and Claude don't check if the packages they suggest have known CVEs. cve-guard does.

Run it before you commit. Run it in CI. Sleep better.

Install

pip install cve-guard

Usage

# Scan a project directory
cve-guard scan ./my-project

# Only show critical and high severity
cve-guard scan --severity critical

# Check a single package
cve-guard check react 18.2.0

# JSON output for CI/CD
cve-guard scan --format json

# Show fix commands
cve-guard scan --fix

# View the full CVE database
cve-guard db

Output

  CVE-GUARD — Vulnerability Scanner v1.0.0

  Scanning: ./my-nextjs-app/package.json
  Found: 24 dependencies

  CRITICAL VULNERABILITIES
  Package  CVE              CVSS  Installed  Fix
  next     CVE-2025-66478   10.0  14.2.5     >= 15.1.4
  next     CVE-2025-29927    9.1  14.2.5     >= 15.1.4
  react    CVE-2025-55182   10.0  18.2.0     >= 19.0.0

  HIGH VULNERABILITIES
  Package  CVE              CVSS  Installed  Fix
  axios    CVE-2023-45857    7.0  1.4.0      >= 1.6.0

  PLATFORM WARNINGS
  Package   Warning
  supabase  Verify RLS enabled on ALL tables
  stripe    Verify webhook signature verification

  Summary: 3 critical | 1 high | 2 warnings

  Fix commands:
    npm install next@15.1.4 react@19.0.0 axios@1.6.0

CVEs Currently Detected

Package CVE CVSS Severity Fix
react CVE-2025-55182 10.0 CRITICAL >= 19.0.0
next CVE-2025-66478 10.0 CRITICAL >= 15.1.4
next CVE-2025-29927 9.1 CRITICAL >= 15.1.4
node CVE-2026-NODE-JAN 8.0 HIGH >= 22.13.1
django CVE-2024-45231 8.1 HIGH >= 5.1.1
pillow CVE-2024-28219 8.1 HIGH >= 10.3.0
jsonwebtoken CVE-2022-23529 7.6 HIGH >= 9.0.0
react-router CVE-2025-59057 7.5 HIGH >= 7.0.0
flask CVE-2023-30861 7.5 HIGH >= 2.3.2
cryptography CVE-2024-26130 7.5 HIGH >= 42.0.4
lodash CVE-2021-23337 7.2 HIGH >= 4.17.21
axios CVE-2023-45857 7.0 HIGH >= 1.6.0
express CVE-2024-29041 6.1 MEDIUM >= 4.19.2
requests CVE-2024-35195 5.6 MEDIUM >= 2.32.0
supabase GHSA-v36f 8.5 HIGH Enable RLS
stripe ACTIVE-CAMPAIGN-2026 8.0 HIGH Verify webhooks

Supported Languages

  • JavaScript/Node.js — package.json
  • Python — requirements.txt, pyproject.toml
  • Ruby — Gemfile
  • Go — go.mod
  • Rust — Cargo.toml

CI/CD Integration

GitHub Action

name: CVE Guard
on: [push, pull_request]
jobs:
  scan:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - run: pip install cve-guard
      - run: cve-guard scan . --format json --severity high

Pre-commit Hook

repos:
  - repo: https://github.com/noumenon-ai/cve-guard
    rev: v1.0.0
    hooks:
      - id: cve-guard
        name: CVE Guard
        entry: cve-guard scan
        language: python
        pass_filenames: false

Contributing

Found a new CVE? Open a PR to add it to database.py.

License

MIT


Part of the NOUMENON ecosystem. NOUMENON is a multi-agent AI build system where agents debate the best approach before writing a single line of code.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cve_guard-1.0.0.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cve_guard-1.0.0-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

Details for the file cve_guard-1.0.0.tar.gz.

File metadata

  • Download URL: cve_guard-1.0.0.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for cve_guard-1.0.0.tar.gz
Algorithm Hash digest
SHA256 10159a6f2764b828e2e8c96ebdaf9f8b5dac5316e0e6f9cccd277c98309ed578
MD5 960ef9d6f2b2c085f7a60af2c0c084fe
BLAKE2b-256 14b91daf91e667e21c6ce0cff93db1bf2137cbbce1fcff9cedde0696e4584056

See more details on using hashes here.

File details

Details for the file cve_guard-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: cve_guard-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 16.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for cve_guard-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c645c920607a3568934a88a998e90cc09e9dd946d944fc7dbc20f12b035f4595
MD5 be253893064ca9ea2c7bb89055f82344
BLAKE2b-256 abea10e18610f676286268e69efaafa8e1a85d6877672d6c38ada3ce259364b3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page