Skip to content

chore(security): resolve pnpm audit vulnerabilities (4 high, 5 moderate, 2 low) - #598

Merged
tkislan merged 3 commits into
mainfrom
chore/pnpm-audit-2026-10-27
Oct 28, 2026
Merged

tkislan merged 3 commits into
mainfrom
chore/pnpm-audit-2026-10-27

Conversation

@tkislan

@tkislan tkislan commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

pnpm audit on main reports 12 advisories. This PR fixes 11 of them, all in transitive dependencies. The twelfth, zod, is fixed by #597.

Advisory Package Severity Path Fixed in
GHSA-27r3-jxmh-p828 body-parser 2.3.0 high prod: mcp > @modelcontextprotocol/sdk > express > body-parser 2.4.0
GHSA-xjj6-f33q-929c undici 6.28.1 high prod: runtime-core > @ai-sdk/anthropic > @ai-sdk/provider-utils > undici 6.29.1 / 7.30.1 / 8.12.2
GHSA-2m5v-pch6-74hx undici 6.28.1 high same 6.29.1 / 7.30.1 / 8.12.2
GHSA-qrxm-fqhp-jwvm undici 6.28.1 high same 6.29.1 / 7.30.1 / 8.12.2
GHSA-4qv8-2p9j-2685 undici 6.28.1 moderate same 6.29.1 / 7.30.1 / 8.12.2
GHSA-9fm3-97px-rjf6 undici 6.28.1 moderate same 6.29.1 / 7.30.1 / 8.12.2
GHSA-6pq8-jhm2-2vcw qs 6.16.0 moderate prod: mcp > @modelcontextprotocol/sdk > express > qs 6.16.1
GHSA-w74x-v6f9-j3xg fast-uri 3.1.8 moderate prod: mcp > @modelcontextprotocol/sdk > ajv > fast-uri 2.4.8 / 3.1.9 / 4.2.3
GHSA-wjr9-j795-jxcr fast-uri 3.1.8 moderate same 3.1.9 / 4.2.3
GHSA-xhq7-xmqj-769h fast-uri 3.1.8 low same 2.4.8 / 3.1.9 / 4.2.3
GHSA-333x-w4r6-6crp fast-uri 3.1.8 low same 2.4.8 / 3.1.9 / 4.2.3

The Audit jobs stay red until both this PR and #597 merge.

Verification

  • pnpm audit and qlty check --all --filter osv-scanner: only zod remains.
  • pnpm build, typecheck, lintAndFormat, spell-check, license-check and test: pass.
  • pnpm install --frozen-lockfile: passes.

🤖 Generated with Claude Code

https://claude.ai/code/session_013Y9ynCMEw3a3r6ygSAePYn

…te, 2 low)

- body-parser: raise the override floor to >=2.4.0 (GHSA-27r3-jxmh-p828)
- fast-uri: raise the override floor to >=3.1.9 <4 (GHSA-w74x-v6f9-j3xg,
  GHSA-wjr9-j795-jxcr, GHSA-xhq7-xmqj-769h, GHSA-333x-w4r6-6crp)
- undici: remove the stale exact 6.28.1 override; @ai-sdk/provider-utils
  declares ^7.29.0, which resolves to the patched 7.30.1
  (GHSA-xjj6-f33q-929c, GHSA-4qv8-2p9j-2685, GHSA-2m5v-pch6-74hx,
  GHSA-qrxm-fqhp-jwvm, GHSA-9fm3-97px-rjf6)
- qs: raise the override floor to >=6.16.1 (GHSA-6pq8-jhm2-2vcw);
  body-parser 2.4.0 asks for ^6.16.1 too
- content-type 2.1.0 is new: body-parser 2.4.0 depends on ^2.1.0
  (2.0.0 stays for type-is, 1.0.5 for express)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013Y9ynCMEw3a3r6ygSAePYn
@coderabbitai

coderabbitai Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

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
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: 16ab0f06-9e11-4a27-a305-1ea24728802a
Commits

Reviewing files that changed from the base of the PR and between b9afd16 and 785ba20.

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
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: 04917418-959e-46b4-a8cf-c13846ae5ad4
Commits

Reviewing files that changed from the base of the PR and between 40568a2 and 09fc214.

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; 6 remain after this review.

Walkthrough

The package overrides raise the minimum versions for body-parser, fast-uri, and qs. The fixed undici override is removed.

Priority: Normal

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Other

Possibly related PRs

  • deepnote/deepnote#597: This PR addresses the remaining zod audit finding; the summaries state that both changes are required by the audit jobs.

Suggested reviewers: dinohamzic, m1so

Merge Risk: Minimal · previous review 09fc2

The dependency override updates are ready to merge with no identified blocking risk.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly identifies the dependency-security remediation and matches the pull request’s main change: updating pnpm overrides to resolve reported audit vulnerabilities.
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. The pull request changes only dependency overrides and the lockfile. It does not implement a user-facing feature, so documentation updates are not required by this check. No documentation or roa…
Full details: Updates Docs

Explanation

PASS. The pull request changes only dependency overrides and the lockfile. It does not implement a user-facing feature, so documentation updates are not required by this check. No documentation or roadmap files are part of the reviewed diff. Linked repositories are unavailable; update the Deepnote OSS documentation and the landing-page roadmap if this dependency work is later treated as a feature.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@codecov

codecov Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.56%. Comparing base (c1ba30b) to head (785ba20).

Additional details and impacted files
@@           Coverage Diff            @@
##             main     #598    +/-   ##
========================================
  Coverage   90.56%   90.56%            
========================================
  Files         218      218            
  Lines       12720    12720            
  Branches     3574     3681   +107     
========================================
  Hits        11520    11520            
  Misses       1197     1197            
  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.

@tkislan
tkislan marked this pull request as ready for review October 28, 2026 13:28
@tkislan
tkislan requested a review from a team as a code owner October 28, 2026 13:28
@tkislan
tkislan merged commit a698ad0 into main Oct 28, 2026
20 of 22 checks passed
@tkislan
tkislan deleted the chore/pnpm-audit-2026-10-27 branch October 28, 2026 14:11
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