Skip to content

build(deps): patch brace-expansion vulnerability - #37

Merged
GSTJ merged 1 commit into
masterfrom
fix/brace-expansion-audit
Aug 3, 2026
Merged

GSTJ merged 1 commit into
masterfrom
fix/brace-expansion-audit

Conversation

@GSTJ

@GSTJ GSTJ commented Aug 3, 2026

Copy link
Copy Markdown
Owner

Summary

We replaced the vulnerable brace-expansion version in the development toolchain with the patched 1.1.18 release.

Details

  • Pins vulnerable brace-expansion releases below 1.1.17 to a patched version.
  • Exempts the minimum fixed version from the repository-wide package age policy so pnpm can install the security update immediately.
  • react-native-code-push-plugin stays at 1.0.14 because its published tarball doesn't include this development dependency.

Testing steps

Run:

pnpm install --frozen-lockfile
pnpm audit --audit-level=low
pnpm run test --runInBand
npm pack --dry-run

Confirm the audit reports no known vulnerabilities, the tests pass, and the package tarball builds.

@GSTJ

GSTJ commented Aug 3, 2026

Copy link
Copy Markdown
Owner Author

Local proof from e3e877e. The full suite and audit pass. The adversarial 1,500-group input stays under the patched memory cap.

Terminal output from e3e877e

@GSTJ
GSTJ enabled auto-merge (squash) August 3, 2026 00:31
@GSTJ
GSTJ merged commit 63789e9 into master Aug 3, 2026
5 checks passed
@GSTJ
GSTJ deleted the fix/brace-expansion-audit branch August 3, 2026 00:32
GSTJ added a commit that referenced this pull request Sep 21, 2026
* fix(release): bump a patch for build(deps) commits

Three security patches (#37, #38, #43, #44, #45) landed as
build(deps): commits and never reached npm: the changelog preset marks
build as effect: "changelog", so release-it correctly found nothing to
release and exited 0 every time. Nobody was watching for that, so the
patches sat on master.

findTypeEntry matches on type and scope before falling back to the
scope-less entry, so a build(deps) entry ahead of the generic build one
in TYPES lets dependency and security patches bump a patch while
scope-less build: (tooling, tsconfig, oxfmt) still doesn't move the
version. changelog-check.mjs's POLICY and assertions are updated to
match, including a build(deps) vs build bump test so this can't regress
silently again.

* docs: the Swift AppDelegate redirect already landed

bb07d7b fixed the SDK 53+ AppDelegate.swift bundle URL redirect back in
v1.0.13, but the SDK-support note above it was written 26 minutes
earlier the same day and never got updated. Confirmed by prebuild
against a fresh SDK 57 app: CodePush.bundleURL() lands in
ReactNativeDelegate.bundleURL() same as the Objective-C template does.

* style: satisfy oxfmt on changelog-check.mjs
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.

1 participant