fix(backend): bump pip-audit --strict floors for 5 new advisories (CI #587) - #208
Draft
Sbussiso wants to merge 1 commit into
Draft
fix(backend): bump pip-audit --strict floors for 5 new advisories (CI #587)#208Sbussiso wants to merge 1 commit into
Sbussiso wants to merge 1 commit into
Conversation
CI run #587 (32779502864) failed the `Dependency scan (pip-audit)` step in the Test & Deploy workflow — pip-audit --strict reported 5 known vulnerabilities in 3 packages after new advisories landed in the PyPA Advisory DB: - click 8.3.1 PYSEC-2026-2132 (fix: 8.3.3) - cryptography 48.0.1 PYSEC-2026-3552 (fix: 50.0.0) - cryptography 48.0.1 PYSEC-2026-3553 (fix: 49.0.0) - cryptography 48.0.1 PYSEC-2026-3554 (fix: 49.0.0) - pip 26.1.2 PYSEC-2026-3721 (fix: 26.2) All three are transitive / dev-surface-only — none are direct deps and pip itself isn't shipped in the app image. Bump the [tool.uv] constraint-dependencies floors to the fixed versions, following the established pattern in this block (each entry cites the advisory and notes when the constraint can be removed): - pip>=26.1.2 -> pip>=26.2 - cryptography>=48.0.1 -> cryptography>=50.0.0 - add click>=8.3.3 (new; transitive via uvicorn) uv lock regenerates cleanly; the cryptography floor cascades clerk-backend-api 6.0.1 -> 7.0.0 (accepted by its own range). Verified locally: pip-audit --strict reports "No known vulnerabilities found", ruff check passes, and all 699 backend tests pass. Refs: CI run https://github.com/SourceBox-LLC/Sentinel-Command/actions/runs/32779502864
Sbussiso
referenced
this pull request
Aug 24, 2026
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 14.6.3 to 14.6.5. - [Release notes](https://github.com/testing-library/user-event/releases) - [Changelog](https://github.com/testing-library/user-event/blob/main/CHANGELOG.md) - [Commits](testing-library/user-event@v14.6.3...v14.6.5) --- updated-dependencies: - dependency-name: "@testing-library/user-event" dependency-version: 14.6.5 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
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.
Summary
Fixes the
Dependency scan (pip-audit)failure in Test & Deploy run #587 (run 32779502864).pip-audit --strictreported 5 known vulnerabilities in 3 packages after new advisories landed in the PyPA Advisory DB:Root cause
The
Backend testsjob'sDependency scan (pip-audit)step runsuv run pip-audit --strict, which audits the entire resolved dependency tree against the PyPA Advisory DB. Three new advisories (one for click, three for cryptography, one for pip) landed after the last green run, turning the scan red even though no code changed. All three are transitive / dev-surface-only — none are direct dependencies, andpipitself isn't shipped in the app image (it's only present because pip-audit pulls it in to resolve deps).Fix
Bump the
[tool.uv] constraint-dependenciesfloors inbackend/pyproject.toml, following the established pattern in this block (each entry cites the advisory and notes when the constraint can be removed):pip>=26.1.2→pip>=26.2cryptography>=48.0.1→cryptography>=50.0.0(50.0.0 satisfies all three cryptography advisories)click>=8.3.3(new entry; transitive via uvicorn)uv lockregenerates cleanly. The cryptography floor cascadesclerk-backend-api 6.0.1 → 7.0.0(accepted by its own version range).Verification
Run locally in the sandbox (Python 3.12):
uv lock— resolves 121 packages cleanlyuv run pip-audit --strict— No known vulnerabilities founduv run ruff check— All checks passeduv run pytest -q— 699 passed in 12.75sNotes
masterdirectly and would block the next deploy, so this targetsmaster.