Skip to content

fix(deps): bump source-map-js to 1.2.2 for GHSA-68fv-2mgg-jv7q - #619

Merged
snekxs merged 1 commit into
mainfrom
fix/source-map-js-advisory
Oct 6, 2026
Merged

snekxs merged 1 commit into
mainfrom
fix/source-map-js-advisory

Conversation

@snekxs

@snekxs snekxs commented Oct 6, 2026

Copy link
Copy Markdown
Member

One high-severity advisory is open on main: source-map-js allows event-loop DoS through indexed source-map section offsets (GHSA-68fv-2mgg-jv7q). It is a dev-only transitive dependency (via vite/postcss), and it is present at every protocol pin — so it is not caused by the protocol bump.

Why this blocks more than it looks. .github/workflows/update-protocol.yml runs npm audit --audit-level=high after installing the latest @openmouse/protocol, and that step fails, so the hourly job never commits. main is therefore stuck on 0.24.0 while 0.26.0 is published, and the drivers merged since (AJAZZ AJ179 PRO, Redragon M690 PRO, Lamzu Paro Aurora, plus the X11-on-Bridge and PRO X Wireless format fixes) are unreachable in the panel.

npm audit fix moves source-map-js 1.2.1 → 1.2.2, a lockfile-only change.

Verified locally with the workflow's own gates at pin 0.26.0:

  • npm audit --audit-level=high → 0 vulnerabilities
  • npm run check → 290/290 tests, build clean
  • npm run size → CSS 100%, JS 100% of budget (passes; note the JS budget has only ~0.9 KB of headroom left)

npm audit --audit-level=high reports one high-severity advisory: source-map-js
allows event-loop denial of service through indexed source-map section offsets.

It is a dev-only transitive dependency (via vite/postcss) and is present at
every protocol pin, so the hourly Update Mouse Protocol workflow fails at its
audit step: the app stays pinned to 0.24.0 even though 0.26.0 is published,
which keeps the newly merged AJAZZ, Redragon M690 PRO and Lamzu Paro Aurora
drivers unreachable in the panel.

npm audit fix moves source-map-js 1.2.1 -> 1.2.2. Audit is clean, npm run check
passes 290/290 and npm run size stays inside the budget.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

Deploying openmouse with  Cloudflare Pages  Cloudflare Pages

Latest commit: fb656e8
Status: ✅  Deploy successful!
Preview URL: https://117f51d8.openmouse.pages.dev
Branch Preview URL: https://fix-source-map-js-advisory.openmouse.pages.dev

View logs

@snekxs
snekxs merged commit 8ad9e55 into main Oct 6, 2026
6 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