Skip to content

chore: bump three dev deps to clear high-severity advisories - #77

Merged
borisd merged 5 commits into
mainfrom
chore-audit-fix-dev-deps
Oct 8, 2026
Merged

borisd merged 5 commits into
mainfrom
chore-audit-fix-dev-deps

Conversation

@borisd

@borisd borisd commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

The security job (npm audit --audit-level=high) has been failing on every open PR in this repo (#72, #73, #74, #75, #76 …), so a real advisory would currently be indistinguishable from the standing noise.

All of these advisories are devDependency-only. They arrive through eslint/glob, ajv and vitest/vite. @xyte/cli ships only its eight runtime deps, so no consumer of the published package is affected. The blast radius is the dev/CI toolchain.

package from to advisory
brace-expansion 5.0.8 5.0.12 GHSA-rgw5-rvv9-x895 (DoS, unbounded intermediate arrays); GHSA-6j4f-fj2g-mc7p and GHSA-qhr7-859c-m2p7 (high, uncontrolled recursion); GHSA-q2hr-2g5m-vwhr (moderate, quadratic expansion)
fast-uri 3.1.4 3.1.8 GHSA-7p8r-x3mc-p8w7 (host confusion via backslash authority); GHSA-hrr3-gc8f-f4qj (moderate, host case normalization)
nanoid 3.3.16 3.3.18 GHSA-2v37-7h3g-55p8 (infinite loop when size is zero)

package.json is untouched and no runtime dependency changes. The lockfile was produced with npm update brace-expansion fast-uri nanoid --package-lock-only rather than a bare npm audit fix. npm audit fix wanted to bump 48 packages (vitest 4.1.4→4.1.11, vite 8.0.16→8.2.2, rolldown, lightningcss, postcss), which is a toolchain upgrade that deserves its own PR.

npm audit --audit-level=high now exits 0.

Residual: two moderate advisories remain: @vitest/mocker path traversal (GHSA-82fw-gwwq-j7x9) and @humanfs/node symlink copy (GHSA-p498-v437-472g). They don't fail the gate at --audit-level=high. Clearing them is the vitest/vite bump mentioned above.

The security job (npm audit --audit-level=high) has been failing on every
open PR. All three advisories are devDependency-only, so no published
@xyte/cli consumer is affected:

  brace-expansion 5.0.8  -> 5.0.9   GHSA-rgw5-rvv9-x895
  fast-uri        3.1.4  -> 3.1.7   GHSA-7p8r-x3mc-p8w7
  nanoid          3.3.16 -> 3.3.18  GHSA-2v37-7h3g-55p8

Lockfile only; package.json and all runtime dependencies are untouched.
npm audit --audit-level=high now exits 0.
Copilot AI lite review requested due to automatic review settings September 10, 2026 08:23

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@borisd borisd added the awaiting-reviewer Waiting on the reviewer: a new PR, or the author has answered every comment label Sep 22, 2026

@ariel-greenfeld ariel-greenfeld left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

from claude:

Reviewed the lockfile diff. The three bumps are clean on every structural check (range satisfaction, prod/dev flag correctness, orphans, registry integrity/tarball/dependency verification all match). One finding inline: the brace-expansion pin has gone stale since this branch was pushed.

Comment thread package-lock.json Outdated
Boris Dinkevich added 2 commits October 2, 2026 13:59
@borisd borisd added the review-replied Author has answered every review comment label Oct 2, 2026
@borisd
borisd requested a review from ariel-greenfeld October 2, 2026 13:43
@borisd

borisd commented Oct 5, 2026

Copy link
Copy Markdown
Contributor Author

AI: @ariel-greenfeld Plz review - this is to deploy new docs Julie built for CLI

…visories

New advisories published since the first bump (source-map-js GHSA-68fv-2mgg-jv7q
is high) turned the security job red again. Lockfile-only, semver-compatible.
@borisd borisd removed the review-replied Author has answered every review comment label Oct 7, 2026
@borisd
borisd merged commit ad11138 into main Oct 8, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting-reviewer Waiting on the reviewer: a new PR, or the author has answered every comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants