Skip to content

fix(security): include pinned versions in OSV vulnerability queries - #79

Open
Subodh-17 wants to merge 1 commit into
knight22-21:mainfrom
Subodh-17:feat/version-aware-cve
Open

Subodh-17 wants to merge 1 commit into
knight22-21:mainfrom
Subodh-17:feat/version-aware-cve

Conversation

@Subodh-17

Copy link
Copy Markdown
Contributor

Summary

Fixes #57.

  • Include exact dependency versions in OSV vulnerability query payloads when available.
  • Parse exact == and === pins from requirements files.
  • Handle package extras, inline comments and environment markers.
  • Keep wildcard, ranged and unpinned dependencies on the existing unversioned query path.
  • Preserve existing network-failure fallback behavior.

Tests

  • CVE tests: 13 passed.
  • Security subsystem tests: 81 passed.
  • Ruff lint: passed.
  • Ruff formatting: passed.
  • Diff whitespace check: passed.

The full repository suite has known baseline environment failures involving optional tree-sitter grammars and Windows CLI behavior; these are documented separately and are not claimed as passing.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

check_package ignores the version: patched pins are reported with every historical CVE

1 participant