ci: add pip-audit and fix 15 dependency CVEs#254
Draft
Conversation
Adds pip-audit to scan installed Python packages for known CVEs on every PR and push to main, addressing the OpenSSF Best Practices requirement for dependency vulnerability monitoring.
Documentation build overview
Show files changed (15 files in total): 📝 15 modified | ➕ 0 added | ➖ 0 deleted
|
Allow the audit job to report vulnerabilities as warnings instead of failing the CI pipeline.
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
pip-auditas a pixi dependency and task for scanning installed Python packages against known CVE databases (OSV/PyPI Advisory)auditjob to the CI workflow that runspixi run pip-auditon every PR and push to main (non-blocking withcontinue-on-error: true)>=0.115.0(fixes starlette CVE-2024-47874, CVE-2025-54121)>=3.13.4(fixes 10 CVEs: CVE-2026-34513 through CVE-2026-34525, CVE-2026-22815)>=2.33.0(fixes CVE-2026-25645)>=2.20.0(fixes CVE-2026-4539)>=26.0(fixes CVE-2026-1703)>=0.47.2(pinned via pypi-dependencies)Remaining 5 CVEs (blocked upstream)
pydrive2pinspyopenssl<=24.2.1, which capscryptography<44. Latestpydrive2(1.21.3) has no fix. Will resolve when upstream releases a compatible version.Test plan
datamodels,pipeline,webservice)auditCI job runs on this PR