fix: upgrade vite and hono for CVE remediation (2026-04-09)#3
Open
Mortalus wants to merge 1 commit into
Open
Conversation
Remediate GHAS supply chain alerts (2026-04-09): - vite: 8.0.3 → 8.0.8 (GHSA-4w7w-66w2-5vf9, GHSA-v2wj-q39q-566r, GHSA-p9ff-h696-f583 — high) - hono: 4.12.9 → 4.12.12 (GHSA-26pp-8wgv-hjvm, GHSA-r5rp-j6wh-rvv4, GHSA-xpcf-pg52-r92g, GHSA-xf4j-xp2r-rqqx, GHSA-wmmm-f939-6g9c — moderate) - @hono/node-server: 1.19.11 → 1.19.13 (GHSA-92pp-h63x-v22m — moderate) Also add .github/dependabot.yml for automated npm, GitHub Actions, and Docker dependency updates (weekly, Mondays). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
8.0.3 → 8.0.8to remediate 3 high/moderate CVEs (path traversal in optimised deps.maphandling,server.fs.denybypass via queries, arbitrary file read via dev-server WebSocket)4.12.9 → 4.12.12to remediate 5 moderate CVEs (cookie name validation bypass, IP restriction bypass for IPv4-mapped IPv6, path traversal intoSSG(), middleware bypass via repeated slashes)1.19.11 → 1.19.13to remediate 1 moderate CVE (middleware bypass via repeated slashes inserveStatic)All three vulnerable packages were transitive dependencies (pulled in by
@ansvar/mcp-sqlite). Fixed vianpm audit fix; build (tsc) confirmed passing after upgrade.Supply chain hardening findings (not auto-fixed — reported only)
Unpinned GitHub Actions (tag-based, not SHA-pinned)
actions/checkout@v4actions/setup-node@v4docker/setup-buildx-action@v3docker/login-action@v3docker/metadata-action@v5docker/build-push-action@v5Recommendation: pin each action to a full commit SHA for supply chain integrity.
Unpinned Dockerfile base image
FROM node:20-alpine— no digest pinned. Recommendation: usenode:20-alpine@sha256:<digest>.License check
All production dependencies use approved SPDX licenses (MIT, ISC, BSD-2-Clause, BSD-3-Clause, Apache-2.0). No copyleft licenses detected.
Test plan
npm auditreturns 0 vulnerabilities after merge🤖 Generated with Claude Code