Skip to content

fix(deps): reduce npm audit findings from 25 to 4 - #43

Merged
flowtricks merged 2 commits into
flowtricks:mainfrom
SylvainDruaux:deps-audit-fix
Oct 19, 2026
Merged

flowtricks merged 2 commits into
flowtricks:mainfrom
SylvainDruaux:deps-audit-fix

Conversation

@SylvainDruaux

Copy link
Copy Markdown
Contributor

Two commits, so either can be taken alone:

  1. npm audit fix without --force: lockfile only, patch and minor
    updates. 25 findings → 12.
  2. npm overrides for tar (6.2.1 → 7.5.22) and builder-util-runtime
    (9.2.10 → 9.7.0), the versions electron-builder 26 uses. 12 → 4,
    no critical left.

The 4 that remain are one advisory in app-builder-lib 25 itself
(Linux AppImage, GHSA-7g7r-gx96-252g). Only electron-builder 26 fixes
it. I tried it: the install's signing backport (fixBuilderSigning.ts)
refuses 26, and 26 fails to merge the universal macOS build on
node-pty's prebuilt binaries. I left that upgrade to you.

Tested: the full checks and an unsigned local macOS universal build.
The Windows and Linux packages were not built.

Runs npm audit fix without --force, which updates the lockfile only:
patch and minor versions of concurrently, shell-quote, axios, undici,
nanoid, postcss-selector-parser, smol-toml and their dependents. The
audit goes from 25 findings to 12, all from electron-builder 25.1.8 and
its dependencies.
Adds npm overrides that move tar from 6.2.1 to 7.5.22 and
builder-util-runtime from 9.2.10 to 9.7.0, the versions
electron-builder 26 uses. tar is only reached through native module
rebuilds, which the build turns off (npmRebuild: false);
builder-util-runtime 9.7.0 is already what electron-updater uses. The
audit goes from 12 findings to 4.

The 4 that remain are one advisory in app-builder-lib 25 itself, about
the Linux AppImage it builds. Only electron-builder 26 fixes it, which
the install's signing backport (scripts/install/fixBuilderSigning.ts)
refuses, and which fails to merge the universal macOS build on
node-pty's prebuilt binaries.
@flowtricks
flowtricks merged commit 767c51a into flowtricks:main Oct 19, 2026
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.

2 participants