[NX-202] Enforce Python dependency security gate (pip audit) #12
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Prevent shipping known vulnerable Python dependencies.
Scope
pip audit) in CI.Acceptance Criteria
NX-202 Completed
Implemented Python dependency vulnerability enforcement in CI with a documented, auditable exception flow.
Delivered Scope
.github/workflows/python-dependency-security.ymlpip-auditon backend dependencies.backend/scripts/pip_audit_gate.pyHIGH/CRITICALfindings.HIGH.ops/security/pip-audit-allowlist.jsondocs/security/dependency-exceptions.mddocker-release.ymlnow runspip-audit+ policy gate before image build/push.Acceptance Criteria Mapping
CI blocks vulnerable dependency updates
Met: unresolved high/critical findings fail the dependency security workflow and release pipeline.
Security exception flow is documented
Met: exception process, required fields, expiry rules, and auditability are documented in
docs/security/dependency-exceptions.md.Notes