Skip to content

RepoBeagle v1.186.0

Choose a tag to compare

@javierbits javierbits released this 26 Nov 09:38
· 3 commits to main since this release
v1.186.0

Fix availability on vulnerable dependencies: "upgrade lodash 4.17.19 → 4.17.21" instead of "you have CVE-X".

Highlights

  • OSV vulnerability findings now carry fixed_in (sorted, explicit advisory versions) and a remediation such as upgrade lodash to 4.17.21; the finding's meaning states fixed in …. Only explicit OSV affected[].ranges[].events[].fixed events are trusted — no guessed ranges.
  • If an advisory lists no fixed version, the finding says so explicitly (fixed_note: "no fixed version listed by OSV") and performs at most one cached registry lookup for the package's latest published version (latest_version), never presented as a fix. Lookups are budgeted per scan (BEAGLE_FIX_LOOKUPS, default 20); a skipped lookup is stated.
  • No extra network when OSV already has fixed versions (asserted). Version lists are deduped and sorted numerically for determinism.
  • OSV ecosystems map to npm/PyPI/crates registries; unknown ecosystems skip the latest lookup without failing.

Verification

  • PR #100: offline 1 m 27 s (495 assertions incl. tests/test_fix_availability.py), compare 6 m 59 s, packaging-macos 18 s, image-toolchain 1 m 14 s, gate / gate 8 s, upload×2 — green.
  • Acceptance from the released image (digest sha256:575974bcddbd23a9ef21ff222a275c03904fafc31b6c2bcbc38e48a3959e6e20, cosign verify VALID, stable identical):
fixed advisory   -> {'fixed_in': ['4.17.21'], 'remediation': 'upgrade lodash to 4.17.21'}
unfixed advisory -> {'fixed_in': [], 'fixed_note': 'no fixed version listed by OSV; latest published left-pad is 1.1.1', 'latest_version': '1.1.1'}
tests/test_fix_availability.py inside the image: PASS ×3

Upgrade

./install.sh, or repobeagle update; light mode pipx install ..

Notes

  • Versions come verbatim from OSV's explicit events; numeric sorting is best-effort for non-semver schemes.
  • The latest-version lookup is informational only and never claims a fix exists.