Skip to content

deps: close every critical and high advisory in the kits and demos - #54

Merged
richard-epsilla merged 1 commit into
mainfrom
deps/close-critical-high
Nov 2, 2026
Merged

richard-epsilla merged 1 commit into
mainfrom
deps/close-critical-high

Conversation

@richard-epsilla

Copy link
Copy Markdown
Contributor

Closes all 31 open critical and high Dependabot alerts (2 critical, 29 high) across the root lockfile and the six kit apps. Across the seven lockfiles, npm audit goes from 2 critical and 21 high to none.

Package From → to Where How
vite 6.4.3 → 6.4.5 root demos, every kit range raised to ^6.4.5
source-map-js 1.2.1 → 1.2.2 root demos, every kit in range under postcss (Video: override)
nanoid → 3.3.20 root demos, every kit in range under postcss
xlsx 0.18.5 → 0.20.3 Sheets, Harness Bot SheetJS's own tarball, pinned by integrity (SheetJS no longer publishes to npm)
dompurify 3.4.13 → 3.4.17 Slides, Video in range under mermaid (Video: override)
image-size 1.2.1 → 2.0.4 Slides override under pptxgenjs, which pins ^1.2.1. Its browser build never imports image-size, so the built app is unchanged
lodash-es 4.17.21 → 4.18.1 Video override (chevrotain pins 4.17.21)
nanoid 3.3.3 → 3.3.20, 4.0.2 → 5.1.16 Video overrides (excalidraw and mermaid-to-excalidraw pin exact versions)

No other package version changed in any lockfile. Each app runs its tests and build from its own lockfile (npm ci), as CI and the image bake do: root demos 21, dashboard 63, harness-bot 30, sheets 64, video 161, plus mario and slides builds. All pass.

End-to-end checks in the running kits follow before merge: open and export a workbook, export a deck, draw a diagram in a video.

🤖 Generated with Claude Code

npm audit, high and critical, across the root and the six kit apps goes from 2 critical and 21 high to none:
- vite 6.4.3 -> 6.4.5 (GHSA-587h-7wmj-h5pm) everywhere, with source-map-js 1.2.2 (GHSA-68fv-2mgg-jv7q) and
  nanoid 3.3.20 under postcss.
- Sheets and Harness Bot: xlsx 0.18.5 -> 0.20.3 (GHSA-4r6h-8v6p-xvw6, GHSA-5pgg-2g8v-p4x9). SheetJS no longer
  publishes to npm; 0.20.3 is its own tarball, pinned by integrity in the lockfile. The read and write calls the
  kits use are unchanged.
- Slides and Video: dompurify 3.4.13 -> 3.4.17 under mermaid (GHSA-cg2g-xh64-v4q7 critical, GHSA-mrv2-3pqr-j5jr).
- Slides: image-size 1.2.1 -> 2.0.4 under pptxgenjs (GHSA-5p2g-fcmc-qvqq, GHSA-w3rx-r6r6-pgpr), by override:
  the browser build of pptxgenjs never imports it, so the built app does not change.
- Video: lodash-es 4.18.1 under chevrotain (GHSA-r5fr-rjxr-66jc); nanoid 3.3.20 under excalidraw and 5.1.16
  under mermaid-to-excalidraw (GHSA-2v37-7h3g-55p8, GHSA-28wg-ghj8-5hjv, GHSA-xwg4-73v4-xw9w). Their parents pin
  exact versions, so these are overrides.

Every app's own tests and build pass from its lockfile (npm ci), as CI and the image bake run them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@richard-epsilla

Copy link
Copy Markdown
Contributor Author

End to end on a self-hosted instance running these kits. They were built by the image's own install-kits.sh from this branch (7165c0d); outside each built app/, the kits are identical to the current image's:

  • All six apps: load with no page errors and no console errors.
  • Sheets: Export, then Excel (.xlsx), on an existing sheet. The file is written by xlsx 0.20.3, and openpyxl reads it back with the grid's header row (Company, Site, Brief, Competition) and 6 rows.
  • Harness Bot:
    • A workbook was attached in a direct message, and the teammate saved an unchanged copy.
    • Opening the copy's card read it with xlsx 0.20.3 in the browser. Both tabs came through, including an empty first one, along with every value: 名前, 报告, 計画, résumé, say "hi", 12.5.
  • Slides: a new deck's flowchart is drawn by mermaid with DOMPurify 3.4.17. PowerPoint export gives a valid 3-slide .pptx.
    • That export also showed that a diagram never reaches the .pptx. This is a separate bug, already on main: export reads the wrong field. It's fixed in its own PR.
  • Video: a rectangle drawn on a video's canvas is created and selected (Excalidraw with nanoid 3.3.20). Every save was refused for the test, and a reload shows the video unchanged.
    • The kit hides Excalidraw's More tools menu by design, so mermaid-to-excalidraw (nanoid 5.1.16) ships but no one can reach it from this kit.

@richard-epsilla
richard-epsilla merged commit 7ddf1c6 into main Nov 2, 2026
10 checks passed
@richard-epsilla
richard-epsilla deleted the deps/close-critical-high branch November 2, 2026 22:21
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