Skip to content

Commit c1d79de

Browse files
aditiohriAditi Ohriclaude
authored
Fix: Eliminate vm2 security vulnerability (#358)
* fix: update proxy-agent to eliminate vm2 security vulnerability Update proxy-agent from 6.2.1 to 6.5.0 to remove the deprecated and vulnerable vm2 package from the dependency tree. The newer version uses @tootallnate/quickjs-emscripten as a safe alternative for JavaScript sandboxing. This eliminates multiple critical CVEs (CVSS 9.8-10.0): - CVE-2023-29017, CVE-2023-30547, CVE-2023-37466 - CVE-2023-37903, CVE-2022-36067 All tests pass with no breaking changes. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * ci: update GitHub Actions to v4 to fix cache issues Updated actions/checkout and actions/setup-node from v2 to v4 to resolve persistent yarn cache service errors (400 responses) in CI. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> --------- Co-authored-by: Aditi Ohri <aohri@redhat.com> Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent dc39071 commit c1d79de

3 files changed

Lines changed: 543 additions & 590 deletions

File tree

.github/workflows/node.js.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,9 @@ jobs:
2020
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2121

2222
steps:
23-
- uses: actions/checkout@v2
24-
# - uses: actions/cache@v2
25-
# with:
26-
# path: ~/.npm
27-
# key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
28-
# restore-keys: |
29-
# ${{ runner.os }}-node-
23+
- uses: actions/checkout@v4
3024
- name: Use Node.js ${{ matrix.node-version }}
31-
uses: actions/setup-node@v2
25+
uses: actions/setup-node@v4
3226
with:
3327
node-version: ${{ matrix.node-version }}
3428
cache: 'yarn'

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"opn": "5.5.0",
5454
"porty": "3.1.1",
5555
"print-colors": "1.0.1",
56-
"proxy-agent": "6.2.1",
56+
"proxy-agent": "6.5.0",
5757
"serve-static": "1.15.0",
5858
"transformer-proxy": "0.3.5",
5959
"yargs": "17.4.1"

0 commit comments

Comments
 (0)