OA010 message repeats a version once per advisory

Open
#1,560 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

@HarshRajSinghania is already working on this.

Since Nov 8, 2026.

  • #1561 by @HarshRajSinghania — open
  • #1562 by @costajohnt — open
  • #1563 by @draarivpatel-ui — open

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
typescript
Domain
security

Research direction

Read src/overrides/detectors/oa010-vulnerable-floor.ts, especially how vulnerableVersions and versionList are built. Add a case with two advisories hitting the same version in tests/overrides/detectors/oa010.test.ts and verify the version appears once while remaining sorted with compareVersions. Confirm the finding’s severity, advisory IDs, and suggested range are unchanged; linked pull requests #1561 and #1562 indicate work is already underway.

Written by the indexing model from the issue text.

Description

bug good first issue

What happens

When several advisories affect the same version, OA010's message lists that version once per advisory. On examples/ghost:

axios is floored to ..., which admits 1.15.2, 1.15.2, 1.15.2, ...

The finding itself is correct; only the message repeats.

Why

In src/overrides/detectors/oa010-vulnerable-floor.ts, versionList is built from hits, which has one entry per advisory and version pair. The detector already builds a de-duplicated vulnerableVersions set a few lines above it.

Done when

  • Each vulnerable version appears once in the OA010 message, still sorted with compareVersions.
  • A test in tests/overrides/detectors/oa010.test.ts with two advisories hitting the same version fails on main and passes with the fix.
  • Nothing else in the finding changes (severity, advisory IDs, suggested range).

Note: #1552 is open and edits the same detector, so expect a small rebase if it lands first.

Dominant language
TypeScript
Stars
786
Forks
189
Avg merge
3d 10h
Merged PRs (30d)
98

Getting set up

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.

More from OWASP/cve-lite-cli

All issues in OWASP/cve-lite-cli

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.