Repository navigation
fix(deps): pin vulnerable transitive dependencies, add bun audit CI - #3
Merged
Merged
Conversation
bun audit flagged six transitive packages with known CVEs across the three lockfiles: shell-quote, brace-expansion, protobufjs, undici, nanoid, postcss. None are direct dependencies, so pin the patched versions via package.json overrides.
GitHub's dependency graph doesn't parse bun.lock, so Dependabot alerts never fire here. Run bun audit on push, PR, and a weekly schedule instead, mirroring the govulncheck workflow in gwlint.
Adapted from gwlint's SECURITY.md, scoped to argus's actual attack surface (REST/WebSocket/webhook endpoints, tool-calling agent) instead of copied as-is.
v5 was two majors behind. No behavior change affects these workflows (v6's cred-persistence change and v7's fork-PR checkout block are both no-ops here). oven-sh/setup-bun@v2 already floats to the latest v2.x release, so it's unchanged.
Mirrors gwlint's pr-title.yml. Same action, same pinned version.
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.
Closes #2.
bun audit found 6 vulnerable transitive packages (shell-quote, brace-expansion, protobufjs, undici, nanoid, postcss) that Dependabot never flagged, since GitHub's dependency graph doesn't parse bun.lock.
Verified: bun audit clean in all three workspaces, typecheck/tests/UI build/docker compose build all pass.