Add Grype vulnerability scanner workflow#290
Merged
aviadhahami merged 11 commits intomasterfrom Mar 21, 2026
Merged
Conversation
Add a GitHub Actions workflow using Grype (anchore/scan-action) to scan for dependency vulnerabilities. The workflow: - Triggers on push/PR to master - Scans the project directory with installed npm dependencies - Fails the build on high or critical severity vulnerabilities - Uploads SARIF results to GitHub Code Scanning - Uses explicit permissions for security best practices Co-authored-by: aviadhahami <7353632+aviadhahami@users.noreply.github.com> Agent-Logs-Url: https://github.com/nodevault/node-vault/sessions/6160e790-c0cb-4ce9-92e9-1d98e30a939a
Copilot
AI
changed the title
[WIP] Add free tier vulnerability scanner that fails on high/crit
Add Grype vulnerability scanner workflow
Mar 21, 2026
Grype parses package-lock.json directly via Syft's javascript-lock-cataloger. No need to install node_modules for vulnerability scanning. Co-authored-by: aviadhahami <7353632+aviadhahami@users.noreply.github.com> Agent-Logs-Url: https://github.com/nodevault/node-vault/sessions/7ce325a9-9cf4-4429-bd29-0e641afd7023
aviadhahami
approved these changes
Mar 21, 2026
Strip trailing slash from endpoint to prevent malformed URIs
Copilot
AI
changed the title
Add Grype vulnerability scanner workflow
Remove unnecessary npm ci from Grype vulnerability scan
Mar 21, 2026
Closes #175 Co-authored-by: aviadhahami <7353632+aviadhahami@users.noreply.github.com> Agent-Logs-Url: https://github.com/nodevault/node-vault/sessions/c1ac458b-4e57-4624-90ae-2d76913d4139
Copilot
AI
changed the title
Remove unnecessary npm ci from Grype vulnerability scan
Add Grype vulnerability scanner workflow
Mar 21, 2026
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
aviadhahami
approved these changes
Mar 21, 2026
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.
Adds a GitHub Actions workflow that scans dependencies for known vulnerabilities using Grype and uploads results as SARIF to GitHub Code Scanning.
.github/workflows/vulnerability-scan.yaml): Runs on push/PR tomaster. Grype parses lockfiles directly via Syft'sjavascript-lock-cataloger—nonpm ciornode_modulesneeded.highorcriticalseverity findingsOriginal prompt
⚡ Quickly spin up Copilot coding agent tasks from anywhere on your macOS or Windows machine with Raycast.