build(deps-dev): refresh vulnerable Jest transitive dependencies
Summary
- Refresh 24 development-only package records within their existing ranges. Keep package.json and Jest 29.7.0 unchanged.
- Replace vulnerable Babel, browser-targeting, brace-expansion and js-yaml versions.
- Add two bounded security regressions to the existing Jest command and document the exact audit snapshot and remaining finding.
Evidence
Base main: 83ceac969392e7ea1948652d0b2dd6d06233ddeb.
Head: ff2cb6d988391ab31324c78c477fce40b3c13e84.
Verified published tree: 0207e3c0790c0dcbe284ae9b357408c9276d94f3.
Author checks:
- Node 24.22.1 / npm 11.9.0: locked npm ci succeeded and 70/70 Jest tests passed.
- Negative control with the original main lockfile and the identical final tests: 68 passed / 2 failed. The zero-step brace child aborts under its heap cap; old js-yaml ignores the empty-merge-source budget.
- Python 3.12.14 / pytest 9.2.0: 27/27 existing main installer tests passed.
- JavaScript/Python syntax checks, dependency-tree validation and whitespace diagnostics passed. No separate build/lint script is configured.
- All 15 baseline source files were matched to exact-main Git blob SHAs. Published tree comparison changes only package-lock.json and adds the regression/documentation files.
Hosted CI 41947175892 completed successfully at 2026-11-05 01:15:04 UTC. Node 18.20.8 and Node 20.20.2 each passed locked npm ci and 70/70 Jest tests; Python 3.11.17 passed 27/27 tests. All three checkout logs identify merge ref 05d89283087a8967bbb6b02837722eb44ec865cb, whose parents are the exact head and unchanged base above and whose tree equals the published head tree. This is verified merge-ref CI, not a claim that jobs checked out the bare head. GitHub warns that the existing checkout/setup actions use the forced Node 24 action runtime; the application-test versions above are confirmed separately in their logs.
Independent box rerun at ff2cb6d (Linux amd64): npm ci and Jest passed 70/70; pytest passed 27/27; npm audit reported 0 vulnerabilities.
Security result and boundaries
At the author's 2026-11-05 audit snapshot (npm 11.9.0), the audit changed from 49 affected package entries (34 low, 2 moderate, 13 high) across 16 distinct advisory URLs to 6 low entries with one distinct advisory. These counts include propagated dependency effects and are not counts of demonstrated project exploits. npm audit --omit=dev reports zero findings.
The remaining finding at that time was deepmerge GHSA-gcqx-w48m-w2h4 under jest-config, for which npm proposed a breaking downgrade to Jest 25.1.0. This PR does not force that downgrade or suppress anything. GitHub has since withdrawn that advisory; a fresh npm audit at ff2cb6d reports 0 vulnerabilities and exits 0. The research document still describes the November 5 snapshot.
These are development-toolchain fixes. No npm runtime dependency, RPG Maker plugin code, Python installer, workflow, permission, credential, merge, deployment or release is changed. Installer PR #5 (since merged as b94e11f) is independent and untouched.
Research, advisory links, checks and reproducible commands.
Limits
- The refreshed lock includes node-releases 2.0.63, which requires Node 18+, so
npm ci --engine-strictfails on Node 16. CI tests Node 18 and 20. - The research document's reproduction commands assume pytest is already installed.
Summary by Sourcery
Refresh vulnerable transitive dependencies in the Jest development toolchain without changing runtime dependencies or the Jest major version.
Enhancements:
- Refresh 24 Jest development-toolchain package records to address vulnerable transitive dependencies while keeping the manifest and Jest version unchanged.
Documentation:
- Add research documentation covering the dependency refresh, audit findings, security boundaries, and verification commands.
Tests:
- Add bounded regression checks for brace expansion and YAML merge-key budgeting.
Summary by CodeRabbit
- Chores
- Refreshed development dependencies within their existing version ranges; application behavior and production dependencies remain unchanged.
- Tests
- Added regression checks for dependency behavior under constrained resource use and YAML merge-key limits.
- Documentation
- Added a security review documenting dependency audit results and verification details.
Summary
- Refresh 24 development-only package records within their existing ranges. Keep package.json and Jest 29.7.0 unchanged.
- Replace vulnerable Babel, browser-targeting, brace-expansion and js-yaml versions.
- Add two bounded security regressions to the existing Jest command and document the exact audit snapshot and remaining finding.
Evidence
Base main: 83ceac969392e7ea1948652d0b2dd6d06233ddeb.
Head: 190910a1763644ee4b6510dbbc4a961128bd50e4.
Head tree: b9dfd62aa787f1e7ed55fde9aebbbccfc356a2d5.
Verified published tree of ff2cb6d988391ab31324c78c477fce40b3c13e84: 0207e3c0790c0dcbe284ae9b357408c9276d94f3. The head tree differs from it only in docs/research/jest-dependency-security.md.
Author checks at ff2cb6d988391ab31324c78c477fce40b3c13e84:
- Node 24.22.1 / npm 11.9.0: locked npm ci succeeded and 70/70 Jest tests passed.
- Negative control with the original main lockfile and the identical final tests: 68 passed / 2 failed. The zero-step brace child aborts under its heap cap; old js-yaml ignores the empty-merge-source budget.
- Python 3.12.14 / pytest 9.2.0: 27/27 existing main installer tests passed.
- JavaScript/Python syntax checks, dependency-tree validation and whitespace diagnostics passed. No separate build/lint script is configured.
- All 15 baseline source files were matched to exact-main Git blob SHAs. Published tree comparison changes only package-lock.json and adds the regression/documentation files.
Hosted CI 41947175892 completed successfully at 2026-11-05 01:15:04 UTC. Node 18.20.8 and Node 20.20.2 each passed locked npm ci and 70/70 Jest tests; Python 3.11.17 passed 27/27 tests. All three checkout logs identify merge ref 05d89283087a8967bbb6b02837722eb44ec865cb, whose parents are ff2cb6d988391ab31324c78c477fce40b3c13e84 and unchanged base 83ceac969392e7ea1948652d0b2dd6d06233ddeb, and whose tree equals 0207e3c0790c0dcbe284ae9b357408c9276d94f3. This is verified merge-ref CI for that parent, not a claim that jobs checked out this head. GitHub warns that the existing checkout/setup actions use the forced Node 24 action runtime; the application-test versions above are confirmed separately in their logs.
Independent box rerun at ff2cb6d (Linux amd64): npm ci and Jest passed 70/70; pytest passed 27/27; npm audit reported 0 vulnerabilities.
Security result and boundaries
At the author's 2026-11-05 audit snapshot (npm 11.9.0), the audit changed from 49 affected package entries (34 low, 2 moderate, 13 high) across 16 distinct advisory URLs to 6 low entries with one distinct advisory. These counts include propagated dependency effects and are not counts of demonstrated project exploits. npm audit --omit=dev reports zero findings.
The remaining finding at that time was deepmerge GHSA-gcqx-w48m-w2h4 under jest-config, for which npm proposed a breaking downgrade to Jest 25.1.0. This PR does not force that downgrade or suppress anything. GitHub has since withdrawn that advisory; a fresh npm audit at ff2cb6d reports 0 vulnerabilities and exits 0. The research document records the November 5 snapshot and that later result.
These are development-toolchain fixes. No npm runtime dependency, RPG Maker plugin code, Python installer, workflow, permission, credential, merge, deployment or release is changed. Installer PR #5 (since merged as b94e11f) is independent and untouched.
Research, advisory links, checks and reproducible commands.
Limits
- The refreshed lock includes node-releases 2.0.63, which requires Node 18+, so
npm ci --engine-strictfails on Node 16. CI tests Node 18 and 20. - The research document's reproduction commands assume pytest is already installed.
Summary by CodeRabbit
- Chores
- Refreshed development dependencies within their existing version ranges; application behavior and production dependencies remain unchanged.
- Tests
- Added regression checks for dependency behavior under constrained resource use and YAML merge-key limits.
- Documentation
- Added a security review documenting dependency audit results and verification details.

