Repository navigation
CI: Run dependency security audits on pull requests and pushes to master branch
#830
EveGoodEvening
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Background
Dependabot periodically checks for updates and opens pull requests, but this asynchronous process does not validate the currently locked dependencies on every change.
Scope
Cover npm/pnpm and Python dependencies. Evaluate whether GitHub Actions dependencies can be included.
Acceptance criteria:
master.Deliverables
A dependency audit workflow, either standalone or integrated into the existing CI workflow, plus the required configuration and maintenance documentation.
Test evidence
Demonstrate that the audit fails for a controlled vulnerable dependency or equivalent fixture, then passes after restoring a safe version.
Implementation options
Prefer GitHub Dependency Review where applicable, supplemented by lockfile-aware tools such as
pnpm audit,pip-audit, or OSV. Avoid redundant scans and unreliable external calls.Example
EveGoodEvening#1
All reactions