Skip to content

Automated dependency vulnerability#110

Open
gloskull wants to merge 2 commits into
Utility-Protocol:mainfrom
gloskull:Automated-Dependency-Vulnerability
Open

Automated dependency vulnerability#110
gloskull wants to merge 2 commits into
Utility-Protocol:mainfrom
gloskull:Automated-Dependency-Vulnerability

Conversation

@gloskull

Copy link
Copy Markdown
Contributor

Motivation
Introduce an automated, repository-wide dependency vulnerability scanning pipeline to block exploitable changes and enforce triage processes.
Provide reproducible Node.js audits by committing package-lock.json files for the meter-simulator and usage-dashboard projects.
Document operation, triage and rollout procedures so maintainers and security operators have a clear runbook.
Description
Add a new GitHub Actions workflow at .github/workflows/dependency-vulnerability-scan.yml with jobs for PR Dependency Review, Rust cargo audit, Node npm audit, a scheduled daily scan, and a summary enforcement step.
Commit meter-simulator/package-lock.json and usage-dashboard/package-lock.json so the workflow can run npm ci and npm audit deterministically from lockfiles.
Add docs/runbooks/DEPENDENCY_VULNERABILITY_SCANNING.md describing architecture, blocking policy, triage procedure, monitoring/alerting, and deployment strategy.
Update README.md CI/CD section to reference the new scanning workflow and runbook.
Testing
Validated the workflow YAML parses with ruby -e "require 'yaml'; YAML.load_file('.github/workflows/dependency-vulnerability-scan.yml')" which succeeded.
Ran npm ci --ignore-scripts in meter-simulator which succeeded to produce a reproducible lockfile.
Ran npm ci --ignore-scripts in usage-dashboard which succeeded to produce a reproducible lockfile.
Attempted npm audit --audit-level=moderate --omit=dev in both Node projects but the audit call failed in this environment due to the registry returning 403 Forbidden, so audits could not be completed locally (the workflow will run them in CI).
Closes #80

gloskull added 2 commits July 17, 2026 18:44
…y-scanning-pipeline

Add dependency vulnerability scanning workflow, runbook, and committed npm lockfiles
@JerryIdoko

Copy link
Copy Markdown
Contributor

resolve conflicts @gloskull

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.

Automated Dependency Vulnerability Scanning Pipeline

2 participants