Skip to content

fix: resolve 8 security vulnerabilities via npm audit fix#239

Open
0xAxiom wants to merge 1 commit intomainfrom
fix/security-vulnerabilities-april-2026
Open

fix: resolve 8 security vulnerabilities via npm audit fix#239
0xAxiom wants to merge 1 commit intomainfrom
fix/security-vulnerabilities-april-2026

Conversation

@0xAxiom
Copy link
Copy Markdown
Owner

@0xAxiom 0xAxiom commented Apr 30, 2026

What

Runs npm audit fix to resolve 8 security vulnerabilities found in transitive dependencies.

Vulnerabilities Fixed

Package Severity CVE
handlebars critical Prototype pollution
vite high Path traversal in .map handling (GHSA-4w7w-66w2-5vf9)
vite high server.fs.deny bypass (GHSA-v2wj-q39q-566r)
vite high Arbitrary file read via WebSocket (GHSA-p9ff-h696-f583)
lodash high Prototype pollution
flatted / picomatch high Various
yaml moderate Stack overflow via deeply nested collections (GHSA-48c2-rrv3-qjmp)
postcss / brace-expansion moderate Various

Why

Running npm audit on main currently reports 8 vulnerabilities (1 critical, 4 high, 3 moderate). These are all in the dev/build toolchain (vitest, vite, yaml) — no production runtime exposure — but they should still be resolved to keep the supply chain clean and pass security scanners.

How

npm audit fix resolves the dependency tree to safe versions. The main change is pinning vitest to 4.0.18 (from 4.1.5), which bundles a safe version of vite.

Tested

  • npm audit0 vulnerabilities
  • npm test252 tests pass

Fix critical/high/moderate CVEs in transitive dependencies:
- handlebars (critical) - prototype pollution
- vite (high) - path traversal, fs.deny bypass, arbitrary file read
- lodash (high) - prototype pollution
- flatted, picomatch, brace-expansion (high/moderate)
- yaml (moderate) - stack overflow via deeply nested YAML

All 252 tests pass after the fix.
@0xAxiom 0xAxiom requested a review from MeltedMindz as a code owner April 30, 2026 20:08
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