Repository navigation
chore(deps): v2.7.0 release audit — pin cross-spawn past three advisories - #5822
Conversation
Release audit for v2.7.0 (#5820). npm audit flagged cross-spawn 7.0.6 and 6.0.6 under GHSA-ghv9-86vm-4v8m (critical), GHSA-m6qr-m48x-3xhh and GHSA-w3gc-668g-rf8f (high). Every copy is a devDependency path (@modelcontextprotocol/client, eslint, mcp-server-diff, shx -> execa), so no published server ships it. Pin each major line with a version-selector overrides key, so execa@1 keeps the 6.x API it declares: cross-spawn@^6 -> ^6.0.8 (now 6.0.10), cross-spawn@^7 -> ^7.1.1 (now 7.1.2). Closes #5820 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: cliffhall <cliff@futurescale.com>
|
|
| Tools | Prompts | Resources | Resource templates | |
|---|---|---|---|---|
| Base | 1 | 0 | 0 | 0 |
| Head | 1 | 0 | 0 | 0 |
Updated by this run for 78ae7ded41eedddb3c5169bdaa106c91d7b38fde.
|
| Tools | Prompts | Resources | Resource templates | |
|---|---|---|---|---|
| Base | 9 | 0 | 1 | 0 |
| Head | 9 | 0 | 1 | 0 |
Updated by this run for 78ae7ded41eedddb3c5169bdaa106c91d7b38fde.
|
| Tools | Prompts | Resources | Resource templates | |
|---|---|---|---|---|
| Base | 23 | 4 | 8 | 5 |
| Head | 23 | 4 | 8 | 5 |
Updated by this run for 78ae7ded41eedddb3c5169bdaa106c91d7b38fde.
|
| Tools | Prompts | Resources | Resource templates | |
|---|---|---|---|---|
| Base | 16 | 0 | 0 | 1 |
| Head | 16 | 0 | 0 | 1 |
Updated by this run for 78ae7ded41eedddb3c5169bdaa106c91d7b38fde.
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are recorded for the development-dependency overrides and lockfile updates.
No open issues 🎉
What changed in this PR
Updates development dependencies for the v2.7.0 release audit, addressing three Windows-only cross-spawn injection advisories without changing published server packages.
Changes:
- Adds separate overrides for
cross-spawn6.x and 7.x, preserving dependents’ major-version ranges. - Updates locked versions to 6.0.10 and 7.1.2.
| File | Description |
|---|---|
| package.json | Adds per-major overrides requiring patched versions. |
| package-lock.json | Records updated versions, URLs, and integrity hashes. |
Review effort: Balanced
|
Copilot round 1: clean (no findings). The review loop stops here on the first clean round. |
Closes #5820
Description
The v2.7.0 release audit (
/releasestep 2a) forced one fix.npm audit --audit-level=highflaggedcross-spawn7.0.6 and 6.0.6 under three Windows-only injection advisories:>=7.0.0 <7.1.0,<6.0.7>=7.0.4 <7.1.0,=6.0.6>=7.0.0 <7.1.1,<6.0.8Two root
overridesentries pin each major line on its own, using version-selector keys:cross-spawn@^6→^6.0.8andcross-spawn@^7→^7.1.1. The lockfile now holds 6.0.10 and 7.1.2. A single globalcross-spawnkey was tried first and forcedexeca@1(which declares^6.0.0) onto 7.x, whichnpm lsreports as invalid. The per-major keys keep every dependent inside its declared range.The full audit report, Python included (clean), is on #5820.
Server Details
package.jsonoverridesandpackage-lock.json. Everycross-spawnpath is a devDependency (@modelcontextprotocol/client,eslint,mcp-server-diff,shx→shelljs→execa), so no published package changes and there is no changeset.Motivation and Context
Release v2.7.0 (#5820): the audit runs before the version bumps so they sit on a checked tree.
How Has This Been Tested?
Targeted probe (no client-observable surface):
npm audit --audit-level=high→1 critical severity vulnerability, exit 1;npm ls cross-spawn --all→ 7.0.6 (×3, deduped) andexeca/node_modules/cross-spawn@6.0.6.npm audit --audit-level=high→found 0 vulnerabilities, exit 0;npm ls cross-spawn --all→ 7.1.2 (×3, deduped) andexeca/node_modules/cross-spawn@6.0.10, with noinvalidentries.shxruns in every TypeScript workspace's build (shx chmod,shx cp), which the gate runs; those commands do not reachexeca(shelljs loads it only forexec), so the 6.x bump is covered bynpm lsresolving it insideexeca's declared^6.0.0, not by a run.npm run local:gate: exit 0.Breaking Changes
None.
Types of changes
Checklist
npm run changeset) if this changes what a TypeScript server publishes (not applicable: dev dependencies only)🤖 Generated with Claude Code