Skip to content

security: brace-expansion 1.1.16 (Dependabot #12/#13, both manifests) - #5

Merged
lua-stefan-kruger merged 1 commit into
mainfrom
security/brace-expansion-1.1.16
Jul 29, 2026
Merged

security: brace-expansion 1.1.16 (Dependabot #12/#13, both manifests)#5
lua-stefan-kruger merged 1 commit into
mainfrom
security/brace-expansion-1.1.16

Conversation

@lua-stefan-kruger

@lua-stefan-kruger lua-stefan-kruger commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Resolves Dependabot alerts #12 and #13 (brace-expansion, CVE-2025-5889 — 1.x ReDoS, vulnerable < 1.1.16, first patched 1.1.16).

Fix

Within-major bump to brace-expansion@1.1.16 pinned via npm overrides scoped to the 1.x line ("brace-expansion@1": "1.1.16"), extending the existing js-yaml override pattern. Scoping to @1 keeps the callable, minimatch@3-compatible default export and does not disturb any 2.x/5.x. This is deliberately NOT the minimatch@10 / 5.0.8 cascade (CVE-2026-14257) — that would be an inappropriate over-fix here.

Both manifests

Manifest Alert brace-expansion
package.json / package-lock.json (root) #13 1.1.14 → 1.1.16
mcp/lua-platform/package.json / package-lock.json #12 1.1.14 → 1.1.16

Verification

  • npm ci exits 0 in both the root and mcp/lua-platform/ (lock ↔ pkg in sync).
  • Only a single brace-expansion (1.x) resolves in each tree; both now 1.1.16.
  • Pre-existing (unrelated): mcp typecheck reports TS18003 (no .ts inputs; project is .mjs) — not introduced by this change.

Note

Low Risk
Lockfile-only security patch on a dev transitive dependency; no runtime or auth logic changes.

Overview
Addresses Dependabot alerts #12 and #13 by forcing transitive brace-expansion on the 1.x line from 1.1.14 to 1.1.16 (CVE-2025-5889 ReDoS).

Both package.json trees (repo root and mcp/lua-platform) add an npm overrides entry "brace-expansion@1": "1.1.16", matching the existing js-yaml override style and scoping to 1.x so minimatch@3’s dependency graph stays compatible. The paired package-lock.json files are updated so installs resolve only 1.1.16.

No application or build script source changes—dependency manifests and locks only.

Reviewed by Cursor Bugbot for commit 3f21f92. Bugbot is set up for automated code reviews on this repo. Configure here.

Fixes CVE-2025-5889 (brace-expansion 1.x ReDoS, vulnerable < 1.1.16).
Within-major bump pinned via npm overrides scoped to the 1.x line
("brace-expansion@1": "1.1.16") so the callable minimatch@3-compatible
default export is preserved. Applied to both npm projects:

- ROOT package.json + package-lock.json (Dependabot #13)
- mcp/lua-platform/package.json + package-lock.json (Dependabot #12)

brace-expansion 1.1.14 -> 1.1.16 in both lockfiles. npm ci passes in both.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@lua-stefan-kruger
lua-stefan-kruger merged commit ef03811 into main Jul 29, 2026
8 checks passed
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