Skip to content

Differences in cve-lite-cli and Github Dependabot #249

@githubtkompare

Description

@githubtkompare

Summary

May not be a bug.

I don't know if this will help you or not. I ran cve-lite /path/to/project --report on an internal typescript POC project I am developing. I compared its results to what I see in GitHub Dependabot alerts. I had Dependabot rescan the project for vulnerabilities, so they should be up-to-date as far as Github is concerned. I attached a screenshot of the cve-lite report as well as Dependabot results. They are slightly different.

Environment

  • OS: MacOS
  • Node.js version: v25.2.1
  • Package manager: npm - package-lock.json. No pnpm-lock.yaml, yarn.lock, or bun.lockb.
  • Lockfile type: package-lock.json - npm's lockfile format.
  • CVE Lite CLI version: 1.9.0

Command used

cve-lite  /path/to/project --report

Expected behavior

Should cve-lite produce the same vulnerability list as Dependabot?

Actual behavior

The lists of vulnerabilities are different.

Reproduction

I produced the same results with two runs of cve-lite

Relevant files or output

`% cve-lite /path/to/project --report

_ CVE Lite CLI (1.9.0)
────────────────────────────────
✔ Scan dependencies
✔ Highlight critical issues
✔ Show a clear fix plan

Fast. Local. Developer-first.

Advisory source: OSV (https://api.osv.dev)
Parsed 327 packages from package-lock (package-lock.json)
✓ Queried OSV in 4 batches
✓ Loaded 9 vulnerability detail records

────────────────────────────────
📦 Vulnerabilities found
────────────────────────────────

────────────────────────────────
🛠 Copy And Run These Fix Commands
────────────────────────────────

Detected package manager: npm (package-lock.json)
1 command group ready across 1 package (1 medium).
Validation: scanned 3 package versions; 2 are still known vulnerable.

Medium severity direct fixes

npm install uuid@14.0.0

────────────────────────────────
Summary
────────────────────────────────

4 vulnerable packages
4 medium
1 direct · 3 transitive

▲ Scan complete. 4 issues found.
Run with --verbose for fix plan, paths, and full table.

Report: /Path/To/IndexFile/index.html`

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions