security: patch npm/yarn vulnerabilities across JS apps#266
Open
Nick Robinson (nickrobinson) wants to merge 1 commit intomainfrom
Open
security: patch npm/yarn vulnerabilities across JS apps#266Nick Robinson (nickrobinson) wants to merge 1 commit intomainfrom
Nick Robinson (nickrobinson) wants to merge 1 commit intomainfrom
Conversation
javascript-web, javascript-tui (npm audit fix): - @xmldom/xmldom <0.8.12 → patched (HIGH: GHSA-wh4c-j3r5-mjhp, XML injection) - brace-expansion <1.1.13/<2.0.3 → patched (MODERATE: GHSA-f886-m6hf-6m8v, DoS) - yaml 2.0.0-2.8.2 → 2.8.3+ (MODERATE: GHSA-48c2-rrv3-qjmp, stack overflow) react-native (yarn resolutions): - fast-xml-parser 5.5.6 → 5.5.7 (MODERATE: GHSA-jp2q-39xq-3w4g, entity expansion) - brace-expansion → 2.0.3 (MODERATE: GHSA-f886-m6hf-6m8v) - yaml → 2.8.3 (MODERATE: GHSA-48c2-rrv3-qjmp) - lodash → 4.18.1 (HIGH: GHSA-r5fr-rjxr-66jc, code injection) - qs → 6.14.2 (MODERATE/LOW: DoS via arrayLimit bypass) react-native-expo (npm overrides + yarn resolutions): - fast-xml-parser 5.5.6 → 5.5.7 (MODERATE: GHSA-jp2q-39xq-3w4g) - brace-expansion → 2.0.3 (MODERATE: GHSA-f886-m6hf-6m8v) Remaining unfixed (require major version bumps or no patched version in branch): - react-native-expo: @tootallnate/once via jest-expo (LOW, fix = jest-expo major bump) - react-native: js-yaml via eslint (MODERATE, js-yaml v3→v4 would be breaking) - react-native: ajv via eslint (MODERATE, ajv v6→v8 would be breaking) https://claude.ai/code/session_01BY4cXcaQYDMzdG2bzUbFaC
Copilot started reviewing on behalf of
Nick Robinson (nickrobinson)
April 20, 2026 18:55
View session
Contributor
There was a problem hiding this comment.
Pull request overview
This PR patches dependency vulnerabilities identified by npm audit / yarn audit across the repo’s JavaScript/TypeScript apps by updating lockfiles and adding Yarn resolutions / npm overrides where needed.
Changes:
- Update
yarn.lock/package-lock.jsonfiles to pull in patched transitive dependency versions. - Add/update Yarn
resolutions(react-native) and npmoverrides+ Yarnresolutions(react-native-expo) to force vulnerable transitive deps to safe versions. - Bump a set of React Native Expo CLI/tooling dependencies via lockfile updates.
Reviewed changes
Copilot reviewed 2 out of 7 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| react-native/yarn.lock | Updates transitive deps for vulnerability remediation (but currently contains an invalid minimatch resolution grouping). |
| react-native/package.json | Adds/extends resolutions to force patched versions of vulnerable packages. |
| react-native-expo/yarn.lock | Updates Expo dependency graph; introduces platform-specific lockfile issues that can break macOS --frozen-lockfile installs. |
| react-native-expo/package.json | Adds direct fast-xml-parser dependency and adds resolutions/overrides for vulnerable transitive deps. |
| react-native-expo/package-lock.json | Mirrors npm-side dependency graph updates to remediate vulnerabilities. |
| javascript-web/package-lock.json | Updates audited transitive dependencies to patched versions. |
| javascript-tui/package-lock.json | Updates audited transitive dependencies to patched versions. |
Files not reviewed (3)
- javascript-tui/package-lock.json: Language not supported
- javascript-web/package-lock.json: Language not supported
- react-native-expo/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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
Patches security vulnerabilities found via
npm auditandnpx yarn auditacross all JavaScript/TypeScript apps. All fixes are minor or patch version bumps only — no major version changes.javascript-web & javascript-tui —
npm audit fix@xmldom/xmldombrace-expansionyamlreact-native — yarn
resolutionsfast-xml-parser5.5.6 → 5.5.7brace-expansion→ 2.0.3yaml→ 2.8.3lodash_.template→ 4.18.1qs→ 6.14.2react-native-expo — npm
overrides+ yarnresolutionsfast-xml-parser5.5.6 → 5.5.7(direct dep + resolutions + overrides)brace-expansion→ 2.0.3(resolutions + overrides)MANUAL INTERVENTION REQUIRED
The following vulnerabilities could not be automatically patched because all available fixes require a major version bump or a version downgrade:
react-native-expo@tootallnate/once(viajest-expo)jest-expo@47.0.1which is a downgrade from~53.0.9react-nativejs-yaml(viaeslint)3.14.2buteslintandcosmiconfigrequire^4.1.0— forcing v3 is a major downgradereact-nativeajv(viaeslint)$dataoption6.14.0buteslint-plugin-ft-flowandexpo-build-propertiesrequire^8.xTest plan
javascript-web:npm audit→ 0 vulnerabilitiesjavascript-tui:npm audit→ 0 vulnerabilitiesreact-native:npx yarn audit→ 0 vulnerabilitiesreact-native-expoyarn:npx yarn audit→ 1 low (unfixable, see above)react-native-exponpm:npm audit→ 5 low (unfixable jest-expo chain, see above)https://claude.ai/code/session_01BY4cXcaQYDMzdG2bzUbFaC