Skip to content

fix: regenerate lock file to resolve Snyk vulnerabilities - #80

Merged
cs-raj merged 1 commit into
masterfrom
fix/snyk-patch-deps-20261026
Oct 29, 2026
Merged

cs-raj merged 1 commit into
masterfrom
fix/snyk-patch-deps-20261026

Conversation

@cs-raj

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

Copy link
Copy Markdown
Contributor

Problem

Snyk flags body-parser 2.3.0 (high, Uncaught Exception, SNYK-JS-BODYPARSER-21431495) in this app's lock file. It comes in through express 5 (body-parser ^2.3.0).

Fix

  • Regenerated package-lock.json: body-parser moves to 2.4.0 inside express's existing range. Only two other packages move: on-finished 2.4.1 → 2.4.2 and @mongodb-js/saslprep 1.6.0 → 1.6.1.
  • No package.json change, no direct dependency changes version, no overrides.
  • Still open: npm audit reports 7 dev-only findings in the eslint 5.16.0 tree (eslint, file-entry-cache, flat-cache, flatted, tmp, inquirer, external-editor). Only an eslint major bump clears them, so they are left out of this patch.

Verification

Snyk 1 → 0, npm audit 8 → 7; there is no build script in package.json, so no build was run.
app.js requires helmet, which is missing from package.json on master: pre-existing and not touched here.

🤖 Generated with Claude Code

Lock file regenerated (fixed 1 on its own).
Direct upgrades: none
Overrides: none
Vuln count: snyk 1 → 0, npm audit 8 → 7. No build script declared; build not run.

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 15:14
@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 0 25 ✅ Passed
🟡 Medium Severity 0 0 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

✅ BUILD PASSED - All security checks passed

@cs-raj
cs-raj merged commit 70dfe13 into master Oct 29, 2026
10 checks passed
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