fix(security): bump handlebars to >=4.7.9 (Socket.dev critical CVE)#35
Open
zen-agent wants to merge 1 commit into
Open
fix(security): bump handlebars to >=4.7.9 (Socket.dev critical CVE)#35zen-agent wants to merge 1 commit into
zen-agent wants to merge 1 commit into
Conversation
Patches SOCKET-COMPOSIO-864 / CVE-2026-33937 / GHSA-2w6w-674q-4c4q (Handlebars.js JavaScript Injection via AST Type Confusion, critical). `handlebars` is pulled in transitively by `ts-jest` (via the frontend test setup). Added `handlebars: ">=4.7.9"` to the existing npm `overrides` block in `src/frontend/package.json` (alongside the existing tar/glob/test-exclude pins). Verified with `socket scan create . --view --report --org composio` (scan 931179ea-87c6-4c0e-bb89-fa457de1483f): zero handlebars alerts. Origin: cron-f7c85f82906b / zen-cron-6352a6575b74
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #35 +/- ##
=======================================
Coverage ? 31.23%
=======================================
Files ? 1332
Lines ? 58095
Branches ? 12152
=======================================
Hits ? 18147
Misses ? 38198
Partials ? 1750
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
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.
Description
Patches SOCKET-COMPOSIO-864 (Critical) by adding
handlebars: ">=4.7.9"to the existing npmoverridesblock insrc/frontend/package.json.SOCKET-COMPOSIO-864CVE-2026-33937GHSA-2w6w-674q-4c4q4.7.9handlebars@<4.7.9has a JavaScript Injection RCE via AST Type Confusion. It is pulled in transitively byts-jestin the frontend test setup.How did I test this PR
npm install --package-lock-onlyinsrc/frontend/regeneratespackage-lock.json;node_modules/handlebars -> v4.7.9(verified).socket scan create . --view --report --org composio(scan id931179ea-87c6-4c0e-bb89-fa457de1483f) — zero handlebars alerts in the new report.Origin: cron-f7c85f82906b / zen-cron-6352a6575b74
Triggered by: saransh@composio.dev | Source: Socket.dev Vulnerability Auto-Fix