Skip to content

fix: bump next, delivery-sdk and raise qs, sharp overrides to resolve Snyk vulnerabilities - #82

Merged
cs-raj merged 1 commit into
mainfrom
fix/snyk-patch-deps-20261015
Oct 15, 2026
Merged

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

Conversation

@cs-raj

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

Copy link
Copy Markdown
Contributor

Problem

Snyk reports 26 vulnerable dependency findings (2 critical, 9 high) on main: undici, next, dompurify, qs and sharp. This repo is an APP (Next.js), so the lock file is what ships.

Fix

  • Regenerated package-lock.json (clears 22 findings on its own, mostly undici and dompurify).
  • Bumped next ^16.2.12 -> ^16.4.1 and @contentstack/delivery-sdk ^5.6.0 -> ^5.6.1; package version 1.2.2 -> 1.2.3.
  • Moved the existing qs override 6.15.3 -> 6.16.0 and the existing sharp override 0.35.3 -> 0.35.5 (same major, in the shipped tree).

Remaining

  • 1 high qs finding: Snyk now lists 6.16.1 as the fix, published after the 6.16.0 pin.
  • 11 LGPL/MPL licence findings (@img/sharp-libvips-*, lightningcss-linux-x64-gnu), which a version bump does not fix.
  • An eslint-config-next npm audit chain that only a major bump fixes.

Verification

Snyk 26 -> 1, npm audit 15 -> 5; build passes.

🤖 Generated with Claude Code

… Snyk vulnerabilities

Lock file regenerated (fixed 22 on its own).
Direct upgrades: next ^16.4.1, @contentstack/delivery-sdk ^5.6.1
Overrides: qs 6.16.0, sharp 0.35.5
Vuln count: snyk 26 -> 1, npm audit 15 -> 5. Build verified passing.

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

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

✅ BUILD PASSED - All security checks passed

@cs-raj
cs-raj merged commit 0c9aca7 into main Oct 15, 2026
7 checks passed
@cs-raj
cs-raj deleted the fix/snyk-patch-deps-20261015 branch October 15, 2026 09:54
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