Repository navigation
fix(deps): pin esbuild >=0.28.1 to clear GHSA-gv7w-rqvm-qjhr (HIGH) - #69
Merged
Merged
Conversation
pnpm-audit-prod (--audit-level=high, the security-fast CI gate) flags a HIGH advisory in production deps: esbuild missing binary integrity verification in the Deno module enables RCE via NPM_CONFIG_REGISTRY (GHSA-gv7w-rqvm-qjhr, affects >=0.17.0 <0.28.1). esbuild is transitive via vite/vitest/tsx; the tree resolved to 0.28.0 (still vulnerable). - pnpm-workspace.yaml overrides: pin esbuild to the patched >=0.28.1. - minimumReleaseAgeExclude: except esbuild + @esbuild/* from the 48h supply-chain hold so the patch (0.28.1, published 2026-06-11) lands now rather than waiting out the gate — same mechanism already used for vite, openclaw, etc. Scope: only esbuild 0.28.0 -> 0.28.1 (+ @esbuild/* platform pkgs) actually changes version; vite/tsx/vitest top-level versions are unchanged (the lockfile churn is peer-resolution suffix rewrites). Verified: audit script now reports 'No high or higher advisories'; esbuild 0.28.1 binary transforms TS correctly. Clears security-fast for openclaw#68 and every other PR + main at once. Co-Authored-By: Claude Fable 5 <[email protected]>
Dependency GuardThis PR changes dependency-related files. Maintainers should confirm these changes are intentional. Changed files:
Maintainer follow-up:
|
Dependency graph changes notedThis PR includes dependency graph changes. The dependency guard is informational because the PR author is a repository admin or a member of
Security review is still recommended before merge when the dependency graph change is intentional. |
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.
Problem
pnpm-audit-prod(thesecurity-fastCI gate,--audit-level=high) flags a HIGH advisory in production dependencies:esbuild is transitive (via vite / vitest / tsx); the tree resolved to
0.28.0, still inside the vulnerable range. This currently failssecurity-faston every open PR and onmain(e.g. #68), not any one change.Fix
pnpm-workspace.yamloverrides: pinesbuildto the patched>=0.28.1.minimumReleaseAgeExclude: exceptesbuild+@esbuild/*from the 48h supply-chain hold so the patch (0.28.1, published 2026-06-11) can land now instead of waiting out the gate — the same mechanism the repo already uses forvite,openclaw,[email protected], etc.Scope / safety
esbuildactually changes version (0.28.0 → 0.28.1, a patch, plus the@esbuild/*platform optionals). Top-levelvite/tsx/vitestversions are unchanged — the lockfile churn is peer-resolution suffix rewrites (([email protected])→([email protected])).node scripts/pre-commit/pnpm-audit-prod.mjs --audit-level=highnow reports "No high or higher advisories found";[email protected]transforms TS correctly; fullpnpm run buildexercised.Result
Clears
security-fastfor #68 and every other PR +mainat once. No source/feature changes — two dependency files only.🤖 Generated with Claude Code