Skip to content

Upgrade @opentui/solid to resolve @babel/core advisory (Dependabot alert #16) #25

Open

Description

@skwid138

Summary

Dependabot alert #16 flags @babel/core (GHSA-4x5r-pxfx-6jf8, "Arbitrary File Read via sourceMappingURL Comment", low severity). Vulnerable range <= 7.29.0; first patched version 7.29.6.

This cannot be fixed by a lockfile refresh and is deliberately deferred from the security-advisory dependency update.

Why a lockfile refresh can't fix it

  • devDependencies declares @opentui/solid: ^0.2.9, which resolves to 0.2.16 — the newest 0.2.x release.
  • @opentui/solid@0.2.16 pins @babel/core exactly at 7.28.0 (not a range), so npm update cannot move it.
  • @opentui/solid@0.3.1 also pins @babel/core 7.28.0.
  • @opentui/solid@0.6.6 (current latest) depends on @babel/core 7.29.7, which is patched.
  • Dependabot PR chore(deps-dev): bump @opentui/solid from 0.2.16 to 0.3.1 #11 (@opentui/solid 0.2.16 → 0.3.1) currently fails CI, and would not resolve this alert on its own anyway.

(Verified with npm view @opentui/solid@<version> dependencies.)

Resolution

Upgrade @opentui/solid (and the matching @opentui/core / @opentui/keymap) to a release that depends on @babel/core >= 7.29.6 (e.g. 0.6.x). This is migration work: the 0.2 → 0.6 jump may include API/behavior changes in the TUI renderer, and the peerDependencies range (>=0.2.9 <1) and solid-js compatibility need to be re-validated.

Why not overrides

An npm overrides entry forcing @babel/core@7.29.x would violate @opentui/solid's exact pin and risks silently breaking the Solid JSX transform (babel-preset-solid via @opentui/solid), which would not necessarily surface as a test failure. We prefer to take the fix through a supported upstream release.

Risk / exposure

@babel/core here is part of the build-time dev toolchain only (dependency scope: development). It is not shipped in the published package's runtime (dist/), and exploitation requires processing attacker-controlled source with a crafted sourceMappingURL comment during a local/CI build.

Activity

  1. skwid138 commented on Oct 15, 2026

    @skwid138
    OwnerAuthor

    Update (2026-10-15)

    Related Dependabot PRs

    New linked advisory: seroval (Dependabot alert #95)

    • seroval critical advisory GHSA-p6vx-979v-rg4c, patched in 1.6.2. The lockfile currently has seroval@1.5.4 via solid-js@1.9.12.
    • solid-js 1.9.12–1.9.15 depend on seroval ~1.5.x, and solid-js 1.9.16+ depend on ~1.6.8.
    • Every @opentui/solid release checked (0.2.16, 0.4.5, 0.5.0, 0.6.0, 0.6.6) declares the peer dependency solid-js at exactly 1.9.12.
    • So upgrading @opentui does not fix seroval, and upgrading solid-js breaks @opentui/solid's exact peer pin. I'm planning the seroval fix separately (either an overrides entry or an upstream request to @opentui/solid).

    Handlebars (Dependabot alerts #96–98)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions