Skip to content

01C: Enforce Dependency Vulnerability Audits in CI/CD #30

Description

@primeinc

Goal:
Detect and block vulnerable dependencies using automated audit in CI (SDL requirement).

Scope:

  • Add Action step: npm audit (JS/TS), or GH native dep scanning.
  • Fail CI if audit finds high/critical vulnerabilities.
  • Update in logs and workflow summary.

Non-scope:

  • Manual review of transitive dependencies (follow-up if needed).

Acceptance Criteria:

  • Audit runs each time dependencies change or on push/PR.
  • Vulnerabilities block merges and raise in workflow summary.

Test Plan:

  • Add vulnerable package; verify workflow blocks merge and logs occurrence.

Dependencies:

  • Epic 01-sdl-security-setup

Risks/Failure Modes:

  • Vulnerabilities not detected upstream; audit tool misses CVEs.

Definition of Done:

  • Audit step enforced in CI; merge is blocked by known CVEs.

Next 3 actions:

  1. Add dep audit step to workflow.
  2. Test with vulnerable package.
  3. Update docs on audit lifecycle.

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions