Skip to content

fix: patch moderate security vulnerabilities across JS/TS projects#290

Open
Nick Robinson (nickrobinson) wants to merge 1 commit into
mainfrom
claude/fervent-planck-MAqUy
Open

fix: patch moderate security vulnerabilities across JS/TS projects#290
Nick Robinson (nickrobinson) wants to merge 1 commit into
mainfrom
claude/fervent-planck-MAqUy

Conversation

@nickrobinson
Copy link
Copy Markdown
Collaborator

Summary

Patches all security vulnerabilities addressable via minor/patch version bumps across the JavaScript and TypeScript sub-projects. Major-version-only fixes are called out separately below.


Fixes applied

electron · javascript-web · javascript-tui

All three resolved via npm audit fix (lockfile-only updates, no manifest changes):

Package Advisory Severity Fix
brace-expansion GHSA-jxxr-4gwj-5jf2 / GHSA-f886-m6hf-6m8v moderate lockfile resolution bumped to patched version
ws (javascript-tui only) GHSA-58qx-3vcg-4xpx moderate lockfile resolution bumped to ≥8.20.1

Result: 0 vulnerabilities in all three projects.

react-native-expo

Changes to package.json overrides and resolutions, plus both package-lock.json and yarn.lock regenerated (per repo policy — project ships both lockfiles):

Package Change Advisories fixed
fast-xml-parser override 5.5.6 → 5.7.0 GHSA-jp2q-39xq-3w4g, GHSA-gh4j-gqv2-49f6
brace-expansion resolved to ≥1.1.14 / ≥2.1.1 / ≥5.0.6 via audit fix GHSA-f886-m6hf-6m8v
ws resolved to 8.21.0 via audit fix GHSA-58qx-3vcg-4xpx
yaml resolved to 2.9.0 via audit fix GHSA-48c2-rrv3-qjmp
qs resolved to 6.15.2 via audit fix GHSA-vs8f-pjqx-3jh3

react-native

Changes to package.json resolutions + yarn.lock regenerated:

Package Change Advisories fixed
fast-xml-parser resolution 5.5.6 → 5.7.0 GHSA-jp2q-39xq-3w4g, GHSA-gh4j-gqv2-49f6
qs resolution added 6.15.2 GHSA-vs8f-pjqx-3jh3
yaml resolution added 2.8.3 GHSA-48c2-rrv3-qjmp

MANUAL INTERVENTION REQUIRED

The following vulnerabilities in react-native-expo cannot be resolved without major version bumps and are out of scope for this PR:

Package Current Fix requires Advisories
expo (+ ecosystem: @expo/cli, @expo/config, @expo/config-plugins, @expo/metro-config, @expo/prebuild-config, expo-asset, expo-constants, expo-linking, expo-router, expo-splash-screen, jest-expo, xcode) ~54.0.x expo 56.x (major bump) Multiple moderate
postcss transitive via expo expo 56.x moderate XSS
uuid transitive via expo expo 56.x (uuid 11.x internally) moderate buffer bounds

Suggested action: upgrade expo from ~54.0.25 to ~56.x in react-native-expo/package.json and rerun npm install + npx yarn install.


Projects not covered

  • Rust (rust-tui): cargo-audit not installed in this environment; manual cargo audit + cargo update recommended.
  • Go (go-tui): govulncheck not available; manual go get -u ./... recommended.
  • .NET / Android / Flutter / Swift: native toolchains not available in CI; dependency manifests reviewed but no automated audit run.

https://claude.ai/code/session_01D2SFCm3sSQecArjtyuJTLH


Generated by Claude Code

- electron, javascript-web, javascript-tui: resolve brace-expansion
  GHSA-jxxr-4gwj-5jf2 / GHSA-f886-m6hf-6m8v (moderate) via npm
  audit fix; javascript-tui also fixes ws GHSA-58qx-3vcg-4xpx
- react-native-expo: bump fast-xml-parser override 5.5.6 → 5.7.0
  (fixes GHSA-jp2q-39xq-3w4g + GHSA-gh4j-gqv2-49f6); brace-expansion,
  ws, yaml, qs resolved in both npm and yarn lockfiles via audit fix
- react-native: bump fast-xml-parser resolution 5.5.6 → 5.7.0; add
  qs 6.15.2 (GHSA-vs8f-pjqx-3jh3) and yaml 2.8.3 (GHSA-48c2-rrv3-qjmp)
  resolutions in yarn

Remaining (require major version bumps — out of scope):
  react-native-expo: expo ecosystem packages, postcss, uuid

https://claude.ai/code/session_01D2SFCm3sSQecArjtyuJTLH
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates dependency lockfiles (and a few resolution/override pins) across multiple JS/TS subprojects to pick up patch/minor releases that address moderate security advisories (e.g., brace-expansion, ws, fast-xml-parser, qs, yaml).

Changes:

  • Regenerated package-lock.json files for electron, javascript-web, and javascript-tui to pull patched transitive versions (notably brace-expansion and ws).
  • Updated react-native and react-native-expo resolution/override pins for fast-xml-parser (and added qs/yaml pins for react-native), then regenerated Yarn lockfiles.
  • Refreshed react-native-expo Yarn dependency graph (numerous transitive bumps) consistent with the stated audit remediation approach.

Reviewed changes

Copilot reviewed 2 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
electron/package-lock.json Lockfile refresh to pick up patched transitive dependencies.
javascript-web/package-lock.json Lockfile-only updates to patched dependency resolutions.
javascript-tui/package-lock.json Lockfile-only updates including patched ws and brace-expansion.
react-native/package.json Updates resolutions to pin patched fast-xml-parser, plus qs/yaml.
react-native/yarn.lock Yarn lock refresh reflecting updated resolutions and patched transitive versions.
react-native-expo/package.json Updates resolutions + overrides to pin patched fast-xml-parser.
react-native-expo/yarn.lock Yarn lock refresh reflecting patched transitive versions from audit fix/regeneration.
Files not reviewed (3)
  • electron/package-lock.json: Language not supported
  • javascript-tui/package-lock.json: Language not supported
  • javascript-web/package-lock.json: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

3 participants