Skip to content

Fix dependency vulnerabilities and guard build-time brace recursion - #24

Open
modhack2003 wants to merge 1 commit into
mainfrom
fix/dependency-security-20261016
Open

modhack2003 wants to merge 1 commit into
mainfrom
fix/dependency-security-20261016

Conversation

@modhack2003

@modhack2003 modhack2003 commented Oct 16, 2026 •

Copy link
Copy Markdown
Owner

Next.js and transitive dependencies produced 56 npm audit findings, including critical image-processing/framework advisories. Update Next.js to 15.5.28, Sharp to 0.35.5 and PostCSS to 8.5.30; align Prisma CLI/client at 6.19.3 and update the affected configuration, CSS, HTTP, YAML and test dependency chains. Remove unused patch-package and classify the Tailwind animation plugin as a build dependency. The production dependency audit drops from 18 findings to zero.

One upstream advisory remains: GHSA-vfj7-8cjw-p6xm has no patched braces release and currently produces 8 high development dependency-chain findings in GitHub CI (the recorded local audit reported 7). Apply a deterministic, hash-verified parser/AST nesting mitigation during installation and test it in CI. Raw npm audit counts and GitHub alerts remain visible; the audit gate accepts only this exact locally mitigated advisory and rejects new advisories, missing patches and invalid audit responses. See docs/dependency-security.md for the package-by-package changes, override compatibility checks and removal procedure.

Validation completed against this exact source tree:

  • Clean npm ci, dependency integrity checks, TypeScript and ESLint passed.
  • 37 Jest suites / 372 tests and all 12 desktop/mobile Playwright scenarios passed.
  • Disposable MongoDB concurrency, auth, contact/import/sync and atomic history/backup recovery checks passed.
  • Missing-database release refusal and the Next.js production build passed.
  • Clean npm ci --omit=dev reported zero vulnerabilities; standalone homepage, blog, audio configuration API and robots routes returned 200.

Node.js 22+ is required, matching the existing CI setup. Cross-major transitive overrides are documented and covered by compatibility checks. No application UI, audio behavior, authentication flow or production data was changed.

PR verification: GitHub Checks run 38963553189 passed on Node.js 22.23.3 / npm 10.9.9, including the security gate, 372 unit tests, database integrations, production build and all 12 browser scenarios. Vercel preview is READY at https://bikram-dttc5fkl4-modhack2003s-projects.vercel.app; its homepage and public audio-settings API both returned HTTP 200. The PR remains open for review.

@vercel

vercel Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
bikram Ready Ready Preview Oct 16, 2026 8:38pm UTC

This branch was successfully deployed

1 active deployment
Preview – bikram — 7f929e7b Deployed Oct 16, 2026 by vercel[bot]
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.

1 participant