Skip to content

fix(deps): resolve Dependabot alerts via lockfile-only dependency bumps#333

Merged
lshw54 merged 1 commit into
codefrom
fix/dependabot-security-updates
Jul 10, 2026
Merged

fix(deps): resolve Dependabot alerts via lockfile-only dependency bumps#333
lshw54 merged 1 commit into
codefrom
fix/dependabot-security-updates

Conversation

@lshw54

@lshw54 lshw54 commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator

What

Dependabot reported 15 open alerts across package-lock.json and src-tauri/Cargo.lock, including high-severity issues in undici (SOCKS5 TLS validation bypass, cross-origin request routing), vite (server.fs.deny bypass on Windows), js-cookie (prototype hijack), fast-xml-builder (attribute injection), and tauri (remote pages able to invoke local-only IPC commands).

Fix

Lockfile-only bumps — no manifest or source changes:

npm: undici 7.28.0, vite 6.4.3, js-cookie 3.0.8, fast-xml-builder 1.2.1, js-yaml 4.3.0, plus brace-expansion via npm audit fix. npm audit now reports 0 vulnerabilities.

cargo: tauri 2.10.3 → 2.11.1 (with matching wry/tauri-runtime stack), rand 0.8.5 → 0.8.6.

Not fixable here (upstream-pinned by tauri, recommend dismissing as "no fix available"):

  • glib 0.18.5 — pinned by the gtk3 (gtk-rs 0.18) Linux backend of tao/wry; Linux-only code, this project ships Windows builds.
  • rand 0.7.3 — pinned via tauri-utils → kuchikiki → selectors 0.24 → phf 0.8; build-time HTML parsing only.

Verified: frontend 629 tests pass + production build OK; Rust cargo check and full test suite (766+ tests) pass.

npm (package-lock.json):
- js-yaml 4.1.1 -> 4.3.0 (GHSA-h67p-54hq-rp68, merge-key DoS)
- undici 7.25.0 -> 7.28.0 (GHSA-hm92-r4w5-c3mj, GHSA-vmh5-mc38-953g,
  GHSA-p88m-4jfj-68fv, GHSA-pr7r-676h-xcf6, GHSA-35p6-xmwp-9g52,
  GHSA-g8m3-5g58-fq7m)
- vite 6.4.2 -> 6.4.3 (GHSA-fx2h-pf6j-xcff fs.deny bypass,
  GHSA-v6wh-96g9-6wx3 launch-editor NTLM hash disclosure)
- js-cookie 3.0.5 -> 3.0.8 (GHSA-qjx8-664m-686j)
- fast-xml-builder 1.1.5 -> 1.2.1 (GHSA-5wm8-gmm8-39j9, GHSA-45c6-75p6-83cc)
- brace-expansion bump via npm audit fix (GHSA-jxxr-4gwj-5jf2)

cargo (src-tauri/Cargo.lock):
- tauri 2.10.3 -> 2.11.1 (GHSA-7gmj-67g7-phm9, origin confusion in IPC)
  plus matching tauri-runtime/wry/tray-icon stack bumps
- rand 0.8.5 -> 0.8.6 (GHSA-cq8v-f236-94qc)

Not fixable here (upstream-pinned by tauri):
- glib 0.18.5: gtk3 bindings (gtk-rs 0.18) used by tao/wry pin glib ^0.18;
  fixed version 0.20 unreachable until tauri moves off gtk3
- rand 0.7.3: tauri-utils -> kuchikiki 0.8.8-speedreader -> selectors 0.24
  pins phf 0.8 which requires rand 0.7
@lshw54
lshw54 merged commit de41190 into code Jul 10, 2026
3 checks passed
@lshw54
lshw54 deleted the fix/dependabot-security-updates branch July 10, 2026 12:12
lshw54 added a commit that referenced this pull request Jul 10, 2026
#334)

PR #333 bumped the tauri Rust crate to 2.11.1 but left the npm side at
2.10.1, causing a version-mismatch warning on `tauri dev`. Bump
@tauri-apps/api to 2.11.1 and @tauri-apps/cli to 2.11.4 (lockfile-only).
Verified: 629 frontend tests + production build pass.
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