Skip to content

Bump cross-spawn to 7.1.0 to clear the critical OSV alert - #395

Open
zoharma wants to merge 1 commit into
mainfrom
zma/cross-spawn-7.1.0
Open

zoharma wants to merge 1 commit into
mainfrom
zma/cross-spawn-7.1.0

Conversation

@zoharma

@zoharma zoharma commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

What this is

This pins cross-spawn to 7.1.0, which fixes GHSA-ghv9-86vm-4v8m. That critical alert fails the OSV Scanner check on every PR.

Why it matters

  • Release age: 7.1.0 is under a week old, so it's excluded from minimumReleaseAge. The entry can go after 5 December.
  • Trust policy: css-declaration-sorter and undici-types are pinned to main's versions. Without the pins, older releases come back and fail the trust policy.
  • Re-resolution side effects: Babel and some ESLint packages now get semver 6.3.2, the version they ask for, and @babel/runtime moves to 7.29.10.

How to check it

  • OSV Scanner and pnpm install --frozen-lockfile pass.
  • Build and lint pass locally. Tests are still running.

- GHSA-ghv9-86vm-4v8m (command injection on Windows) fails the OSV Scanner check on every PR
- Exclude cross-spawn@7.1.0 from minimumReleaseAge, since it is under a week old; the entry can go after 5 December
- Pin css-declaration-sorter 7.4.0 and undici-types 7.28.0, the versions main already had, because re-resolving picked older ones that fail the trust policy
@zoharma
zoharma requested a review from a team December 3, 2026 15:15
@zoharma zoharma changed the title Bump cross-spawn to 7.1.0 to clear the critical OSV alert Bump cross-spawn to 7.1.0 to clear the critical OSV alert Dec 3, 2026
@zoharma zoharma added the dependencies Pull requests that update a dependency file label Dec 3, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant