Skip to content

fix: resolve high and critical npm audit vulnerabilities - #23

Merged
CharanMN7 merged 1 commit into
mainfrom
fix/audit-high-vulns
Sep 25, 2026
Merged

CharanMN7 merged 1 commit into
mainfrom
fix/audit-high-vulns

Conversation

@CharanMN7

Copy link
Copy Markdown
Contributor

Summary

  • Bumps pinned next 16.2.12 → 16.3.6 across templates/examples — fixes the two critical unauthenticated RCE advisories (GHSA-p293-qw3h-jr36, GHSA-2xp9-vwfh-vxw4) that were blocking the release workflow's npm audit --audit-level=high gate.
  • Bumps the sharp override 0.35.3 → 0.35.4 — fixes the high-severity libheif advisory (GHSA-rgj7-g3m4-5g8c). next@16.3.6 already wants sharp@^0.35.4; our root overrides block was pinning it below that.
  • fast-uri and js-yaml high-severity advisories cleared via npm audit fix (no code changes, transitive-dep bumps only).

npm audit --audit-level=high now exits 0. Two moderate vitest/@vitest/mocker findings remain — fixing those needs a vitest major bump (breaking), left alone since they're below the CI gate's threshold.

Test plan

  • npm run lint — passes
  • npm run typecheck — passes across all workspaces
  • npm test — 99/99 passing
  • npm run build — succeeds (pre-existing content.ts tracing warnings only, unrelated)
  • npm audit --audit-level=high — exit 0
  • npm pack --dry-run --workspace packages/framework — tarball builds correctly at 0.5.0

🤖 Generated with Claude Code

- Bump pinned next 16.2.12 -> 16.3.6 across templates/examples, fixing
  the critical unauthenticated RCE advisories (GHSA-p293-qw3h-jr36,
  GHSA-2xp9-vwfh-vxw4).
- Bump the sharp override 0.35.3 -> 0.35.4, fixing the high-severity
  libheif advisory (GHSA-rgj7-g3m4-5g8c) next@16.3.6 already wants but
  our override was pinning below.
- fast-uri and js-yaml high-severity advisories cleared via npm audit fix.

`npm audit --audit-level=high` now exits 0 (2 remaining moderate
vitest/mocker findings require a vitest major bump, left alone).
Verified lint, typecheck, test (99 passing), and build all still pass.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
framework-inkform-docs Ready Ready Preview Sep 25, 2026 9:23am UTC
pokeapi Ready Ready Preview Sep 25, 2026 9:23am UTC

Request Review

@CharanMN7 CharanMN7 left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

OK

@CharanMN7
CharanMN7 merged commit 1c7e7c7 into main Sep 25, 2026
4 checks passed

This branch was successfully deployed

2 active deployments
Preview – pokeapi — dfbe0dfb Deployed Sep 25, 2026 by vercel[bot]
Preview – framework-inkform-docs — dfbe0dfb Deployed Sep 25, 2026 by vercel[bot]
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