Skip to content

chore(deps): electron-builder 26.15.3 (clears a high advisory), audit fix, and the mac-tester pointer - #38

Merged
JOhnsonKC201 merged 2 commits into
mainfrom
chore/deps-and-guardrails
Aug 28, 2026
Merged

chore(deps): electron-builder 26.15.3 (clears a high advisory), audit fix, and the mac-tester pointer#38
JOhnsonKC201 merged 2 commits into
mainfrom
chore/deps-and-guardrails

Conversation

@JOhnsonKC201

Copy link
Copy Markdown
Owner

Supersedes #36, which went conflicting once #34 and #35 landed on the same lockfile.

electron-builder 25.1.8 → 26.15.3

npm audit flags app-builder-lib <= 26.14.0 high: an uncontrolled search path in the AppImage it builds (GHSA-7g7r-gx96-252g). This project ships no AppImage, so exposure was small, but it is a dev-only tool and the fix is a bump.

Verified, not assumed, because a build tool that breaks at release time breaks when it is least convenient:

  • npm run pack on Windows against 26.15.3 produced dist/win-unpacked with the asar integrity resource updated and the signing step run
  • the advisory is gone from npm audit

npm audit fix

Clears three brace-expansion DoS advisories that arrive transitively through @electron/asar and @electron/universal. Lockfile only.

The mac-tester line in the README

It pointed at issue #20, written for v0.2.0 under the old repo name, telling testers to right-click and Open. That advice is actively wrong now: those builds were not unsigned but broken-signed, which macOS reports as "damaged" with no override, and the ad-hoc signing that fixed it has shipped since. Anyone following it would have hit a dead end and concluded the app was broken.

What is deliberately NOT here

Two high advisories remain, both needing a major: electron itself (<= 40.10.2) and extract-zip underneath it. That is PR #37 (33 → 44), and it cannot ride on green CI. startInputHook() wraps require('uiohook-napi') in a try/catch with a retry, so a native module that fails to load under a new Electron ABI still boots, still renders a frame, and silently stops reacting to typing. Eleven majors of window behaviour for an overlay app that leans on always-on-top levels, workspace visibility and click-through needs a real smoke test, not a rubber stamp.

Test plan

  • npm test 214 pass / 4 skipped (the skips are the POSIX-shell iPad tests, which run on the Linux CI job)
  • npm run lint clean
  • npm run pack builds a Windows package with the new builder
  • npm audit: app-builder-lib and brace-expansion gone

…it can apply

`npm audit` flagged app-builder-lib <= 26.14.0 as high: an uncontrolled search
path in the AppImage it builds (GHSA-7g7r-gx96-252g). This project does not ship
an AppImage, so the exposure was small, but the fix is a version bump on a
dev-only tool and there is no reason to sit on it.

Verified rather than assumed, because a build tool that fails at release time
fails when it is least convenient: `npm run pack` on Windows against 26.15.3
produced dist/win-unpacked with the asar integrity resource updated and the
signing step run, and the advisory is gone from `npm audit`.

`npm audit fix` on top clears three brace-expansion DoS advisories that come in
transitively through @electron/asar and @electron/universal. Lockfile only.

Two high advisories are left and both need a major, so neither belongs in a
housekeeping commit: electron itself (<= 40.10.2) and extract-zip underneath it.
That upgrade is 11 majors of window behaviour for an overlay app, and it cannot
ride on green CI: startInputHook() wraps require('uiohook-napi') in a try/catch
with a retry, so a native module that fails to load under a new Electron ABI
still boots, still renders, and silently stops reacting to typing.
The mac call linked issue #20, which was written for v0.2.0 under the old repo
name and told testers to right-click and Open. That advice is wrong now: those
builds were not unsigned but broken-signed, which macOS reports as "damaged"
with no override, and the ad-hoc signing that fixed it shipped since. A tester
following it would have hit a dead end and concluded the app was broken.
@vercel

vercel Bot commented Aug 28, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
pixelcat Ready Ready Preview Aug 28, 2026 3:23am

@JOhnsonKC201
JOhnsonKC201 merged commit b4e10d3 into main Aug 28, 2026
5 checks passed
@JOhnsonKC201
JOhnsonKC201 deleted the chore/deps-and-guardrails branch August 28, 2026 03:24
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