Skip to content

Add automated dependency vulnerability scanning to CI - #792

Merged
portableDD merged 1 commit into
Nexacore-Org:v2from
OAKVISUALZ:feat/756-dependency-vulnerability-scanning
Aug 31, 2026
Merged

Add automated dependency vulnerability scanning to CI#792
portableDD merged 1 commit into
Nexacore-Org:v2from
OAKVISUALZ:feat/756-dependency-vulnerability-scanning

Conversation

@OAKVISUALZ

Copy link
Copy Markdown
Contributor

Summary

  • .github/workflows/ci.yml: adds an npm audit --audit-level=high step, running on every push/PR to main and v2, so the build fails on newly-flagged high/critical vulnerabilities instead of relying on someone remembering to run npm audit locally.
  • .github/dependabot.yml: adds weekly automated dependency-update PRs for npm packages and GitHub Actions, grouping routine minor/patch bumps into one PR per week (security-advisory PRs from Dependabot are opened immediately, independent of that schedule/grouping).
  • SECURITY.md: documents the step-by-step triage process for a flagged vulnerability (identify → check reachability → prefer the smallest fix → escalate if unfixed → never silence the gate without sign-off), plus notes the current known findings so the new CI gate doesn't fail with no context attached.

Note on CI

This PR targets v2 per the maintainer's guidance on #791. v2's Lint, Type-check & Build workflow currently fails independent of this PR (pre-existing lint/type errors unrelated to dependencies, and this new audit step will itself fail immediately because v2 already has 9 pre-existing high-severity advisories inherited transitively through next/postcss/sharp/picomatch). That's intentional and matches the issue's ask ("fails ... on high/critical vulnerabilities") — the gate now surfaces what was previously invisible. SECURITY.md documents this as known follow-up work (a next major-version bump) rather than something silently ignored. I did not attempt that bump here since it's a breaking change deserving its own reviewed PR.

Test plan

  • .github/dependabot.yml and updated .github/workflows/ci.yml validated as well-formed YAML
  • npx prettier --check clean on all three changed files
  • Maintainer confirms Dependabot is enabled for this repo/org (some orgs gate Dependabot on settings outside this PR's control)

Closes #756

- CI now runs `npm audit --audit-level=high` on every push/PR to
  main and v2, failing the build on new high/critical advisories.
- .github/dependabot.yml adds weekly automated update PRs for npm
  and GitHub Actions dependencies, with minor/patch bumps grouped
  into one PR per week; Dependabot opens security PRs immediately
  and independent of that schedule.
- SECURITY.md documents the triage process for a flagged
  vulnerability, and notes the current known high-severity findings
  (transitively inherited through next) as follow-up work rather
  than silently failing CI with no context.
@vercel

vercel Bot commented Aug 31, 2026

Copy link
Copy Markdown

@OAKVISUALZ is attempting to deploy a commit to the Emmanuel Dorcas' projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Aug 31, 2026

Copy link
Copy Markdown

@OAKVISUALZ Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@portableDD
portableDD merged commit eb63ec5 into Nexacore-Org:v2 Aug 31, 2026
0 of 2 checks passed
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.

[Wave 200pts] Add automated dependency vulnerability scanning to CI

2 participants