OWASP / OWASP/cve-lite-cli

Add contextual prioritization signals (usage, reachability hints, exposure)

Open
#126 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement help wanted
Dominant language
TypeScript
Stars
715
Forks
145
Avg merge
21h 39m
Merged PRs (30d)
66

Description

Background

Current output is lockfile-first and remediation-focused, which is useful for fast triage. Community feedback suggests adding context that helps teams prioritize findings based on likely impact in real workflows.

Goal

Add optional contextual prioritization signals (not definitive exploitability claims) to help teams prioritize dependency findings.

Scope (initial)

  • Add optional usage signal: package appears in project imports/requires
  • Add optional reachability hint signal: lightweight static/path heuristics where applicable
  • Add optional exposure signal: simple indicators (for example, package appears in server/request-facing dependency paths)
  • Include these signals in verbose/JSON output as prioritization context
  • Keep vulnerability matching logic unchanged

Non-goals

  • No claim of definitive exploitability
  • No full runtime reachability engine
  • No guarantee that not-used means not-exploitable

Acceptance criteria

  • Context fields are clearly labeled as heuristic/prioritization signals
  • Existing lockfile vulnerability detection remains unchanged
  • Output language stays precise and avoids overclaiming
  • Tests cover signal presence/absence and fallback behavior
  • Docs updated minimally to explain scope and limitations

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the existing lockfile vulnerability detection and verbose/JSON output paths. Define how usage, reachability-hint, and exposure signals are represented, including fallback behavior, while keeping matching unchanged. Add tests for signal presence and absence, then update the documentation with the heuristic limitations and verify precise output wording.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
cli, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.