fix(deps): resolve 31 Dependabot alerts in frontend dependencies#16
Open
wstlima wants to merge 1 commit into
Open
fix(deps): resolve 31 Dependabot alerts in frontend dependencies#16wstlima wants to merge 1 commit into
wstlima wants to merge 1 commit into
Conversation
Dependabot flagged 31 open vulnerabilities across both frontend package-lock.json files (frontend/ = main Shogun/Tenshu UI, gensui/frontend/ = Gensui admin UI), concentrated in a handful of transitive/direct packages: - axios <1.16.0 (frontend/) — 20 advisories, several High: SSRF via no_proxy bypass, prototype-pollution gadgets enabling credential theft / auth bypass / response tampering, Proxy-Authorization credential leakage across redirects, ReDoS via cookie name injection. - react-router-dom <7.15.1 (frontend/) — includes GHSA for vendored turbo-stream v2 allowing arbitrary constructor invocation via TYPE_ERROR deserialization, leading to unauthenticated RCE (High). - form-data 4.0.0–4.0.5 (both frontends, transitive via axios) — CRLF injection via unescaped multipart field names/filenames (High). - vite <8.0.16 (frontend/) — server.fs.deny bypass on Windows alternate paths (High). - @babel/core, brace-expansion, js-yaml, postcss — lower-severity fixes pulled in transitively. All fixes are patch/minor bumps within each package's existing `^` semver range in package.json — no major version changes. Applied via: cd frontend && npm ci npm install --package-lock-only axios@1.16.0 react-router-dom@7.15.1 vite@8.0.16 npm audit fix cd ../gensui/frontend && npm ci npm audit fix Verified after each: `npm audit` reports 0 vulnerabilities, `npm run build` succeeds cleanly in both frontend/ and gensui/frontend/. Does not touch frontend/dist/ (committed build artifacts) — this PR is dependency-only; a rebuild is a separate concern for whoever deploys from this branch.
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.
Fixes #7
Summary
Dependabot flagged 31 open vulnerabilities across both frontend
package-lock.jsonfiles, concentrated in:<1.16.0— 20 advisories, several High: SSRF viano_proxybypass, prototype-pollution gadgets enabling credential theft/auth bypass/response tampering, Proxy-Authorization credential leakage across redirects, ReDoS via cookie name injection<7.15.1— includes an advisory for vendored turbo-stream v2 allowing arbitrary constructor invocation via TYPE_ERROR deserialization, leading to unauthenticated RCE (High)4.0.0–4.0.5(both frontends, transitive via axios) — CRLF injection via unescaped multipart field names/filenames (High)<8.0.16—server.fs.denybypass on Windows alternate paths (High)@babel/core,brace-expansion,js-yaml,postcss— lower-severity fixes pulled in transitivelyAll fixes are patch/minor bumps within each package's existing
^semver range — no major version changes.How
Test plan
npm auditreports 0 vulnerabilities in bothfrontend/andgensui/frontend/npm run buildsucceeds cleanly in bothfrontend/dist/(committed build artifacts) — dependency-only change