Skip to content

fix(deps): patch known-vulnerable transitive dependencies - #71

Open
GFrancV wants to merge 1 commit into
mainfrom
fix/security-audit-transitive-deps
Open

fix(deps): patch known-vulnerable transitive dependencies#71
GFrancV wants to merge 1 commit into
mainfrom
fix/security-audit-transitive-deps

Conversation

@GFrancV

@GFrancV GFrancV commented Aug 10, 2026

Copy link
Copy Markdown
Owner

Summary

Audited dependencies (Dependabot + pnpm audit): 55 open advisories (1 critical, 18 high, 31 moderate, 5 low). This PR patches everything fixable without a major version bump, via pnpm-workspace.yaml overrides (pnpm 11 moved dependency-resolution settings out of package.json's pnpm key into pnpm-workspace.yaml).

Pinned to patched versions: tar (fixes the critical DoS advisory, pulled in through @astrojs/vercel), postcss, svgo, js-yaml, devalue, path-to-regexp, vite, hono, fast-uri, ip-address, brace-expansion, qs, yaml, esbuild, @babel/core, body-parser.

Result: pnpm audit goes from 55 → 9 open advisories.

Out of scope (left for a separate PR): the remaining 9 advisories all require a major version bump — astro 6→7, @astrojs/vercel 10→11, and @hono/node-server 1→2 (dev-only, via shadcn). These carry real breaking-change risk for the core framework/adapter and need dedicated build/dev/deploy testing before merging.

⚠️ Note: this branch adds pnpm-workspace.yaml. If PR #70 (chore/pnpm-workspace-config, which also adds this file for allowBuilds) merges first, this PR will need a rebase to merge the overrides section in on top.

Test plan

  • pnpm audit — 55 → 9 open advisories, all require major bumps intentionally left out of scope
  • npx vitest run — 115/115 tests pass
  • pnpm run build — completes successfully with the updated dependency tree

Pin 16 transitive packages to their patched versions via
pnpm-workspace.yaml overrides (pnpm 11 moved this setting out of
package.json), resolving 46 of the 55 open security advisories,
including a critical DoS in tar (pulled in through @astrojs/vercel).

Left out of scope: the advisories that require a major version bump
(astro 6->7, @astrojs/vercel 10->11, @hono/node-server 1->2) since
those carry real breaking-change risk and need dedicated testing.

Verified: pnpm audit drops from 55 to 9 open advisories (all
major-bump-only), full test suite passes, and `pnpm run build`
completes cleanly.
@vercel

vercel Bot commented Aug 10, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
markdown-badges Error Error Aug 10, 2026 4:06pm

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