fix(deps): force esbuild >=0.28.1 (Dependabot alert #5, GHSA-gv7w-rqvm-qjhr)#63
Merged
Conversation
…IGH) Dependabot alert #5: esbuild 0.27.7 (transitive dev dep via tsup and vitest->vite) is vulnerable to GHSA-gv7w-rqvm-qjhr — missing binary integrity verification in the Deno module enables RCE via NPM_CONFIG_REGISTRY (patched in 0.28.1). The actual exploit path doesn't apply here (esbuild is used via Node, not Deno, and is build-only — never shipped in the published bundle), but it's a HIGH advisory and trivially fixable. Add an npm override pinning esbuild to ^0.28.1; both tsup and vite now resolve to 0.28.1. Build (tsup ESM/CJS/DTS), typecheck, and the full vitest suite (76 tests) all pass on the bumped version. npm audit reports no remaining high-severity issues. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
wolpert
enabled auto-merge (rebase)
June 13, 2026 14:42
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Resolves Dependabot alert #5.
The alert
esbuild0.27.7— transitive, dev-only (pulled bytsupandvitest→vite), inclients/passkeys-browser.NPM_CONFIG_REGISTRY. First patched in 0.28.1.Real-world risk here: low, but worth clearing
@pk-auth/passkeys-browserbundle, so SDK consumers are not exposed.The fix
Add an npm
overridesentry pinning esbuild to^0.28.1. Bothtsupandvitenow resolve to0.28.1(verified vianpm ls esbuild).Verification
npm ls esbuild→ single0.28.1, deduped across tsup + vite.tsc --noEmitclean;tsupbuilds ESM/CJS/DTS; 76/76 vitest tests pass.npm audit→ no remaining high-severity issues.🤖 Generated with Claude Code