Skip to content

Commit f5364c7

Browse files
fix(deps): bump postcss + ws; suppress vite + esbuild dev-only CVEs (#124)
Clears OSV-Scanner on main by bumping the 2 in-semver CVEs and suppressing the 2 dev-only-no-prod-reach CVEs with documented rationale. Bumped: - postcss 8.5.9 -> 8.5.15 (GHSA-qx2v-qp2m-jg93, transitive of vite) - ws (dev) 8.20.0 -> 8.20.1 (GHSA-58qx-3vcg-4xpx, transitive of jsdom) Suppressed in osv-scanner.toml (dev-only, no prod exposure): - GHSA-4w7w-66w2-5vf9 (vite dev-server path traversal in .map handling) - GHSA-67mh-4wv8-2f99 (esbuild dev-server CORS) Justification: instanode-web ships a static GitHub Pages artifact. No Node runtime in prod. Dev-server vulns cannot reach users. Will lift the suppressions when vite is bumped to v7 (separate breaking-change PR). Co-authored-by: Claude <claude@anthropic.com> Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent cee0346 commit f5364c7

2 files changed

Lines changed: 26 additions & 10 deletions

File tree

osv-scanner.toml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# OSV-Scanner config
2+
#
3+
# vite + esbuild CVEs below are dev-server-only and CANNOT reach prod
4+
# users because instanode-web ships a static GitHub Pages site.
5+
# The prod artifact is HTML/CSS/JS — no Node runtime, no dev server.
6+
#
7+
# These suppressions will be removed when vite is bumped to v7+
8+
# (a separate PR — major-version breaking change).
9+
10+
[[IgnoredVulns]]
11+
id = "GHSA-4w7w-66w2-5vf9"
12+
reason = "Dev-only (vite dev-server path traversal in .map handling). Prod ships as static HTML/CSS/JS to GitHub Pages — no Node runtime, no dev server in the deployed artifact. Will lift when vite is bumped to v7 (separate breaking-change PR)."
13+
14+
[[IgnoredVulns]]
15+
id = "GHSA-67mh-4wv8-2f99"
16+
reason = "Dev-only (esbuild dev-server CORS issue, pinned by vite ^5.x). Same rationale as the vite suppression above — no prod exposure. Will lift when vite v7 bump removes the esbuild^0.21 pin."

package-lock.json

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)