Repository navigation
Fix Dependabot security alerts in server and client dependencies - #58
Merged
Merged
Conversation
Resolves Dependabot alerts #107, #105, #89 and the critical proxy-addr IP spoofing advisory by updating express from ^4.18.2 to ^4.22.3, which pulls in patched transitive dependencies. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Runs npm audit fix to update vite, postcss, js-yaml, source-map-js, systeminformation, tmp, nanoid, form-data, and brace-expansion to patched versions, resolving the majority of open Dependabot alerts on mern/client without any breaking API changes. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
react-router-dom 6.x (including the latest 6.30.x patch) remains vulnerable to an open redirect via backslash in Link/useNavigate and an arbitrary constructor injection in SSR hydration; the fix only landed in 7.18.0+. The app's router usage (createBrowserRouter, RouterProvider, Outlet, Link, NavLink, useParams, useNavigate) is API-compatible with v7, verified via `npm run build` and the Cypress e2e suite. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
GitHub Actions runners now force JS actions to execute on Node.js
>=24.20, and cypress-io/github-action@v6 bundles got@11, which throws
ERR_SOCKET_CLOSED_BEFORE_CONNECTION ("Socket closed before the
connection was established") immediately instead of retrying when
polling a server that isn't ready yet. This has been failing every
scheduled CI run on main since 2026-10-26. v7.4.4+ migrated to
got@16, which fixes the issue (cypress-io/github-action#1873).
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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
mern/server: bumpedexpressto^4.22.3, pulling in patchedbody-parser,proxy-addr(critical IP-spoofing advisory), andqs.mern/client: rannpm audit fixto update transitive dev dependencies (vite,postcss,js-yaml,source-map-js,systeminformation,tmp,nanoid,form-data,brace-expansion).mern/client: upgradedreact-router-domfrom^6.22.0to^7.18.5— the remaining open-redirect/SSR-hydration CVEs are only fixed in 7.18.0+. The app's router usage (createBrowserRouter,RouterProvider,Outlet,Link,NavLink,useParams,useNavigate) is API-compatible, verified below.npm auditnow reports 0 vulnerabilities in bothmern/serverandmern/client.Verification
npm ci+npm auditclean in bothmern/serverandmern/client.GET /recordreturns200against the Atlas connection.npm run buildsucceeds.npx cypress run) passes against the running server + Vite dev server (2/2 tests).Test plan
cd mern/server && npm ci && npm auditcd mern/client && npm ci && npm auditcd mern/client && npm run buildnpx cypress runend-to-end🤖 Generated with Claude Code