Skip to content

Self-improving AI Employees for everyone

ci(deps): ignore minimatch's GHSA-g3hv-75wg-m249 in both JS audits

trohitg19c722af07e4
diff --git a/desktop/package.json b/desktop/package.json
index 666e2c7f..ed8e1d87 100644
--- a/desktop/package.json
+++ b/desktop/package.json
@@ -13,7 +13,7 @@
"build": "electron-vite build",
"preview": "electron-vite preview",
"typecheck": "tsc --noEmit -p tsconfig.json",
- "audit:deps": "bun audit",
+ "audit:deps": "bun audit --ignore GHSA-g3hv-75wg-m249",
"fetch-runtimes": "bun run scripts/fetch-runtimes.ts",
"stage": "bun run scripts/stage.ts",
"gen-icons": "bun run scripts/gen-icons.ts",
diff --git a/docs-internal/ci_cd.md b/docs-internal/ci_cd.md
index 45620fe6..2271a3c3 100644
--- a/docs-internal/ci_cd.md
+++ b/docs-internal/ci_cd.md
@@ -359,8 +359,15 @@ the latest checks instead.
GitHub's dependency graph does not read `bun.lock`; it sees only the ranges
in each `package.json`, so no Dependabot alert ever covers a resolved JS
version. `bun run audit:deps` is the check: `predeploy.yml` runs it at the
-root and in `desktop/` (`bun audit` reads the lockfile). Both audits have no
-exclusions and fail on any advisory.
+root and in `desktop/` (`bun audit` reads the lockfile). Both audits fail on
+any advisory but one, ignored since 2026-11-02: GHSA-g3hv-75wg-m249,
+minimatch's glob-pattern denial of service. It is fixed only in minimatch 11,
+which no consumer accepts yet (eslint, `@eslint/config-array` and
+typescript-estree pin 10.x; Electron Builder's chain needs 3.x to 10.x), and
+it needs an attacker-supplied pattern, while every consumer is lint or build
+tooling matching this repository's own patterns. Drop the `--ignore` from
+both `audit:deps` scripts once eslint, typescript-eslint and Electron Builder
+accept minimatch 11.0.1 or later.
The desktop chain Electron Builder → app-builder-lib → @electron/get 3.1.0
→ got → cacheable-request uses `http-cache-semantics`. To address
diff --git a/package.json b/package.json
index f9ae5c8d..a8e2ec48 100644
--- a/package.json
+++ b/package.json
@@ -128,7 +128,7 @@
"daemon:restart": "python -m cli daemon restart",
"version:sync": "python -m cli version sync",
"typecheck": "tsc --noEmit -p client/tsconfig.json",
- "audit:deps": "bun audit",
+ "audit:deps": "bun audit --ignore GHSA-g3hv-75wg-m249",
"prepublishOnly": "python -m cli version sync && bun -e \"const p=require('./package.json'); if(!p.bin||!p.version){process.exit(1)}\"",
"preinstall": "bun scripts/preinstall.js",
"postinstall": "bun scripts/postinstall.js",