Skip to content

fix: regenerate lock file and update 1 override to resolve Snyk vulnerabilities - #87

Merged
cs-raj merged 2 commits into
mainfrom
fix/snyk-patch-deps-20261026
Oct 29, 2026
Merged

cs-raj merged 2 commits into
mainfrom
fix/snyk-patch-deps-20261026

Conversation

@cs-raj

@cs-raj cs-raj commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

Problem

Snyk reports 16 vulnerabilities in the committed lock file on main (2 critical, 10 high, 4 medium), all in transitive packages: undici 8.12.1, fast-uri 3.1.8, qs 6.16.0, http-cache-semantics and picomatch. npm audit reports 2.

Fix

This repo is an app, so the lock file is what ships:

  • Regenerated package-lock.json: undici 8.12.1 → 8.12.3 and fast-uri 3.1.8 → 3.1.9 (12 findings cleared). Direct dependencies only move within their existing ranges (astro 7.3.8 → 7.4.1, @astrojs/check 0.9.10 → 0.9.12); no major versions.
  • Raised the existing qs override from 6.16.0 to 6.16.1 (1 finding cleared).
  • No other package.json change.

Snyk 16 → 3, npm audit 2 → 0.

Still open, because no fixed version exists yet: http-cache-semantics 4.3.0 (2 high) and picomatch 2.3.2, nested under anymatch (1 high). The 22 licence findings (sharp-libvips LGPL-3.0, lightningcss MPL-2.0) are unchanged because no dependency update can clear them.

Verification: astro check (0 errors) and the vite build pass. npm run build then fails prerendering / with "API key for Stack is required" because the Contentstack env vars are not set; main fails the same way.

🤖 Generated with Claude Code

…rabilities

Lock file regenerated (fixed 12 on its own: undici 8.12.1 -> 8.12.3, fast-uri 3.1.8 -> 3.1.9).
Direct upgrades: none
Overrides: qs 6.16.0 -> 6.16.1
Vuln count: snyk 16 → 3, npm audit 2 → 0. Build: astro check and vite build pass; prerender of / fails without the Contentstack env vars (API key for Stack is required), same on main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cs-raj
cs-raj requested a review from a team as a code owner October 26, 2026 14:35
@cs-raj cs-raj self-assigned this Oct 26, 2026
@snyk-io

snyk-io Bot commented Oct 26, 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 10 25 ✅ Passed
🟡 Medium Severity 0 46 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: 10
  • Medium without fixes: 46
  • Low without fixes: 0

✅ BUILD PASSED - All security checks passed

…rabilities

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@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 10 25 ✅ Passed
🟡 Medium Severity 0 46 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: 10
  • Medium without fixes: 46
  • Low without fixes: 0

✅ BUILD PASSED - All security checks passed

@cs-raj
cs-raj merged commit 4534d9c into main Oct 29, 2026
7 checks passed
@cs-raj
cs-raj deleted the fix/snyk-patch-deps-20261026 branch October 29, 2026 09:23
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.

3 participants