Skip to content

fix: bump undici to resolve Snyk vulnerabilities - #70

Open
cs-raj wants to merge 2 commits into
masterfrom
fix/snyk-patch-deps-20261014
Open

cs-raj wants to merge 2 commits into
masterfrom
fix/snyk-patch-deps-20261014

Conversation

@cs-raj

@cs-raj cs-raj commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Snyk reports 13 findings on master (1 critical, 8 high, 4 medium): 10 in undici 7.29.0 and 3 in transitive brace-expansion 5.0.9.

Fix

LIBRARY: consumers resolve our package.json ranges and never see our lock file or overrides. I raised the undici floor to ^7.29.1 (the patched release), raised the existing brace-expansion override from 5.0.9 to 5.0.12, and regenerated the lock file. The override only changes this repo's own install and CI scan. Package version 2.3.8 -> 2.3.9.

Remaining, by design: npm audit findings in dev-only jest 29 and tslint, which need major bumps.

Verification

Snyk 13 -> 0; npm run build-ts passes.

🤖 Generated with Claude Code

Lock file regenerated (fixed 10 on its own).
Direct upgrades: undici ^7.29.0 -> ^7.29.1 (raises the floor); package version 2.3.8 -> 2.3.9
Overrides: none
Vuln count: snyk 13 -> 3, npm audit 35 -> 36. Build verified passing.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings October 14, 2026 08:42
@cs-raj
cs-raj requested a review from a team as a code owner October 14, 2026 08:42
@snyk-io

snyk-io Bot commented Oct 14, 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 2 0 25 ✅ Passed
🟡 Medium Severity 1 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

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No unresolved review issues were identified.

0 open findings

What changed in this PR

Updates the package to version 2.3.9 and raises undici to a patched release to address vulnerabilities.

Changes:

  • Updates undici to ^7.29.1.
  • Regenerates the lockfile.
  • Bumps the package version from 2.3.8 to 2.3.9.
File Description
package.json Updates package and undici versions.
package-lock.json Synchronizes dependency resolutions and metadata.

🧠 Review effort: Lite


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Clears the three remaining brace-expansion findings (SNYK-JS-BRACEEXPANSION-20244948, -20244950, -20244952).
Vuln count: snyk 3 -> 0. Build verified passing.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings October 14, 2026 08:54
@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

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No unresolved review issues were identified.

0 open findings

🧠 Review effort: Lite

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