Skip to content

chore(security): resolve pnpm audit vulnerabilities (3 moderate) - #546

Merged
jankoritak merged 2 commits into
mainfrom
chore/security-audit-2026-09-29
Sep 29, 2026
Merged

jankoritak merged 2 commits into
mainfrom
chore/security-audit-2026-09-29

Conversation

@jankoritak

@jankoritak jankoritak commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Summary

pnpm audit fails the Audit - All and Audit - Production CI jobs on every branch with 3 moderate advisories in transitive dependencies. Following the convention from #434 and #438, each is fixed by raising an existing pnpm.overrides entry in the root package.json plus a lockfile refresh. No direct dependency changes, no new overrides.

Package Advisory Vulnerable Override Resolved Path
undici GHSA-3wwx-pv8p-q78v: DoS via unhandled error in WebSocket permessage-deflate decompression >=6.25.0 <6.28.1 6.28.0 → 6.28.1 (keeps the exact pin from #484) 6.28.0 → 6.28.1 runtime-core > @ai-sdk/mcp > @ai-sdk/provider-utils
ip-address GHSA-rpw4-54j3-4h4q: isLinkLocal() matches fe80::/64 instead of fe80::/10 <=10.5.0 >=10.3.1 → >=10.5.1 10.5.0 → 10.7.2 mcp > @modelcontextprotocol/sdk > express-rate-limit
ip-address GHSA-2vr4-cq9g-pvrc: NAT64 local-use range 64:ff9b:1::/48 not classified >=10.2.0 <=10.5.0 (same) (same) (same)

Verification

  • pnpm audit and pnpm audit --prod: no known vulnerabilities
  • pnpm build, pnpm typecheck, pnpm test (3320 tests): pass

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated internal package version requirements.

pnpm audit fails the Audit CI jobs on every branch with three moderate
advisories in transitive dependencies:

- undici <6.28.1: denial of service through an unhandled error in WebSocket
  permessage-deflate decompression (GHSA-3wwx-pv8p-q78v), via
  runtime-core > @ai-sdk/mcp > @ai-sdk/provider-utils.
- ip-address <=10.5.0: isLinkLocal() matches fe80::/64 instead of fe80::/10
  (GHSA-rpw4-54j3-4h4q), and no classifier recognizes the NAT64 local-use
  range 64:ff9b:1::/48 (GHSA-2vr4-cq9g-pvrc), via
  mcp > @modelcontextprotocol/sdk > express-rate-limit.

Raise the existing pnpm.overrides entries (undici 6.28.0 -> 6.28.1, keeping
the exact pin; ip-address >=10.3.1 -> >=10.5.1) and refresh the lockfile.
No direct dependency changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Essentials

Run ID: a1f2127e-6ce6-45de-b235-554ba521036b

📥 Commits

Reviewing files that changed from the base of the PR and between b909a07 and 1737078.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Essentials

Run ID: cd2e16aa-3bca-45f6-822f-8bbf1cb10388

📥 Commits

Reviewing files that changed from the base of the PR and between 0ec5602 and b909a07.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (1)
  • package.json

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.


📝 Walkthrough

Walkthrough

The root package overrides now require ip-address version >=10.5.1 and pin undici to version 6.28.1.

Priority: ➖ Normal

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Suggested reviewers: jamesbhobbs

Merge Risk: ⚪ Minimal · up to b909a

The dependency override updates are ready to merge, subject to normal checks.

🚥 Pre-merge checks | ✅ 6
✅ Passed checks (6 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Updates Docs ✅ Passed PASS. This PR does not implement a feature. The authoritative diff only updates dependency overrides and the lockfile (ip-address and undici). No documentation or roadmap update is required by thi…
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies the security purpose of the changes and matches the dependency override updates that address three moderate pnpm audit vulnerabilities.

Comment @coderabbitai help to get the list of available commands.

@jankoritak
jankoritak marked this pull request as ready for review September 29, 2026 09:43
@jankoritak
jankoritak requested a review from a team as a code owner September 29, 2026 09:43
@codecov

codecov Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.91%. Comparing base (9e006ab) to head (1737078).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #546   +/-   ##
=======================================
  Coverage   89.91%   89.91%           
=======================================
  Files         208      208           
  Lines       12239    12239           
  Branches     3531     3531           
=======================================
  Hits        11005    11005           
  Misses       1231     1231           
  Partials        3        3           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jankoritak
jankoritak merged commit 8c0b8c8 into main Sep 29, 2026
22 checks passed
@jankoritak
jankoritak deleted the chore/security-audit-2026-09-29 branch September 29, 2026 11:50
jamesbhobbs added a commit that referenced this pull request Oct 1, 2026
The branch was cut before #546/#547 raised the `undici` override to 6.28.1.
The merge kept main's `undici@6.28.1` package entry alongside the
`undici: 6.28.0` snapshot reference introduced with `@ai-sdk/provider-utils`,
so `pnpm install --frozen-lockfile` failed with
ERR_PNPM_LOCKFILE_MISSING_DEPENDENCY and took every CI job with it.

Also document the agent providers in the runtime-core README, per the
documentation check added in #526.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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