Repository navigation
ci: dependency audit (pip-audit and npm audit) - #19
Merged
Merged
Conversation
Adds a security workflow with read-only token permissions that runs pip-audit on apps/api/requirements.lock and npm audit (production, high and above) on the web lock file. Records the pip-audit pin in docs/VERSIONS.md. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A2y4b87iFhsrE3GaZwLMbs
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.
What
Adds
.github/workflows/security.yml:pip-auditagainstapps/api/requirements.lock(--no-deps --disable-pip, so it audits exactly what is pinned and installs nothing).npm audit --omit=dev --audit-level=highfor the web app.permissions: contents: read. It reads lock files only and never runs project code.docs/VERSIONS.md.Not verified
pip-audit==2.9.0and the flags come from my knowledge of the tool; if the first run fails on a flag or version, adjust the pin.npm auditcan fail PRs when a new advisory appears upstream. If that gets noisy, droppull_requestand keep the weekly run.Generated by Claude Code