Skip to content

fix: resolve Snyk vulnerabilities (undici, node-forge) - #91

Merged
cs-raj merged 1 commit into
mainfrom
fix/snyk-patch-deps-20261112
Nov 12, 2026
Merged

cs-raj merged 1 commit into
mainfrom
fix/snyk-patch-deps-20261112

Conversation

@cs-raj

@cs-raj cs-raj commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

Problem

Snyk reports 16 findings on main (2 critical, 11 high, 3 medium): undici was pinned by our own override to a vulnerable 8.12.3, and the lock file held node-forge 1.4.2.

Fix

This repo is an APP, so the lock file is the deliverable: it was regenerated, and overrides apply to the shipped tree.

  • Lock file regenerated: node-forge 1.4.2 → 1.4.3 (5 findings).
  • Override raised: undici 8.12.3 → 8.12.4 (6 findings, incl. 1 critical).
  • Hygiene bumps: nuxt ^4.6.4, @contentstack/live-preview-utils ^4.6.1, vue ^3.5.45, vue-router ^5.5.0.

What remains, and why

  • braces 3.0.3: no fix available.
  • ioredis 5.11.1, open 7.4.2, glob 11.1.0 (our override), minimatch 10.2.6: fixes are only in a new major; an override would force a cross-major on the consumer.
  • npm audit nuxt/nitro chain (13 moderate/low): only npm audit fix --force (a major downgrade) — not applied.
  • 22 licence findings (sharp-libvips LGPL-3.0, lightningcss MPL-2.0): unchanged.

Verification: Snyk 16 → 5 (critical 2 → 0), npm audit 14 → 13; npm run build passes.

🤖 Generated with Claude Code

Lock file regenerated (fixed 5 on its own: node-forge 1.4.2 -> 1.4.3).
Direct upgrades: nuxt ^4.6.4, @contentstack/live-preview-utils ^4.6.1,
vue ^3.5.45, vue-router ^5.5.0
Overrides: undici 8.12.3 -> 8.12.4
Vuln count: snyk 16 -> 5, npm audit 14 -> 13. Build verified passing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cs-raj
cs-raj requested a review from a team as a code owner November 12, 2026 11:07
@snyk-io

snyk-io Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

✅ Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
✅ Open Source Security 0 0 0 0 0 issues
✅ Licenses 0 0 0 0 0 issues
✅ Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@github-actions

Copy link
Copy Markdown

🔒 Security Scan Results

ℹ️ Note: Only vulnerabilities with available fixes (upgrades or patches) are counted toward thresholds.

Check Type Count (with fixes) Without fixes Threshold Result
🔴 Critical Severity 0 0 10 ✅ Passed
🟠 High Severity 0 7 25 ✅ Passed
🟡 Medium Severity 0 49 500 ✅ Passed
🔵 Low Severity 0 0 1000 ✅ Passed

⏱️ SLA Breach Summary

✅ No SLA breaches detected. All vulnerabilities are within acceptable time thresholds.

Severity Breaches (with fixes) Breaches (no fixes) SLA Threshold (with/no fixes) Status
🔴 Critical 0 0 15 / 30 days ✅ Passed
🟠 High 0 0 30 / 120 days ✅ Passed
🟡 Medium 0 0 90 / 365 days ✅ Passed
🔵 Low 0 0 180 / 365 days ✅ Passed

ℹ️ Vulnerabilities Without Available Fixes (Informational Only)

The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:

  • Critical without fixes: 0
  • High without fixes: 7
  • Medium without fixes: 49
  • Low without fixes: 0

✅ BUILD PASSED - All security checks passed

@cs-raj
cs-raj merged commit f2e9f3f into main Nov 12, 2026
7 checks passed
@cs-raj
cs-raj deleted the fix/snyk-patch-deps-20261112 branch November 12, 2026 11:32
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