Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

fix(security): patch brace-expansion and ws audit vulnerabilities (#3556)

claude[bot]5d2651410a55
diff --git a/apps/api/package.json b/apps/api/package.json
index 3d081abfd..039c48e9c 100644
--- a/apps/api/package.json
+++ b/apps/api/package.json
@@ -148,7 +148,7 @@
"undici": "7.24.1",
"uuid": "^13.0.1",
"winston": "^3.14.2",
- "ws": "^8.18.0",
+ "ws": "^8.20.1",
"xml2js": "^0.6.2",
"zod": "4.1.12"
},
@@ -201,7 +201,8 @@
"smol-toml@<1.6.1": ">=1.6.1",
"handlebars": ">=4.7.9",
"path-to-regexp@~0.1.12": "0.1.13",
- "brace-expansion": ">=5.0.5",
+ "brace-expansion": ">=5.0.6",
+ "ws@>=8.0.0 <9.0.0": ">=8.20.1 <9.0.0",
"follow-redirects@<1.16.0": ">=1.16.0 <2.0.0"
}
},
diff --git a/apps/api/pnpm-lock.yaml b/apps/api/pnpm-lock.yaml
index 83d960394..929d9b358 100644
--- a/apps/api/pnpm-lock.yaml
+++ b/apps/api/pnpm-lock.yaml
@@ -25,7 +25,8 @@ overrides:
smol-toml@<1.6.1: '>=1.6.1'
handlebars: '>=4.7.9'
path-to-regexp@~0.1.12: 0.1.13
- brace-expansion: '>=5.0.5'
+ brace-expansion: '>=5.0.6'
+ ws@>=8.0.0 <9.0.0: '>=8.20.1 <9.0.0'
follow-redirects@<1.16.0: '>=1.16.0 <2.0.0'
importers:
@@ -100,7 +101,7 @@ importers:
'@x402/express':
specifier: ^2.4.0
ai:
specifier: 6.0.86
version: 6.0.86([email protected])
@@ -184,7 +185,7 @@ importers:
version: 2.9.0
langsmith:
specifier: ^0.6.0
lodash:
specifier: ^4.18.0
version: 4.18.1
@@ -199,7 +200,7 @@ importers:
version: 1.2.0([email protected])
openai:
specifier: ^5.20.2
parse-diff:
specifier: ^0.11.1
version: 0.11.1
@@ -258,8 +259,8 @@ importers:
specifier: ^3.14.2
version: 3.14.2
ws:
- specifier: ^8.18.0
+ specifier: '>=8.20.1 <9.0.0'
xml2js:
specifier: ^0.6.2
version: 0.6.2
@@ -2497,7 +2498,7 @@ packages:
engines: {node: '>=20.18.0'}
peerDependencies:
typescript: '>=5.3.3'
- ws: ^8.18.0
+ ws: '>=8.20.1 <9.0.0'
'@solana/[email protected]':
resolution: {integrity: sha512-rdmVcl4PvNKQeA2l8DorIeALCgJEMSu7U8AXJS1PICeb2lQuMeaR+6cs/iowjvIB0lMVjYN2sFf6Q3dJPu6wWg==}
@@ -3209,8 +3210,8 @@ packages:
resolution: {integrity: sha512-CLCsZGIBCFnPtkNnieW/a8wmreDmfUtjU2m9yHrzPXIlNbqVs0AQrSatSG6vdNYUqdc83tkQi2eHfF98ubzQLA==}
- resolution: {integrity: sha512-VZznLgtwhn+Mact9tfiwx64fA9erHH/MCXEUfB/0bX/6Fz6ny5EGTXYltMocqg4xFAQZtnO3DHWWXi8RiuN7cQ==}
+ resolution: {integrity: sha512-kLpxurY4Z4r9sgMsyG0Z9uzsBlgiU/EFKhj/h91/8yHu0edo7XuixOIH3VcJ8kkxs6/jPzoI6U9Vj3WqbMQ94g==}
engines: {node: 18 || 20 || >=22}
@@ -4204,12 +4205,12 @@ packages:
resolution: {integrity: sha512-BhBvN2MBpWTaSHdWRb/bwdZJ1WaehQ2L1KngkCkfLUGF0mAWAT1sQUQacEmQ0jXkFw/czDXPNQSL5u2/Krsz1w==}
peerDependencies:
- ws: '*'
+ ws: '>=8.20.1 <9.0.0'
resolution: {integrity: sha512-I1fSfDCZL5P0v33sVqeTDSpcstAg/N+wF5HS033mogOVIp4B+oHC7oOCsA3axAbBSGTJ8QubbNmnIRN/h8U7hg==}
peerDependencies:
- ws: '*'
+ ws: '>=8.20.1 <9.0.0'
resolution: {integrity: sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==}
@@ -4467,7 +4468,7 @@ packages:
'@opentelemetry/exporter-trace-otlp-proto': '*'
'@opentelemetry/sdk-trace-base': '*'
openai: '*'
- ws: '>=7'
+ ws: '>=8.20.1 <9.0.0'
peerDependenciesMeta:
'@opentelemetry/api':
optional: true
@@ -4832,7 +4833,7 @@ packages:
resolution: {integrity: sha512-ZeBIEazj6W/XOulMw92L8iU5FblQeM5IxjPRCZNVArNXsoF+bLPnS7B2X4O0JSmpCM+F5Gdajr6bn4nAUj4LFQ==}
hasBin: true
peerDependencies:
- ws: ^8.18.0
+ ws: '>=8.20.1 <9.0.0'
zod: ^3.23.8
peerDependenciesMeta:
ws:
@@ -5835,32 +5836,8 @@ packages:
utf-8-validate:
optional: true
- resolution: {integrity: sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==}
- engines: {node: '>=10.0.0'}
- peerDependencies:
- bufferutil: ^4.0.1
- utf-8-validate: '>=5.0.2'
- peerDependenciesMeta:
- bufferutil:
- optional: true
- utf-8-validate:
- optional: true
-
- resolution: {integrity: sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==}
- engines: {node: '>=10.0.0'}
- peerDependencies:
- bufferutil: ^4.0.1
- utf-8-validate: '>=5.0.2'
- peerDependenciesMeta:
- bufferutil:
- optional: true
- utf-8-validate:
- optional: true
-
- resolution: {integrity: sha512-PEIGCY5tSlUt50cqyMXfCzX+oOPqN0vuGqWzbcJ2xvnkzkq46oOpz7dQaTDBdfICb4N14+GARUDw2XV2N4tvzg==}
+ resolution: {integrity: sha512-It4dO0K5v//JtTXuPkfEOaI3uUN87iYPnqo/ZzqCoG3g8uhA66QUMs/SrM0YK7/NAu+r4LMh/9dq2A7k+rHs+w==}
engines: {node: '>=10.0.0'}
peerDependencies:
bufferutil: ^4.0.1
@@ -7946,7 +7923,7 @@ snapshots:
transitivePeerDependencies:
- fastestsmallesttextencoderdecoder
dependencies:
'@solana/accounts': 2.3.0([email protected])([email protected])
'@solana/addresses': 2.3.0([email protected])([email protected])
@@ -7959,11 +7936,11 @@ snapshots:
'@solana/rpc': 2.3.0([email protected])([email protected])
'@solana/rpc-parsed-types': 2.3.0([email protected])
'@solana/rpc-spec-types': 2.3.0([email protected])
'@solana/rpc-types': 2.3.0([email protected])([email protected])
'@solana/signers': 2.3.0([email protected])([email protected])
'@solana/sysvars': 2.3.0([email protected])([email protected])
'@solana/transaction-messages': 2.3.0([email protected])([email protected])
'@solana/transactions': 2.3.0([email protected])([email protected])
typescript: 5.8.3
@@ -8053,14 +8030,14 @@ snapshots:
transitivePeerDependencies:
- fastestsmallesttextencoderdecoder
dependencies:
'@solana/errors': 2.3.0([email protected])
'@solana/functional': 2.3.0([email protected])
'@solana/rpc-subscriptions-spec': 2.3.0([email protected])
'@solana/subscribable': 2.3.0([email protected])
typescript: 5.8.3
dependencies:
@@ -8070,7 +8047,7 @@ snapshots:
'@solana/subscribable': 2.3.0([email protected])
typescript: 5.8.3
dependencies:
'@solana/errors': 2.3.0([email protected])
'@solana/fast-stable-stringify': 2.3.0([email protected])
@@ -8078,7 +8055,7 @@ snapshots:
'@solana/promises': 2.3.0([email protected])
'@solana/rpc-spec-types': 2.3.0([email protected])
'@solana/rpc-subscriptions-api': 2.3.0([email protected])([email protected])
- '@solana/rpc-subscriptions-channel-websocket': 2.3.0([email protected])([email protected]([email protected])([email protected]))
+ '@solana/rpc-subscriptions-channel-websocket': 2.3.0([email protected])([email protected]([email protected])([email protected]))
'@solana/rpc-subscriptions-spec': 2.3.0([email protected])
'@solana/rpc-transformers': 2.3.0([email protected])([email protected])
'@solana/rpc-types': 2.3.0([email protected])([email protected])
@@ -8194,7 +8171,7 @@ snapshots:
transitivePeerDependencies:
- fastestsmallesttextencoderdecoder
dependencies:
'@solana/addresses': 2.3.0([email protected])([email protected])
'@solana/codecs-strings': 2.3.0([email protected])([email protected])
@@ -8202,7 +8179,7 @@ snapshots:
'@solana/keys': 2.3.0([email protected])([email protected])
'@solana/promises': 2.3.0([email protected])
'@solana/rpc': 2.3.0([email protected])([email protected])
'@solana/rpc-types': 2.3.0([email protected])([email protected])
'@solana/transaction-messages': 2.3.0([email protected])([email protected])
'@solana/transactions': 2.3.0([email protected])([email protected])
@@ -8312,8 +8289,8 @@ snapshots:
'@supabase/node-fetch': 2.6.15
'@types/phoenix': 1.6.6
'@types/ws': 8.18.1
transitivePeerDependencies:
- bufferutil
- utf-8-validate
@@ -8642,10 +8619,10 @@ snapshots:
- typescript
- utf-8-validate
dependencies:
'@x402/core': 2.4.0
express: 4.22.0
@@ -8930,7 +8907,7 @@ snapshots:
bs58: 4.0.1
text-encoding-utf-8: 1.0.2
dependencies:
balanced-match: 4.0.3
@@ -9429,7 +9406,7 @@ snapshots:
'@types/node': 22.7.5
aes-js: 4.0.0-beta.5
tslib: 2.7.0
transitivePeerDependencies:
- bufferutil
- utf-8-validate
@@ -10029,9 +10006,9 @@ snapshots:
dependencies:
dependencies:
@@ -10486,7 +10463,7 @@ snapshots:
whatwg-encoding: 3.1.1
whatwg-mimetype: 4.0.0
whatwg-url: 14.1.1
xml-name-validator: 5.0.0
transitivePeerDependencies:
- bufferutil
@@ -10543,14 +10520,14 @@ snapshots:
dependencies:
p-queue: 6.6.2
optionalDependencies:
'@opentelemetry/api': 1.9.0
'@opentelemetry/sdk-trace-base': 2.2.0(@opentelemetry/[email protected])
@@ -10711,7 +10688,7 @@ snapshots:
dependencies:
- brace-expansion: 5.0.5
+ brace-expansion: 5.0.6
@@ -10860,9 +10837,9 @@ snapshots:
dependencies:
mimic-function: 5.0.1
optionalDependencies:
zod: 4.1.12
@@ -11258,7 +11235,7 @@ snapshots:
buffer: 6.0.3
eventemitter3: 5.0.1
uuid: 8.3.2
optionalDependencies:
bufferutil: 4.0.9
utf-8-validate: 5.0.10
@@ -11778,9 +11755,9 @@ snapshots:
'@scure/bip32': 1.7.0
'@scure/bip39': 1.6.0
optionalDependencies:
typescript: 5.8.3
transitivePeerDependencies:
@@ -11880,17 +11857,7 @@ snapshots:
bufferutil: 4.0.9
utf-8-validate: 5.0.10
- optionalDependencies:
- bufferutil: 4.0.9
- utf-8-validate: 5.0.10
-
- optionalDependencies:
- bufferutil: 4.0.9
- utf-8-validate: 5.0.10
-
optionalDependencies:
bufferutil: 4.0.9
utf-8-validate: 5.0.10
diff --git a/apps/js-sdk/firecrawl/package.json b/apps/js-sdk/firecrawl/package.json
index 15a375460..f697a19a1 100644
--- a/apps/js-sdk/firecrawl/package.json
+++ b/apps/js-sdk/firecrawl/package.json
@@ -1,6 +1,6 @@
{
"name": "@mendable/firecrawl-js",
- "version": "4.24.1",
+ "version": "4.24.2",
"description": "JavaScript SDK for Firecrawl API",
"main": "dist/index.js",
"types": "dist/index.d.ts",
@@ -69,7 +69,7 @@
"rollup@<4.59.0": ">=4.59.0",
"picomatch@<4.0.4": ">=4.0.4",
"handlebars": ">=4.7.9",
- "brace-expansion": ">=5.0.5",
+ "brace-expansion": ">=5.0.6",
"axios@<1.15.2": "1.15.2",
"follow-redirects@<1.16.0": ">=1.16.0 <2.0.0"
}
diff --git a/apps/js-sdk/firecrawl/pnpm-lock.yaml b/apps/js-sdk/firecrawl/pnpm-lock.yaml
index a242f81d5..8cc085430 100644
--- a/apps/js-sdk/firecrawl/pnpm-lock.yaml
+++ b/apps/js-sdk/firecrawl/pnpm-lock.yaml
@@ -10,7 +10,7 @@ overrides:
rollup@<4.59.0: '>=4.59.0'
picomatch@<4.0.4: '>=4.0.4'
handlebars: '>=4.7.9'
- brace-expansion: '>=5.0.5'
+ brace-expansion: '>=5.0.6'
axios@<1.15.2: 1.15.2
follow-redirects@<1.16.0: '>=1.16.0 <2.0.0'
@@ -916,8 +916,8 @@ packages:
resolution: {integrity: sha512-1pHv8LX9CpKut1Zp4EXey7Z8OfH11ONNH6Dhi2WDUt31VVZFXZzKwXcysBgqSumFCmR+0dqjMK5v5JiFHzi0+g==}
engines: {node: 20 || >=22}
- resolution: {integrity: sha512-VZznLgtwhn+Mact9tfiwx64fA9erHH/MCXEUfB/0bX/6Fz6ny5EGTXYltMocqg4xFAQZtnO3DHWWXi8RiuN7cQ==}
+ resolution: {integrity: sha512-kLpxurY4Z4r9sgMsyG0Z9uzsBlgiU/EFKhj/h91/8yHu0edo7XuixOIH3VcJ8kkxs6/jPzoI6U9Vj3WqbMQ94g==}
engines: {node: 18 || 20 || >=22}
@@ -2859,7 +2859,7 @@ snapshots:
dependencies:
balanced-match: 4.0.3
@@ -3683,7 +3683,7 @@ snapshots:
dependencies:
- brace-expansion: 5.0.5
+ brace-expansion: 5.0.6
diff --git a/apps/test-suite/package.json b/apps/test-suite/package.json
index ec2861ed2..c92e015ad 100644
--- a/apps/test-suite/package.json
+++ b/apps/test-suite/package.json
@@ -17,7 +17,8 @@
"minimatch@<10.2.3": ">=10.2.3",
"undici": "^7.24.1",
"picomatch@<4.0.4": ">=4.0.4",
- "brace-expansion": ">=5.0.5",
+ "brace-expansion": ">=5.0.6",
+ "ws@>=8.0.0 <9.0.0": ">=8.20.1 <9.0.0",
"lodash": ">=4.18.0",
"protobufjs@<7.5.6": ">=7.5.6 <8.0.0",
"uuid@>=11.0.0 <11.1.1": ">=11.1.1 <12.0.0",
diff --git a/apps/test-suite/pnpm-lock.yaml b/apps/test-suite/pnpm-lock.yaml
index 02f8d47dc..57a65cf65 100644
--- a/apps/test-suite/pnpm-lock.yaml
+++ b/apps/test-suite/pnpm-lock.yaml
@@ -10,7 +10,8 @@ overrides:
minimatch@<10.2.3: '>=10.2.3'
undici: ^7.24.1
picomatch@<4.0.4: '>=4.0.4'
- brace-expansion: '>=5.0.5'
+ brace-expansion: '>=5.0.6'
+ ws@>=8.0.0 <9.0.0: '>=8.20.1 <9.0.0'
lodash: '>=4.18.0'
protobufjs@<7.5.6: '>=7.5.6 <8.0.0'
uuid@>=11.0.0 <11.1.1: '>=11.1.1 <12.0.0'
@@ -1269,8 +1270,8 @@ packages:
resolution: {integrity: sha512-tzPjzCxygAKWFOJP011oxFHs57HzIhOEracIgAePE4pqB3LikALKnSzUyU4MGs9/iCEUuHlAJTjTc5M+u7YEGg==}
- resolution: {integrity: sha512-VZznLgtwhn+Mact9tfiwx64fA9erHH/MCXEUfB/0bX/6Fz6ny5EGTXYltMocqg4xFAQZtnO3DHWWXi8RiuN7cQ==}
+ resolution: {integrity: sha512-kLpxurY4Z4r9sgMsyG0Z9uzsBlgiU/EFKhj/h91/8yHu0edo7XuixOIH3VcJ8kkxs6/jPzoI6U9Vj3WqbMQ94g==}
engines: {node: 18 || 20 || >=22}
@@ -2518,8 +2519,8 @@ packages:
utf-8-validate:
optional: true
- resolution: {integrity: sha512-PEIGCY5tSlUt50cqyMXfCzX+oOPqN0vuGqWzbcJ2xvnkzkq46oOpz7dQaTDBdfICb4N14+GARUDw2XV2N4tvzg==}
+ resolution: {integrity: sha512-It4dO0K5v//JtTXuPkfEOaI3uUN87iYPnqo/ZzqCoG3g8uhA66QUMs/SrM0YK7/NAu+r4LMh/9dq2A7k+rHs+w==}
engines: {node: '>=10.0.0'}
peerDependencies:
bufferutil: ^4.0.1
@@ -4991,7 +4992,7 @@ snapshots:
dependencies:
balanced-match: 4.0.4
@@ -5332,7 +5333,7 @@ snapshots:
'@socket.io/component-emitter': 3.1.2
debug: 4.4.3([email protected])
engine.io-parser: 5.2.3
- ws: 8.18.3
+ ws: 8.20.1
xmlhttprequest-ssl: 2.1.2
transitivePeerDependencies:
- bufferutil
@@ -5798,7 +5799,7 @@ snapshots:
dependencies:
- brace-expansion: 5.0.5
+ brace-expansion: 5.0.6
@@ -6240,7 +6241,7 @@ snapshots:
dependencies:
diff --git a/apps/ui/ingestion-ui/package.json b/apps/ui/ingestion-ui/package.json
index e012e0d73..22cc40e38 100644
--- a/apps/ui/ingestion-ui/package.json
+++ b/apps/ui/ingestion-ui/package.json
@@ -49,7 +49,7 @@
"minimatch@<10.2.3": ">=10.2.3",
"rollup@<4.59.0": ">=4.59.0",
"picomatch@<4.0.4": ">=4.0.4",
- "brace-expansion": ">=5.0.5"
+ "brace-expansion": ">=5.0.6"
}
}
}
diff --git a/apps/ui/ingestion-ui/pnpm-lock.yaml b/apps/ui/ingestion-ui/pnpm-lock.yaml
index 8bc0a55c5..761ebd5de 100644
--- a/apps/ui/ingestion-ui/pnpm-lock.yaml
+++ b/apps/ui/ingestion-ui/pnpm-lock.yaml
@@ -11,7 +11,7 @@ overrides:
minimatch@<10.2.3: '>=10.2.3'
rollup@<4.59.0: '>=4.59.0'
picomatch@<4.0.4: '>=4.0.4'
- brace-expansion: '>=5.0.5'
+ brace-expansion: '>=5.0.6'
importers:
@@ -1029,8 +1029,8 @@ packages:
resolution: {integrity: sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==}
engines: {node: '>=8'}
- resolution: {integrity: sha512-VZznLgtwhn+Mact9tfiwx64fA9erHH/MCXEUfB/0bX/6Fz6ny5EGTXYltMocqg4xFAQZtnO3DHWWXi8RiuN7cQ==}
+ resolution: {integrity: sha512-kLpxurY4Z4r9sgMsyG0Z9uzsBlgiU/EFKhj/h91/8yHu0edo7XuixOIH3VcJ8kkxs6/jPzoI6U9Vj3WqbMQ94g==}
engines: {node: 18 || 20 || >=22}
@@ -2512,7 +2512,7 @@ snapshots:
dependencies:
balanced-match: 4.0.3
@@ -2854,7 +2854,7 @@ snapshots:
dependencies:
- brace-expansion: 5.0.5
+ brace-expansion: 5.0.6