Upgrade note. Five changes can affect an existing setup.
- Every finding in
--jsonoutput now carries anecosystemfield (npmorpypi). Multi-folder JSON also gainsunitsandnoteswhen Python requirements are scanned. --pythonratchet baselines are written to.cve-lite/baseline-pypi.json, including on Python-only projects. Rename an existing Python baseline frombaseline.jsonto keep it. JavaScript baselines are unchanged.--pythonon a project that also has JavaScript lockfiles now scans both in one run instead of refusing. The JavaScript findings and fix commands match a run without--python, and so does the exit code while the Python scan is complete. Under--incomplete-policy error, a Python gap (an unpinned line, or a-r/-cinclude that could not be read) makes the combined run exit 3 where a run without--pythonexits 0.- A single-folder
--prod-onlyscan whose lockfile holds only dev dependencies now exits 0 with "--prod-only filtered out all dev dependencies", instead of exiting 3 as an empty scan. - In Yarn workspaces several fix commands change, and the count of findings covered by a direct fix can go down, because a finding that is also reached transitively is no longer counted as covered by the direct fix alone.
Added
- EXPERIMENTAL:
--pythonscans JavaScript and Python together in one run and one report. Python findings still never affect the exit code.--check-overrides,--check-maintenance,--check-licenses,--usage,--only-used,--offlineand--offline-dbare now accepted with--python: they run on the JavaScript part and the report says they were not run for Python, and offline Python packages are reported unscanned.--fix,--create-pr,--sbomand--cdxare still refused with--python. - EXPERIMENTAL:
--pythonfinds every pinned requirements file in the project (any*requirements*.txt,constraints*.txt, and.txtfiles under arequirements/folder at any depth) and follows-rand-cincludes inside the project the way pip reads them. Includes that are URLs, missing, unreadable or outside the project mark the scan partial, include cycles are reported, and a pin spelled two ways across files counts once.
Changed
- Contributors can claim an issue they opened with
/assign-me, under the same rules as any other claim, and the pull request check accepts only the issue's assignee. - A daily sweep reminds and then closes inactive pull requests and unanswered
pending-responseitems, skipping exempt ones. The rules are in CONTRIBUTING.
Fixed
- EXPERIMENTAL
--python: a PyPI upgrade target is checked against every advisory for the package, not only those affecting the installed version, so a target still inside another advisory's affected window is no longer offered. When the full advisory set cannot be loaded no target is given, with a note to re-run online or review the advisories. - EXPERIMENTAL
--python: packages are matched by their normalised name, soPillowandpillowcount once while different versions stay separate. A bare list of system packages found under arequirements/folder whose path names a system package source (apt, ubuntu, brew and similar) is set aside with a note instead of marking the scan partial. - Yarn workspaces: workspace globs resolve, direct fixes are scoped to the workspaces that declare the package with the right
-D,-Oor-Wflag, and cases Yarn would reject (acatalog:declaration tied to several installed versions, a Berry package that is also a peer dependency, a package declared from both registry and local sources) get manual guidance instead of a command. - Within-range advice in JSON, HTML, SARIF and the compact
Fix:line names the refresh command for the project's package manager, for examplenpm update devalue, instead of a generic install. --sbom(or--cdx) and--reportcan be used together in one run, and a--ratchetrun now writes its HTML report too.cve-lite overrides --json --output <dir|file|->writes where it is pointed;--output -gives clean JSON on standard output, and--outputwithout--jsonis refused.- Notes saved into JSON and SARIF no longer carry an absolute
cd '/path' && ...recovery command. - An interrupted advisory database sync (Ctrl+C or SIGTERM) removes its partial staging directory instead of leaving it behind.
Validation
- npm test
- npm run build
Contributors
- @Nachiket-Roy
- @vianmangal
- @prx-my
- @muntasir-396
- @YK-03
- @Skeletor-Pirate
- @sarankumar1325 (within-range refresh commands, the within-range work built on)