Skip to content

v121: Fix dependency advisories and verify the CI supply chain - #1

Closed
nicu-chiciuc wants to merge 2 commits into
mainfrom
nicu-fix-supply-chain
Closed

nicu-chiciuc wants to merge 2 commits into
mainfrom
nicu-fix-supply-chain

Conversation

@nicu-chiciuc

@nicu-chiciuc nicu-chiciuc commented Sep 30, 2026 •

Copy link
Copy Markdown

Why

The full dependency audit found 23 findings (2 critical, 12 high, 8 moderate, 1 low). These were development/build tools, not declared production dependencies. Production audit findings were zero. Fix the known advisories without changing the component API or the build stack.

Summary

  • Update Convex 1.39.1 to 1.46.0, Vite 7.2.6 to 7.3.6, and Vitest 4.0.17 to 4.1.11. Regenerate compatible transitive resolutions, including ws 8.21.0, Babel 7.29.7, and shell-quote 1.10.0. No overrides or major tool migrations.
  • Replace mutable preview-publisher downloads with exact pkg-pr-new 0.0.88 in the audited lockfile. Use npx --no-install to prohibit downloads. The existing optional preview-publish step remains.
  • CI uses frozen installs. It checks registry signatures, full audit, and production audit before trusted lifecycle scripts. Cache uses package-lock.json.

Official research: Vite Windows file-read advisory, Vitest redirect mock file-read advisory, Babel source-map file-read advisory, ws memory disclosure, shell-quote denial of service, publisher lockfile guidance, registry signature verification.

These advisories depend on specific development-server or untrusted-input conditions. A clean audit does not prove all deployed code is safe. This fork is not a new registry release or an update to Scout's upstream package.

Validation

  • npm ci --ignore-scripts: passed, with the existing seven-day release-age setting unchanged.
  • npm audit signatures: 491 signatures and 116 attestations verified locally.
  • npm audit: 23 to zero findings. npm audit --omit=dev: zero before and after.
  • npm ci, npm run build, npm run test, npm run typecheck, npm run lint, npm run build:example: passed. 85 tests in 10 files; no test type errors.
  • git diff --check: passed. Independent diff review passed.
  • Latest GitHub CI passed: test/lint, actionlint, and both zizmor checks. Linux verified 491 signatures and 117 attestations. The existing optional preview publisher reported that its GitHub App is not installed on this fork; no preview package was published.
  • No backend deployment, registry release, or manual preview publication was performed. No browser test was added for this dependency-only change. npm reports existing unapproved install-script warnings; the builds still pass.

First Message

Fix the remaining supply-chain findings in Static Hosting, Teardown Noita 3D, Event Miner, Fractal Circles, Spiro, and Iterseg. Leave the older stacks alone. Keep Worker Previews work separate. Do not merge these PRs.

Requested Codex Runtime

No specific model or reasoning level was requested for this batch.

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