Skip to content

Implement comprehensive security scanning in CI/CD pipeline #79

Description

@jobbykings

Description

The CI pipeline has basic Trivy vulnerability scanning but lacks: dependency auditing (npm audit, cargo audit), secret scanning, SAST (static analysis), and container scanning. Add these security checks to catch vulnerabilities before they reach production.

Files to Modify

  • .github/workflows/ci.yml — Add security scan jobs
  • New: .github/workflows/security.yml — Dedicated security workflow
  • New: .github/dependabot.yml — Automated dependency updates
  • backend/package.json — Add audit scripts
  • frontend/package.json — Add audit scripts

Definition of Done

  • npm audit runs on every PR (backend + frontend), fails on critical/high
  • cargo audit runs on contract changes
  • GitHub CodeQL analysis enabled for JavaScript, TypeScript, Rust
  • Dependabot configured for weekly dependency updates
  • Secret scanning prevents committed credentials
  • Security scan results visible in PR checks
  • .github/SECURITY.md with vulnerability reporting process

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions