Skip to content

fix: bump commitizen and regenerate lock file to resolve npm audit findings - #286

Open
cs-raj wants to merge 1 commit into
masterfrom
fix/snyk-patch-deps-20261026
Open

cs-raj wants to merge 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

npm audit reported 21 findings (4 critical, 8 high, 5 moderate, 4 low) in the committed lock file. They are all in development tooling: the published package has no runtime dependencies, so consumers were never exposed, but our CI and local installs were.

Fix

  • Regenerated package-lock.json within the existing ranges, which clears 16 findings on its own (handlebars, lodash, form-data, ws, js-yaml, tmp, fast-uri, brace-expansion and others).
  • Raised commitizen from ^4.3.1 to ^4.3.2 so a fresh install cannot land on the affected 4.3.1.
  • No overrides, no major upgrades, no package version change.

Still open (5, dev-only): jest-coverage-badges pulls in mkdirp 0.5.1 and minimist 0.0.8 (3 critical), and every release from 1.1.2 up is affected, so there is nothing to upgrade to; jest-junit 15 pulls in uuid 8 (2 moderate) and needs the 17.x major.

Verified: npm audit 21 → 5; npm run build passes and npm test passes (430 tests).

🤖 Generated with Claude Code

…ndings

Lock file regenerated (fixed 16 on its own).
Direct upgrades: commitizen ^4.3.1 -> ^4.3.2 (devDependency).
Overrides: none (published package with no runtime dependencies; the
remaining fixes are cross-major).
Vuln count: snyk 0 -> 0 (devDependencies only, nothing for snyk test to
read), npm audit 21 -> 5. Build verified passing.

Remaining (dev-only): jest-coverage-badges (mkdirp, minimist; no fixed
release) and jest-junit 15 -> 17 major (uuid).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@cs-raj
cs-raj requested a review from a team as a code owner October 26, 2026 14:40
@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

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