Skip to content

ci(security): add automated dependency vulnerability scanning (#718) - #734

Open
ravendevhub wants to merge 1 commit into
Core-Foundry:mainfrom
ravendevhub:ci/dependency-vulnerability-scan-718
Open

ci(security): add automated dependency vulnerability scanning (#718)#734
ravendevhub wants to merge 1 commit into
Core-Foundry:mainfrom
ravendevhub:ci/dependency-vulnerability-scan-718

Conversation

@ravendevhub

Copy link
Copy Markdown

Summary

Resolves #718 by establishing automated dependency vulnerability scanning across Node.js (listener, dashboard) and Rust (contract) ecosystems, differentiating between non-blocking informational advisories and blocking high/critical vulnerabilities in CI.

Changes

  1. Consolidated Security Auditor (scripts/audit-vulnerabilities.sh):
    • Audits npm packages using npm audit with severity threshold levels.
    • Audits Rust dependencies using cargo audit (RustSec advisory database).
    • Supports local development and CI execution with --warn-only flags.
  2. GitHub Actions Workflow (.github/workflows/dependency-vulnerability-scan.yml):
    • Executes on pull requests modifying manifests (package.json, Cargo.toml, lockfiles) and on a weekly schedule.
  3. Policy Documentation (docs/DEPENDENCY_VULNERABILITY_SCANNING.md):
    • Details tooling, severity classification policies, and local remediation steps.

Acceptance Criteria

  • The chosen tooling is documented.
  • Dependency vulnerabilities are scanned automatically.
  • Results are visible in CI.
  • The workflow distinguishes informational findings from blocking findings.

…oundry#718)

- Introduce scripts/audit-vulnerabilities.sh for Node.js and Rust dependency scans
- Differentiate informational findings (Low/Moderate) from blocking findings (High/Critical)
- Add GitHub Actions CI workflow with rustsec/audit-check and npm audit
- Document tooling and remediation policy in docs/DEPENDENCY_VULNERABILITY_SCANNING.md
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.

Add Dependency Vulnerability Check to CI

1 participant