security: fix Dependabot alerts in dompurify, astro, and @babel/core - #158
Conversation
…(ENG-5625) Clears 23 of the 24 open Dependabot alerts (17 medium, 7 low): - dompurify 3.3.1 (session-ui) / 3.4.11 (ui, catalog) -> 3.4.13: closes 19 of 20 dompurify alerts. CVE-2026-65901 (low) has no fixed release and needs a Vanta exception instead. - astro 6.4.8 -> 7.1.0 (CVE-2026-59727, CVE-2026-59729, CVE-2026-73422; the last one requires >= 7.1.0). Along for the major bump: @astrojs/starlight 0.40.0 -> 0.41.7, @astrojs/solid-js 6.0.1 -> 7.0.2, and @astrojs/cloudflare 13.7.0 -> 14.1.7 (14.2.0 imports an astro internal that only exists from 7.2.0 despite its ^7.0.0 peer range). The astro/starlight overrides pin and the toolbeam-docs-theme peer patch are refreshed the same way as the astro 6 migration (PR browser-use#109) so the unmaintained theme keeps deduping onto the site's versions. - @babel/core 7.28.4 -> 7.29.6 (CVE-2026-49356). Verified: full astro build of packages/web (all locales + Pagefind), typecheck + tests for ui and session-ui, root turbo typecheck.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e812c25c72
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
All reported issues were addressed across 8 files
Reply with feedback, questions, or to request a fix.
Fix all with cubic | Re-trigger cubic
…ange Review feedback on browser-use#158: @astrojs/solid-js@7.0.2 peer-requires solid-js ^1.9.13 while the catalog pinned 1.9.10, leaving the docs site's Solid island on an unsupported peer combination. - Catalog solid-js 1.9.10 -> 1.9.15. - Drop patches/solid-js@1.9.10.patch: it cherry-picked solidjs/solid#2046, which ships upstream in 1.9.14+. - Add a root solid-js override: @opentui/solid, @opentui/keymap, and @solidjs/start pin exactly 1.9.10, and without the override they each grew a nested solid-js copy — solid must stay a singleton per app. They previously ran against the deduped, patched 1.9.10, which is behaviorally 1.9.15's runComputation fix anyway. Verified: single solid-js@1.9.15 in bun.lock, no peer warnings on install, full astro build of packages/web, typecheck for tui/ui/ session-ui + root turbo (17/17), ui and session-ui tests.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 657519ad3c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
astro@7.1.0 optionally peers @astrojs/markdown-remark at exactly 7.2.1; packages/web pinned 7.2.0. Starlight's ^7.2.0 peer is satisfied either way. Verified with a full astro build.
Fixes ENG-5625.
Clears 23 of the 24 open Dependabot alerts (0 high, 17 medium, 7 low) by bumping three packages:
dompurifyastro@babel/coreThe remaining alert, dompurify CVE-2026-65901 (low), has no fixed release — Vanta marks it not fixable, so it needs an exception there rather than a code change.
astro 7 migration notes
packages/webmoves to astro 7.1.0 (CVE-2026-73422 requires >= 7.1.0), which drags the integrations along:@astrojs/starlight0.40.0 → 0.41.7 (the astro-7-compatible line; 0.41.8+ is still inside the bunfigminimumReleaseAgewindow)@astrojs/solid-js6.0.1 → 7.0.2@astrojs/cloudflare13.7.0 → 14.1.7 — deliberately not 14.2.x: 14.2.0 importsbeginContentEntryCollectionfrom astro internals, which only exists from astro 7.2.0, despite the 14.2.0 peer range claiming^7.0.0. The 14.2.x releases that fixed the peer range (^7.2.0) can't pair with astro 7.1.0 at all.overridespin for astro/starlight and thetoolbeam-docs-themepeer patch are refreshed the same way as the astro 6 migration (security: bump vulnerable npm dependencies + migrate docs to astro 6 #109), so the unmaintained theme keeps deduping onto the site's versions instead of pulling a nested older astro.prerenderEnvironment: "node"carries over unchanged — the option still exists with the sameworkerddefault in adapter v14.The nested
@babel/core@7.28.0pinned by@opentui/solidstays as-is; Dependabot keys these alerts off the package manifests and has never flagged that copy.Verification
astro buildofpackages/web: all locales prerender, config schema generated, Pagefind indexed 649 pages, sitemap createdbun run typecheck+bun test srcinpackages/ui(9 pass) andpackages/session-ui(75 pass — includes theDOMPurify.sanitize/addHookconsumer inmarkdown-cache.tsx)bun run typecheck: 17/17 tasks passnix/hashes.jsonis left to the post-merge bot that regenerates node_modules hashes, matching previous dependency PRs.Summary by cubic
Bumps
dompurify,astro, and@babel/coreto clear 23 of the 24 open Dependabot alerts, and movessolid-jsto 1.9.15 so the docs site's Solid island satisfies@astrojs/solid-js@7.0.2's peer range. The remaining low-severitydompurifyalert has no fixed release and needs a Vanta exception, not a code change.Migration Notes
packages/webmoves to astro 7.1.0; this brings@astrojs/starlight,@astrojs/solid-js, and@astrojs/cloudflaremajor bumps (14.1.7 is pinned deliberately, because 14.2.x imports an astro internal that only exists from 7.2.0).@astrojs/markdown-remarkmoves 7.2.0 → 7.2.1 to match astro 7.1.0's exact optional peer.solid-jsmoves 1.9.10 → 1.9.15: the old patch is dropped because Stale read from <Show> under a transition solidjs/solid#2046 ships upstream in 1.9.14+.solid-jsoverride keeps solid a singleton;@opentui/solid,@opentui/keymap, and@solidjs/startpin 1.9.10 and would otherwise grow nested copies.toolbeam-docs-themepeer patch are refreshed so the theme still dedupes onto the site's astro/starlight versions.prerenderEnvironment: "node"carries over unchanged.@babel/coreunder@opentui/solidstays as-is; Dependabot flags only manifest-declared copies.Written for commit 67bd12b. Summary will update on new commits.