Skip to content

fix: clear critical/high npm advisories, fix red typedoc CI job (lane:2026-11-11d) - #20

Merged
ruvnet merged 1 commit into
mainfrom
fix/audit-lockfile-docs-ci
Nov 11, 2026
Merged

ruvnet merged 1 commit into
mainfrom
fix/audit-lockfile-docs-ci

Conversation

@ruvnet

@ruvnet ruvnet commented Nov 11, 2026 •

Copy link
Copy Markdown
Owner

deps:package-lock.json

npm audit went from 2 critical, 5 high (32 total) to 0 critical, 0 high (21 total).

  • handlebars 4.7.9 → 4.7.10. The critical advisory is JS injection via precompiled templates / AST type confusion, a bypass of CVE-2026-33937. It is dev-only: npm ls handlebars --omit=dev is empty, and the only path is ts-jest. The published dspy.ts@2.3.1 dependency list (npm view) has no handlebars. So this is a lockfile-only fix, with no release needed.
  • tar override >=7.5.11 → >=7.5.21 (critical, <=7.5.20). Path: js-pytorch → @eduardoleao052/gpu → gl → node-gyp. It is used at install time for gl's source-build fallback. This override only affects this repo's tree. Downstream is still exposed: node-gyp 10.3.1 declares tar ^6.2.1, and every 6.x is in the critical range. A scratch install of dspy.ts@2.3.1 resolves tar@6.2.1, and npm audit --omit=dev reports tar critical plus node-gyp and cacache high. No floor bump in dspy.ts can reach consumers. Only js-pytorch 1.0 (a semver-major change) or removing js-pytorch fixes it, so no release was cut. That is an owner decision.
  • protobufjs override >=7.5.8 → >=8.6.6 (moderate, 8.0.0–8.6.5).
  • npm audit fix (non-force) bumped these: js-yaml, markdown-it/linkify-it (typedoc), brace-expansion, browserslist, fast-copy (pino-pretty), and @babel/core.

Remaining: 14 moderate and 7 low. They all need a semver-major change: js-pytorch 1.0 (gl/node-gyp/glob/cacache chain), jest/ts-jest, @typescript-eslint, or typedoc. They are out of scope for a lockfile fix.

ci:main-red

Main at 531d66b failed only in the typedoc job (build-test 18/20/22 passed). That job runs npm install without the X11/GL headers. gl has no prebuilt binary for Node 20.20.2, so it falls back to node-gyp rebuild and fails with Package x11 was not found. The build-test job already installs these headers. This PR adds the same apt step to the docs job.

CI note

The first two attempts (14:21–15:17 UTC) failed in the apt step with Temporary failure resolving azure.archive.ubuntu.com / security.ubuntu.com. A runner DNS outage hit ruvnet/ruvector's Clippy job in the same window. Neither attempt got past apt. A further re-run was done after the window, since the first re-run fell inside the same outage.

Verification (local)

npm run build, npm run typecheck, npm test (32 suites, 193 tests passed), and npm run docs (0 errors) all pass.

🤖 Generated with claude-flow

…CI job

- handlebars 4.7.9 -> 4.7.10 (critical, dev-only via ts-jest), plus
  js-yaml, markdown-it/linkify-it, brace-expansion, browserslist,
  fast-copy, @babel/core via npm audit fix (lockfile only).
- overrides: tar >=7.5.21 (critical, PAX/long-name smuggling) and
  protobufjs >=8.6.6, matching the fixed versions.
- CI: the typedoc job ran npm install without the X11/GL headers that
  gl's node-gyp fallback needs; add the same apt step build-test has.

Co-Authored-By: claude-flow <ruv@ruv.net>
@ruvnet
ruvnet merged commit 200c03a into main Nov 11, 2026
4 of 16 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