fix(supply-chain): gate vulnerable dependencies and scanner cache - #1121
Merged
Conversation
…uccessor # Conflicts: # tools/osv_scanner_tool.py
Collaborator
|
Maintainer update after syncing this branch with current
The resolved branch has been pushed. Local canonical verification passed, and fresh CI is running on the latest commit. |
Collaborator
|
Follow-up: applied the repository-configured Ruff formatting to |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Plain-language summary
Summary
Raise the reviewed Click and cryptography floors, refresh only their frozen lock entries, make OSV findings a required CI failure, and bind cached scanner execution to repository-pinned bytes.
Scope: OpenRAE core only. No experiment code, data, or results are changed.
Requirement UIDs
GOV-913Related issues
Closes #1098
Closes #1106
Related: #34
Because this PR targets
dev, issue closure may need to be reconciled manually when the change reaches the default branch.Stack
devat3d6e369b726607ff657a841c7f1dee0bec655b8fChanges
click>=8.3.3andcryptography>=50.0.0, with a narrow frozen-lock refresh.Compatibility and release impact
CHANGELOG.mdand the package version remain release-please owned.Verification
159 passed, 1 deselected— repository policy and scanner regressions.67 passed, 5 deselected— semantic CLI and module-registry signing surfaces.uv lock --check: passed.6421 passed, 1 skipped; 18 pre-existing macOS libvirt tests failed because/usr/bin/busyboxis absent. No supply-chain test failed.Coverage base:
3d6e369b726607ff657a841c7f1dee0bec655b8f120/120— 100%.36/36— 100%.This does not claim 100% global repository coverage.
Traceability
GOV-913 / #1098← dependency metadata, frozen lock, CI and nox admission.GOV-913 / #1106← scanner cache/download boundary.GOV-913 / #1098 / #1106←test_repo_policy_tools.py.Checklist
Notes for review
This is deliberately independent of the Python-version and release-workflow successors. It keeps the networked OSV lane outside the hermetic
verifygraph while making that standalone lane required.