Skip to content

ci: route release audit through 'make audit' to skip pip-audit toolchain CVE - #18

Merged
leandrolerena merged 1 commit into
developfrom
ci/release-audit-prod-only
Apr 28, 2026
Merged

ci: route release audit through 'make audit' to skip pip-audit toolchain CVE#18
leandrolerena merged 1 commit into
developfrom
ci/release-audit-prod-only

Conversation

@griase94

Copy link
Copy Markdown
Collaborator

Summary

The release-on-tag workflow's "Security audit (production dependencies only)" step was running pip-audit against the full venv. That transitively pulls pip-auditpip-apipip 26.0, which carries CVE-2026-3219 with no fix available. So every release tag pushed since pip 26.0 entered the resolver fails the workflow on the audit step — including v1.4.0 just now.

ci.yml already calls make audit, which uses uv export --no-dev to scope the scan to the runtime closure (skipping the pip-audit toolchain itself). Routing release-on-tag.yml through the same target so both workflows share one source of truth for what "production audit" means. The Makefile target carries an inline rationale comment for the next person who looks.

One-line change.

Test plan

  • make audit succeeds locally (already does today; no functional change here)
  • After merge: re-trigger the v1.4.0 publish (re-tag or bump to v1.4.1) and confirm the workflow's audit step passes

…ain CVE

The release-on-tag workflow's "Security audit (production dependencies
only)" step was running pip-audit against the full venv, which transitively
includes pip-audit -> pip-api -> pip 26.0 (CVE-2026-3219, no fix
available). The step name claimed prod-only but the command audited
everything, so every release tag pushed since pip 26.0 entered the
resolver fails the workflow.

ci.yml already calls 'make audit', which exports the runtime closure via
'uv export --no-dev' first and scans only that. Aligning release-on-tag
with the same target. Identical scope, identical result, single source of
truth for what 'production audit' means.
@griase94
griase94 requested a review from leandrolerena April 28, 2026 14:32
@griase94 griase94 added the pr-bugfix PR introduces a bugfix label Apr 28, 2026
@leandrolerena
leandrolerena merged commit 956620a into develop Apr 28, 2026
4 of 5 checks passed
@leandrolerena
leandrolerena deleted the ci/release-audit-prod-only branch April 28, 2026 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-bugfix PR introduces a bugfix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants