Skip to content

fix: update vulnerable dependencies (13 high / 23 moderate / 1 low → 0)#71

Merged
pablopunk merged 1 commit into
mainfrom
fractal-doce-dev-work-63-update-vulnerable-dependencies-13-high-23-3c1343
Jun 17, 2026
Merged

fix: update vulnerable dependencies (13 high / 23 moderate / 1 low → 0)#71
pablopunk merged 1 commit into
mainfrom
fractal-doce-dev-work-63-update-vulnerable-dependencies-13-high-23-3c1343

Conversation

@pablopunk

Copy link
Copy Markdown
Owner

Summary

Resolves all 37 production dependency vulnerabilities reported by pnpm audit --prod.

Before: 1 low / 23 moderate / 13 high
After: 0 vulnerabilities

Changes

Direct dependency bumps

Package From To Advisories fixed
astro 6.1.1 6.4.6 h3 SSE injection, defu proto pollution, picomatch ReDoS, smol-toml DoS, server-island replay
effect ^3.19.18 ^3.21.3 AsyncLocalStorage context contamination (GHSA-38f7-945m-qr2g)
drizzle-orm ^0.45.1 ^0.45.2 SQL injection via unescaped identifiers (GHSA-gpj5-g38j-94v9)
@astrojs/node 10.0.4 10.1.4 Cache poisoning (needs ≥10.0.5)
@astrojs/react 5.0.2 5.0.7 vite, devalue, rollup, postcss (transitive)
@effect/platform-node ^0.104.1 ^0.107.0 undici (6 advisories), ws, uuid (transitive)
@effect/platform ^0.94.5 ^0.96.1 Kept aligned with platform-node

pnpm overrides (for transitive-only paths)

  • dompurify ≥3.4.0 — via @monaco-editor/react > monaco-editor (8 moderate advisories)
  • esbuild ≥0.28.1 — via Astro/Vite paths surfaced during verification (2 moderate)
  • Effect peers (@effect/cluster, @effect/rpc, @effect/sql) — aligned to match @effect/platform-node@0.107.0 expectations

Effect ecosystem alignment

Added direct dependencies for Effect sub-packages (cluster, rpc, sql, workflow, experimental) to keep the peer family aligned with the updated @effect/platform-node. The app uses Effect, Layer, Schema, and NodeContext — these additions are for peer resolution hygiene.

Documentation

New docs/security-overrides.md documents each override with:

  • The dependency path
  • GHSA advisory IDs
  • Conditions for removal

Verification

  • pnpm audit --prod: 0 vulnerabilities
  • pnpm build: passes

Notes

  • Dev dependency audit (pnpm audit without --prod) still shows 27 advisories via shadcn — out of scope for this PR
  • Pre-existing @openrouter/ai-sdk-provider peer warning (ai@^5.0.0 vs installed 6.0.97) remains
  • Astro went from 6.1.1 to 6.4.6 (not just 6.1.10) because @astrojs/node@10.1.4 requires astro@^6.3.0

Closes #63

…esolved

Bump direct deps to patched versions:
- astro 6.1.1 → 6.4.6
- effect ^3.19.18 → ^3.21.3
- drizzle-orm ^0.45.1 → ^0.45.2
- @astrojs/node 10.0.4 → 10.1.4
- @astrojs/react 5.0.2 → 5.0.7
- @effect/platform-node ^0.104.1 → ^0.107.0
- @effect/platform ^0.94.5 → ^0.96.1

Add pnpm.overrides for transitive-only vulns:
- dompurify (via @monaco-editor/react > monaco-editor)
- esbuild (via Astro/Vite paths)
- @effect/cluster, @effect/rpc, @effect/sql (peer alignment)

Add Effect ecosystem peer deps for alignment:
- @effect/cluster, @effect/rpc, @effect/sql
- @effect/workflow, @effect/experimental

Add docs/security-overrides.md with GHSA documentation.

pnpm audit --prod: 0 vulnerabilities
pnpm build: passes

Closes #63
@vercel

vercel Bot commented Jun 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
doce-dev-www Ready Ready Preview, Comment Jun 17, 2026 1:35pm

@coderabbitai

coderabbitai Bot commented Jun 17, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@pablopunk, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 53 minutes and 41 seconds. Learn how PR review limits work.

Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file).

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits.

🚦 How do rate limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 0c725826-e3f3-4053-99e4-4fca304ac7ee

📥 Commits

Reviewing files that changed from the base of the PR and between 5ec6301 and 273c422.

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

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@socket-security

socket-security Bot commented Jun 17, 2026

Copy link
Copy Markdown

@socket-security

socket-security Bot commented Jun 17, 2026

Copy link
Copy Markdown

All alerts resolved. Learn more about Socket for GitHub.

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

Ignoring alerts on:

  • drizzle-orm@0.45.2
  • effect@3.21.3
  • astro@6.4.6

View full report

@pablopunk

Copy link
Copy Markdown
Owner Author

@SocketSecurity ignore npm/astro@6.4.6
@SocketSecurity ignore npm/drizzle-orm@0.45.2
@SocketSecurity ignore npm/effect@3.21.3

@pablopunk pablopunk merged commit 227cced into main Jun 17, 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.

Update vulnerable dependencies (13 high / 23 moderate in pnpm audit --prod)

1 participant