Repository navigation
chore(security): review dependency vulnerabilities - #226
Open
dex-the-ai wants to merge 1 commit into
Open
dex-the-ai wants to merge 1 commit into
dex-the-ai wants to merge 1 commit into
Conversation
Run npm audit fix (no --force). Lockfile-only change: next/eslint-config-next 16.3.7 -> 16.4.6, follow-redirects 1.16.0 -> 1.16.3, qs 6.16.0 -> 6.17.1, source-map-js 1.2.1 -> 1.2.2, zod 4.4.1 -> 4.6.7. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
npm auditfound 21 known advisories in this app's dependencies. This PR fixes 18 of them, including 2 critical Next.js remote code execution issues. The change is lockfile-only: I rannpm audit fix(without--force), sopackage.jsonis unchanged and no major versions moved.nextandeslint-config-next16.3.7 -> 16.4.6 (same major)follow-redirects1.16.0 -> 1.16.3 (used by axios)qs6.16.0 -> 6.17.1source-map-js1.2.1 -> 1.2.2zod4.4.1 -> 4.6.7 (dev-only, used by eslint-plugin-react-hooks)Before: 21 advisories (npm reports 57 affected packages: 1 critical, 46 high, 10 moderate). After: 3 advisories (52 affected packages: 0 critical, 48 high, 4 moderate). The "affected package" count stays high because npm also lists every jest and eslint package that depends on the 3 remaining items below.
Advisories fixed
use cachefunctions returning typed arraysuse cachefill can leak Draft Mode content into regular responses and persisted pagesRemaining advisories not fixed
Why they stay:
--force, which would downgrade jest to 26 and eslint-config-next to 14.Validation
Node 26.7.0, npm 12.0.2. Tests ran against a Capella cluster with a
user_profilebucket. The CI workflow does the same steps against a local Couchbase container.npm cinpm run check(prettier + eslint--max-warnings=0)npx jest(all 4 API route suites: create/read/update/delete)npx next build(Next.js 16.4.6)/and/api/usernext start+GET /andGET /api/user?limit=3npm auditbefore / afterEvidence
The production build (
next start) on this branch, connected to Capella and loading the user directory:Walkthrough video
Overlapping Dependabot PRs
This PR covers these, so they can be closed once it merges:
Risk / rollback
Low risk. Only
package-lock.jsonchanges, and every update is a minor or patch release inside the rangespackage.jsonalready allows. To roll back, revert this commit.Reviewers / notifications
Reviewer requested from tutorials.json owners (the repo has no CODEOWNERS file): @ejscribner. A Slack notification was sent to the dependency PR channel.
Hermes Kanban: board couchbase-examples, task t_5ccc3afa
🤖 Generated with Claude Code