Skip to content

ci: add pip-audit known-CVE scan job (Task A.3 from #158)#5

Closed
BW-Projects wants to merge 2 commits into
developfrom
feature_ci_pip_audit
Closed

ci: add pip-audit known-CVE scan job (Task A.3 from #158)#5
BW-Projects wants to merge 2 commits into
developfrom
feature_ci_pip_audit

Conversation

@BW-Projects
Copy link
Copy Markdown
Owner

@BW-Projects BW-Projects commented May 28, 2026

No description provided.

Bjoern Werner added 2 commits May 28, 2026 07:42
Adds `pip-audit>=2.10.0` to the dev dependency group for the
known-CVE scan CI job.
Adds a `pip-audit` job that scans the locked dependency graph against
the PyPI advisory database.

Approach (light, no app-runtime build): export the lock to a
requirements file and drop the entries PyPI cannot audit anyway — the
git `aTrain_core` dependency and the `+cuXXX` torch builds from the
PyTorch index — then `pip-audit -r ... --no-deps`. This keeps the job
fast and consistent with the ruff/bandit jobs (no GTK/torch build on
the runner) while still auditing everything advisory-tracked (nicegui,
werkzeug, starlette, idna, …). The alternative — a full `uv sync` plus
system libs and auditing the installed environment — is heavier and is
noted in the PR for discussion.

`continue-on-error: true` initially: nicegui 2.21.1 and werkzeug 3.0.3
carry known CVEs pending the coordinated upgrade in JuergenFleiss#159. Findings
print on every run; flip the step to gating once JuergenFleiss#159 lands.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant