Skip to content

fix(deps): resolve moderate-severity Dependabot alerts - #84

Merged
rockyway merged 1 commit into
developfrom
fix/dependabot-moderate-deps
Sep 7, 2026
Merged

fix(deps): resolve moderate-severity Dependabot alerts#84
rockyway merged 1 commit into
developfrom
fix/dependabot-moderate-deps

Conversation

@rockyway

@rockyway rockyway commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Summary

Resolves 7 of 8 open moderate-severity Dependabot alerts (https://github.com/PMTLabs/termflow-core/security/dependabot):

src-tauri/Cargo.lock

  • tauri 2.9.5 -> 2.11.5 (#139) — fixes an Origin Confusion issue allowing remote pages to invoke local-only IPC commands. Direct dependency version bump.
  • jsonwebtoken 9.3.1 -> 10.4.0 (#126) — major version bump; fixes a type-confusion issue in token verification. This codebase only calls encode/Header/EncodingKey::from_secret (never decode/Validation, where the bug lives), and that API is unchanged across the bump.
  • time 0.3.45 -> 0.3.55 (#127), bytes 1.11.0 -> 1.12.1 (#124), serde_with 3.16.1 -> 3.22.0 (#142) — transitive cargo update -p bumps.
  • glib (#125, needs >= 0.20.0) — not fixed. It's pulled in via tauri's own gtk = "^0.18" pin for Linux tray-icon support, which isn't a dependency this project declares directly. Confirmed with cargo update -p glib --precise 0.20.0, which fails because gtk v0.18.2 (required by tauri v2.11.5) caps it at ^0.18. No action possible until tauri bumps that pin upstream.

mcp-server/package-lock.json

agent-monitor/package-lock.json

Test plan

  • cargo build --release --features velopack-updates succeeds
  • cargo test --release — 968/968 passing
  • bun test in mcp-server — 73/73 passing
  • npm audit shows 0 high/moderate findings in mcp-server after the ajv bump
  • tsc --noEmit clean on the changed surface in agent-monitor (no test suite exists there, pre-existing)

src-tauri: bump bytes (1.11.0 -> 1.12.1), serde_with (3.16.1 -> 3.22.0),
time (0.3.45 -> 0.3.55) as transitive cargo-update bumps; bump direct
deps tauri (2.9.5 -> 2.11.5, fixes an Origin Confusion issue allowing
remote pages to invoke local-only IPC commands) and jsonwebtoken
(9.3.1 -> 10.4.0, major version, fixes a type-confusion issue in
token verification). This codebase only calls `encode`/`EncodingKey`
(never `decode`/`Validation`, where the vulnerability lives), and that
API is unchanged across the major bump. Verified with `cargo build
--release --features velopack-updates` and `cargo test --release`
(968/968 passing).

glib (0.18.5, needs >= 0.20.0) is NOT fixed: it's pulled in via
tauri's own `gtk = "^0.18"` pin (Linux tray icon support), which is
not under this project's control. No action possible until tauri
itself bumps that pin upstream.

mcp-server: bump ajv (8.17.1 -> 8.20.0, ReDoS via `$data` option),
within @modelcontextprotocol/sdk's existing declared range. Verified
with bun test (73/73 passing).

agent-monitor: bump uuid (9.0.1 -> 11.1.1, missing buffer bounds check
in v3/v5/v6). Only usage in this codebase is `v4()`, whose API is
unchanged across the major bump. No test suite exists for this tool
(pre-existing); verified with a clean `tsc --noEmit` pass on the
changed surface.
@rockyway
rockyway merged commit 4e91696 into develop Sep 7, 2026
5 checks passed
@rockyway
rockyway deleted the fix/dependabot-moderate-deps branch September 7, 2026 22: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.

2 participants