Skip to content

Dependency security audit — 2026-11-10 (America/Santiago) ​

Issue: #364. Results were collected from npm for the lockfiles in this change. Counts are affected packages, including transitive dependants, rather than distinct exploitable defects.

Remediation status — 2026-11-11 (PR #403) ​

The Kubernetes and Google runtime transport migration is proposed in PR #403, which contributes to issue #392. The root production audit now reports 0 vulnerabilities. The full root audit reports 7 moderate development/build findings (Electron builder chain and nodemon/minimatch); there are no high or critical findings. npm ls request tough-cookie uuid --all returns no installed copies of those packages.

The PR upgrades @kubernetes/client-node to 2.0.2 and the Google Compute, Container, Resource Manager, and Auth clients to their current Node 22 lines. Kubernetes calls keep their existing positional-argument and { body, response } behavior through an adapter. Google local-gcloud OAuth and service-account credentials are tested with the current auth constructors. Full backend validation: 1,331/1,331 tests pass on Node 22.23.4. The development/build findings remain tracked for compatible upstream updates and packaging-matrix review; they were not forced through unverified overrides.

Incremental tooling follow-up — 2026-11-11 ​

After the migration, a fresh root lockfile audit reports zero production vulnerabilities and six moderate findings in development/build dependencies. Pinning nodemon to 3.1.11 removes its minimatch finding. The remaining findings are the Electron Builder/minimatch chain. Npm's proposed automatic fix downgrades Electron Builder from 26.18.x to 24.13.3, a major-version change; keep the builder finding open until a compatible upstream fix passes the packaging matrix. The follow-up evidence is recorded in dependabot-review-2026-11-11.md.

Scope and results ​

Commands: npm audit --package-lock-only --json and npm audit --package-lock-only --omit=dev --json, separately in the root, frontend/, vscode/ and docs/. The baseline is main before this dependency change.

AreaAll before (low/moderate/high/critical)All afternpm production beforenpm production after
root1/14/28/80/15/0/01/9/10/60/8/0/0
frontend0/6/10/10/4/0/00/0/6/10/0/0/0
vscode0/2/2/00/2/0/00/0/0/00/0/0/0
docs0/2/6/00/0/0/00/0/0/00/0/0/0

Electron is a shipped runtime even though npm classifies it as a devDependency. Electron 31 is outside the official three-release support policy. The selected target is 45.3.0, verified against the current npm stable release and the Electron releases site. The lockfile fixes the exact version; future supported releases must be reviewed through Dependabot and the packaging matrix.

Reachability and remediation ​

SurfaceInput and assessmentChange / remaining work
Desktop Chromium/Node and updaterThe runtime renders the application and handles provider data; a dev-only npm label does not remove the shipped exposure. The old AppImage builder also affected generated installers.Electron 45.3.0, builder 26.18.x, updater 6.8.11 and SQLite 13.0.3. Actual packaged-runtime tests check SQLite ABI, configured GitHub update provider and metadata retrieval using a loopback feed, without downloading or installing an update.
Kubernetes JSONPath / multipart / query parsingThe legacy auth providers evaluate configuration-selected JSONPath; multipart and query serialization are runtime paths. Treat their critical/high advisories as actionable.Compatible client 0.22.3 removes the old JSONPath evaluator. Explicit same-major overrides select patched form-data 2.5.6+ and qs 6.17.1+. The move to the current fetch-based client remains a separate migration because it changes API signatures and response shapes.
Lambda ZIP readsLambda code readers in routes/aws.js and lib/architecture/awsLambdaCodeReader.js parse provider-returned ZIPs; malformed archive allocation is a reachable parser surface.adm-zip 0.6.1 and updated lockfile.
HTTP, WebSocket, gRPC and XML dependenciesRuntime packages process responses or messages from configured providers and local API clients. Reachability depends on the specific advisory and provider input; no exploitation PoC was claimed for every inherited package.Compatible fixes applied to Express/body-parser, ws, Google transport, protobuf and XML dependencies. No high or critical npm advisories remain.
Frontend PDF and Vue dependenciesjsPDF brings DOMPurify; the current architecture export uses drawing/text/images, and no application call to jsPDF.html was found. Vue server-renderer also runs during docs generation. Package presence alone is not proof of exploitation.Sanitizer, Vue, js-yaml and other compatible fixes applied; shipped frontend rebuilt. Frontend production audit is clean.
VitePress development serverVite/esbuild development endpoints affect authoring and preview environments, not a running server in the static published docs.VitePress remains on stable 1.6.x, with a tested Vite 6.4.4+ override. Docs build succeeds and its audit is clean.
VS Code extension toolingAzure sign-in and glob packages were dependencies of the packaging tool. Only jsonc-parser is a runtime dependency of the extension.Compatible packaging-tool fixes; packaged VSIX and extension tests verified. Production audit is clean.

Remaining moderate advisories ​

These are retained findings, not assertions that moderate means harmless. No successful exploitation against KUA was demonstrated.

FindingScope and evidenceNext action
request cross-protocol redirect SSRFRuntime Kubernetes legacy transport. A malicious upstream redirect can cross protocol boundaries. The initial endpoint comes from the selected kubeconfig, but that is not a general SSRF fix.Migrate the remaining request transport, with real HTTP fixtures for redirects, errors, auth, proxy behavior, exec, logs and watches. Do not globally disable TLS or replace the SDK without adapting its API.
tough-cookie prototype pollutionRuntime via request. The advisory requires rejectPublicSuffixes=false; request constructs its CookieJar with looseMode=true and does not set that vulnerable option in the inspected path. Exploitation is not demonstrated in this configuration.Remove with the request migration; retain the finding until the old package is absent.
uuid bounds checkRuntime Google/request dependencies. Inspected Google transport callers use v4 for multipart boundaries; the advisory concerns v3/v5/v6 with caller-provided buffers. No affected call was found in KUA.Update the transport dependency family; do not force a major uuid override into legacy clients.
minimatch and globBuild/development dependencies in builder, nodemon, frontend editor formatting and VSIX packaging. Inputs are project file paths; these packages do not enter the shipped extension or frontend production dependencies.Track compatible upstream fixes with Dependabot; review major updates through the package/build matrix.

Validation and release limits ​

  • Backend: 1,315 tests; frontend: 1,489 tests. VS Code tests and VSIX packaging, VitePress build and rebuilt production frontend pass.
  • Linux: Electron 45.3.0 / embedded Node 24.22.2 package executes its SQLite and updater metadata smoke check.
  • .github/workflows/electron-security.yml repeats packaging and the actual executable check on Linux, Windows and macOS. All matrix jobs must pass before merging this upgrade.
  • Optional cpu-features and dtrace-provider accelerators use an incompatible NAN binding on current V8. The beforeBuild hook moves them into the excluded local dependency cache, preserving ssh2/bunyan JavaScript fallback; the normal SQLite rebuild continues.
  • Updater validation checks configuration and a local test feed. Download, signature verification, installation, notarization and interactive GUI behavior still require release validation on the target platforms. The smoke test never queries the production update feed.
  • Dependabot groups compatible npm changes and security updates across all five npm areas, plus Actions updates. CodeQL scans JavaScript/TypeScript on PRs, main and weekly.

Package inventory ​

The following table accounts for every affected package in the initial four-area audit. Runtime classification uses the production audit, with Electron called out separately. Inherited advisories may appear in several packages for the same underlying defect.

AreaPackageInitial severityExecutionCurrent audit
root@electron/rebuildhighdevelopment/buildno finding
root@electron/universalmoderatedevelopment/buildmoderate
root@grpc/grpc-jshighruntimeno finding
root@kubernetes/client-nodecriticalruntimeno finding after transport migration
root@protobufjs/utf8moderateruntimeno finding
root@tootallnate/oncelowruntimeno finding
root@xmldom/xmldomhighdevelopment/buildno finding
rootadm-ziphighruntimeno finding
rootapp-builder-libhighdevelopment/buildmoderate
rootaxioshighdevelopment/buildno finding
rootbody-parserhighruntimeno finding
rootbrace-expansionhighruntimeno finding
rootbuilder-utilhighdevelopment/buildno finding
rootbuilder-util-runtimehighruntimeno finding
rootcacachehighdevelopment/buildno finding
rootconcurrentlycriticaldevelopment/buildno finding
rootconfig-file-tsmoderatedevelopment/buildno finding
rootdmg-builderhighdevelopment/buildmoderate
rootelectronhighshipped runtime (npm devDependency)no finding
rootelectron-builderhighdevelopment/buildmoderate
rootelectron-builder-squirrel-windowshighdevelopment/buildmoderate
rootelectron-publishhighdevelopment/buildno finding
rootelectron-updaterhighruntimeno finding
rootextract-ziphighdevelopment/buildno finding
rootfollow-redirectshighdevelopment/buildno finding
rootform-datacriticalruntimeno finding
rootgaxiosmoderateruntimeno finding after SDK updates
rootglobmoderatedevelopment/buildno finding
rootgoogle-gaxmoderateruntimeno finding after SDK updates
rootip-addresshighdevelopment/buildno finding
rootjoihighdevelopment/buildno finding
rootjs-yamlhighruntimeno finding
rootjsonpath-pluscriticalruntimeno finding
rootmake-fetch-happenhighdevelopment/buildno finding
rootminimatchmoderatedevelopment/buildmoderate
rootmomentmoderateruntimeno finding
rootnode-gyphighdevelopment/buildno finding
rootnodemonmoderatedevelopment/buildno finding after 3.1.11 pin
rootprotobufjshighruntimeno finding
rootproxy-addrcriticalruntimeno finding
rootqsmoderateruntimeno finding
rootrequestcriticalruntimeno finding; removed from runtime tree
rootretry-requestmoderateruntimeno finding after SDK updates
rootshell-quotecriticaldevelopment/buildno finding
rootsource-map-jshighruntimeno finding
roottarcriticalruntimeno finding
rootteeny-requestmoderateruntimeno finding after SDK updates
roottmphighdevelopment/buildno finding
roottough-cookiemoderateruntimeno finding; removed from runtime tree
rootuuidmoderateruntimeno finding after SDK updates
rootwshighruntimeno finding
frontend@vitest/mockermoderatedevelopment/buildno finding
frontend@vue/server-rendererhighruntimeno finding
frontendbrace-expansionhighdevelopment/buildno finding
frontenddompurifycriticalruntimeno finding
frontendeditorconfigmoderatedevelopment/buildmoderate
frontendglobmoderatedevelopment/buildmoderate
frontendjs-beautifymoderatedevelopment/buildmoderate
frontendjs-cookiehighdevelopment/buildno finding
frontendjs-yamlhighruntimeno finding
frontendminimatchmoderatedevelopment/buildmoderate
frontendnanoidhighruntimeno finding
frontendpostcsshighruntimeno finding
frontendsource-map-jshighruntimeno finding
frontendundicihighdevelopment/buildno finding
frontendvitehighdevelopment/buildno finding
frontendvitestmoderatedevelopment/buildno finding
frontendvuehighruntimeno finding
vscode@azure/identityhighdevelopment/buildno finding
vscode@azure/msal-nodehighdevelopment/buildno finding
vscode@vscode/vscemoderatedevelopment/buildmoderate
vscodeminimatchmoderatedevelopment/buildmoderate
docs@vue/server-rendererhighdevelopment/buildno finding
docsesbuildmoderatedevelopment/buildno finding
docsnanoidhighdevelopment/buildno finding
docspostcsshighdevelopment/buildno finding
docssource-map-jshighdevelopment/buildno finding
docsvitehighdevelopment/buildno finding
docsvitepressmoderatedevelopment/buildno finding
docsvuehighdevelopment/buildno finding