Skip to content

Audit complete dependency lockfile in CI - #314

Merged
alecdotdev merged 1 commit into
sftwrdotdev:masterfrom
PathGao:ci/audit-complete-dependency-lockfile
Aug 2, 2026
Merged

Audit complete dependency lockfile in CI#314
alecdotdev merged 1 commit into
sftwrdotdev:masterfrom
PathGao:ci/audit-complete-dependency-lockfile

Conversation

@PathGao

@PathGao PathGao commented Jul 31, 2026

Copy link
Copy Markdown
Collaborator

Fixes #313

Changes the pull-request security gate from a production-only audit to npm audit of the complete resolved lockfile. Build dependencies parse project input during development and release builds, so excluding them hid the SvelteKit/Svelte/Vite findings addressed in #310.

Updates the workflow regression test to require the complete audit and reject a production-only command.

This is stacked after #312 (and therefore #310). Merge the predecessor chain first.

Validated with npm ci, npm audit (0 vulnerabilities), npm run check (0 errors, 0 warnings), npm test (136 passing), npm run build, and cargo test (21 passing).

@PathGao

PathGao commented Jul 31, 2026

Copy link
Copy Markdown
Collaborator Author

@alecdotdev This is the policy follow-up to #310: the PR gate now audits the complete lockfile, including build dependencies that process repository input. It is stacked after #312 and its predecessors; please review in that order.

@PathGao
PathGao force-pushed the ci/audit-complete-dependency-lockfile branch from f4eee12 to 60421e4 Compare August 2, 2026 05:58
@alecdotdev
alecdotdev merged commit 778b91d into sftwrdotdev:master Aug 2, 2026
5 checks passed
@PathGao
PathGao deleted the ci/audit-complete-dependency-lockfile branch August 2, 2026 08:34
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.

Audit the complete dependency lockfile in pull-request CI

2 participants