Skip to content

build(deps): resolve open Dependabot alerts - #1494

Merged
kvinwang merged 4 commits into
nextfrom
fix/dependabot-alerts
Oct 28, 2026
Merged

kvinwang merged 4 commits into
nextfrom
fix/dependabot-alerts

Conversation

@kvinwang

Copy link
Copy Markdown
Collaborator

Resolves the open Dependabot alerts except mio (see below).

  • KMS auth backends (auth-simple, auth-mock, auth-eth-bun): zod 4.6.7; hono 4.13.14, @hono/zod-validator 0.9.1, vitest 5.0.5 + vite 8.3.5 for auth-simple/auth-mock (drops the unused @vitest/ui). bun audit is clean.
  • auth-eth: fast-uri 3.1.9 / 4.2.3, lockfile only. Supersedes build(deps): bump fast-uri in /dstack/kms/auth-eth #1485.
  • sdk/js: vitest 5, with vite 8 pinned.
  • sdk/rust: dcap-qvl dev-dependency 0.3 → 0.5.3 (same version as the main workspace), which moves hickory to 0.26.3.

Not addressed: mio 0.7.14 comes in through luks2 0.5.0 (latest, unmaintained) → crossterm 0.19. The advisory only affects Windows named pipes, so the alert is dismissed as not used.

Tested: bun run test:run and lint for the three auth backends, npm test in auth-eth, sdk/run-tests.sh, and sdk/js vitest against the simulator.

Resolves Dependabot alerts for the bun-based auth backends:

- zod 3.25.76 -> 4.6.7 (GHSA: memory exhaustion validating oversized
  constrained collections) in auth-simple, auth-mock and auth-eth-bun.
  The schemas only use APIs that are unchanged in zod 4.
- hono 4.13.5 -> 4.13.14 and @hono/zod-validator 0.2.2 -> 0.9.1 in
  auth-simple and auth-mock (serveStatic double decode, hono/jsx XSS).
- vitest -> 5.0.5 with vite 8.3.5 pinned in auth-simple and auth-mock
  (@vitest/mocker path traversal); drop the unused @vitest/ui, which
  pins vitest 1.x.

bun audit is clean for all three packages.

Signed-off-by: Kevin Wang <wy721@qq.com>
Fixes scheme spoofing, host confusion, path equivalence and scheme
injection advisories. Lockfile-only change; supersedes #1485.

Signed-off-by: Kevin Wang <wy721@qq.com>
Resolves the @vitest/mocker path traversal advisory. Pin vite 8 so
vitest 5 does not resolve the vulnerable vite 7, and refresh transitive
dev dependencies with bun audit fix.

Signed-off-by: Kevin Wang <wy721@qq.com>
dcap-qvl 0.3 pulls reqwest 0.12 with hickory-resolver 0.25.2, which
carries DNSSEC validation, CNAME handling and NSEC3 loop advisories.
0.5.3 matches the main workspace and resolves hickory 0.26.3.

Signed-off-by: Kevin Wang <wy721@qq.com>
@kvinwang
kvinwang merged commit da32633 into next Oct 28, 2026
16 checks passed
@kvinwang
kvinwang deleted the fix/dependabot-alerts branch October 28, 2026 04:02
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