Skip to content

The micro-VM for AI agents — light enough to embed on your laptop, elastic enough to power an agentic cloud.

fix(apps): patch high-severity production dependencies (#3242)

zombee08326ca716b9a
diff --git a/apps/api/src/boxlite-rest/attach-audit.spec.ts b/apps/api/src/boxlite-rest/attach-audit.spec.ts
index 574002c01..e9aa140f0 100644
--- a/apps/api/src/boxlite-rest/attach-audit.spec.ts
+++ b/apps/api/src/boxlite-rest/attach-audit.spec.ts
@@ -147,11 +147,8 @@ describe('attach audit over real WebSocket connections', () => {
downstream.push(socket as Socket)
void service.upgrade(req, socket as Socket, head)
})
- for (const server of [frontend, runner])
- server.on('connection', (socket) => {
- sockets.add(socket)
- socket.once('close', () => sockets.delete(socket))
- })
+ // A test emits a synthetic close while the socket can still be open.
+ for (const server of [frontend, runner]) server.on('connection', (socket) => sockets.add(socket))
await new Promise<void>((resolve) => frontend.listen(0, '127.0.0.1', resolve))
base = `ws://127.0.0.1:${(frontend.address() as AddressInfo).port}`
})
diff --git a/apps/infra/mbuild/README.md b/apps/infra/mbuild/README.md
index bba889812..a4819e14c 100644
--- a/apps/infra/mbuild/README.md
+++ b/apps/infra/mbuild/README.md
@@ -122,10 +122,10 @@ and rerun deliberately; the workflow will not retry the failed audit automatical
The API, proxy, collector and registry-proxy publications share this `apps/` audit;
a vulnerable workspace dependency can block all four before any image is built.
-The workspace requires `ws ^8.21.3` and uses a Yarn resolution to upgrade copies
+The workspace requires `ws ^8.23.0` and uses a Yarn resolution to upgrade copies
pinned by transitive dependencies, including Engine.IO and module federation.
-This covers [GHSA-96hv-2xvq-fx4p](https://github.com/advisories/GHSA-96hv-2xvq-fx4p),
-which affects `ws >=8.0.0 <8.21.0`. Remove the resolution only when the direct and
+This covers [GHSA-37g9-w4hg-h9qr](https://github.com/advisories/GHSA-37g9-w4hg-h9qr),
+which affects `ws >=8.0.0 <8.23.0`. Remove the resolution only when the direct and
transitive requirements all select patched versions; check `corepack yarn why ws`
and regenerate the lockfile before rerunning the audit.
diff --git a/apps/package.json b/apps/package.json
index 7887c7ed1..9faa91e1b 100644
--- a/apps/package.json
+++ b/apps/package.json
@@ -172,7 +172,7 @@
"gt-react": "^10.0.8",
"gtx-cli": "^2.6.24",
"hono": "^4.10.0",
- "http-proxy-middleware": "^4.2.0",
+ "http-proxy-middleware": "^4.2.2",
"ignore": "^7.0.0",
"ioredis": "^5.5.0",
"isomorphic-ws": "^5.0.0",
@@ -233,7 +233,7 @@
"tailwind-merge": "^3.4.0",
"tailwind-scrollbar": "^4.0.2",
"tailwindcss-animate": "^1.0.7",
- "tar": "^7.5.22",
+ "tar": "^8.0.2",
"tar-stream": "^3.1.7",
"tldts": "7.0.30",
"tslib": "^2.8.1",
@@ -242,7 +242,7 @@
"uuid": "^14.0.1",
"vaul": "^1.1.2",
"vite-plugin-svgr": "^4.3.0",
- "ws": "^8.21.3",
+ "ws": "^8.23.0",
"xdg-basedir": "^5.1.0",
"xml2js": "^0.6.2",
"yaml": "^2.8.0",
@@ -353,7 +353,7 @@
"webpack-cli": "^5.1.4"
},
"resolutions": {
- "ws": "^8.21.3"
+ "ws": "^8.23.0"
},
"packageManager": "[email protected]",
"nx": {
diff --git a/apps/yarn.lock b/apps/yarn.lock
index d767a473f..86b9b7d60 100644
--- a/apps/yarn.lock
+++ b/apps/yarn.lock
@@ -17291,7 +17291,7 @@ __metadata:
gt-react: "npm:^10.0.8"
gtx-cli: "npm:^2.6.24"
hono: "npm:^4.10.0"
- http-proxy-middleware: "npm:^4.2.0"
+ http-proxy-middleware: "npm:^4.2.2"
husky: "npm:^9.1.7"
ignore: "npm:^7.0.0"
ioredis: "npm:^5.5.0"
@@ -17371,7 +17371,7 @@ __metadata:
tailwind-scrollbar: "npm:^4.0.2"
tailwindcss: "npm:3.4.3"
tailwindcss-animate: "npm:^1.0.7"
- tar: "npm:^7.5.22"
+ tar: "npm:^8.0.2"
tar-stream: "npm:^3.1.7"
tldts: "npm:7.0.30"
ts-jest: "npm:29.4.1"
@@ -17395,7 +17395,7 @@ __metadata:
vite-plugin-svgr: "npm:^4.3.0"
vitest: "npm:^4.1.8"
webpack-cli: "npm:^5.1.4"
- ws: "npm:^8.21.3"
+ ws: "npm:^8.23.0"
xdg-basedir: "npm:^5.1.0"
xml2js: "npm:^0.6.2"
yaml: "npm:^2.8.0"
@@ -24450,16 +24450,16 @@ __metadata:
languageName: node
linkType: hard
-"http-proxy-middleware@npm:^4.2.0":
- version: 4.2.0
- resolution: "http-proxy-middleware@npm:4.2.0"
+"http-proxy-middleware@npm:^4.2.2":
+ version: 4.2.2
+ resolution: "http-proxy-middleware@npm:4.2.2"
dependencies:
debug: "npm:^4.4.3"
- httpxy: "npm:^0.5.4"
+ httpxy: "npm:^0.5.6"
is-glob: "npm:^4.0.3"
is-plain-obj: "npm:^4.1.0"
micromatch: "npm:^4.0.8"
- checksum: 10c0/2e8cffa4ff39f3daa8e4c14a6ba5c227d882c29c9163f5e5a089c69f49245845a09697ed4f6858be7cb840c8bc1c8fa5df49406ed0f753fa84a96283b116dd0b
+ checksum: 10c0/184863919445103caa6e5202570d780350ebb17c7f3a9b9adf1d3fe11a319bb51ce61ecbb6ccafb67927e4af635ca4f8161f44eb4592462455ca60376302b1c1
languageName: node
linkType: hard
@@ -24569,10 +24569,10 @@ __metadata:
languageName: node
linkType: hard
-"httpxy@npm:^0.5.4":
- version: 0.5.5
- resolution: "httpxy@npm:0.5.5"
- checksum: 10c0/7be52cbfbd4157b4ac3aa22124d06081e8ffc50a185622e43c0ce8229bbcd7411d016f4a364fecb694325ed312823efbf51c70fa8049563a8b6b617642914cd3
+"httpxy@npm:^0.5.6":
+ version: 0.5.6
+ resolution: "httpxy@npm:0.5.6"
+ checksum: 10c0/595c5d9a65718e85d4e9852051beefd51dd9468f782d7e27c1db92d0d581b7b6abdd92765ee6e4a52c37804708cb52331110ff9a836afaf0d4039d953925f3ca
languageName: node
linkType: hard
@@ -37339,19 +37339,6 @@ __metadata:
languageName: node
linkType: hard
-"tar@npm:^7.5.22":
- version: 7.5.22
- resolution: "tar@npm:7.5.22"
- dependencies:
- "@isaacs/fs-minipass": "npm:^4.0.0"
- chownr: "npm:^3.0.0"
- minipass: "npm:^7.1.2"
- minizlib: "npm:^3.1.0"
- yallist: "npm:^5.0.0"
- checksum: 10c0/1311f6be85a8157ac4c9147bae43e13923d2a1aae15e4aa1bd5239e4e03d2cf53cfe103dde7f35832fbb4c938b042856bc8e9a0afd29abd05e2d1608788c4fea
- languageName: node
- linkType: hard
-
"tar@npm:^7.5.4":
version: 7.5.15
resolution: "tar@npm:7.5.15"
@@ -37365,6 +37352,13 @@ __metadata:
languageName: node
linkType: hard
+"tar@npm:^8.0.2":
+ version: 8.0.2
+ resolution: "tar@npm:8.0.2"
+ checksum: 10c0/fbdf2240bbcf40e8a04a33f5ce5a0de51265bebc09a6a9fdefe913cd0ed15b26d7144d94fb5f535d8b2f1ab6a122b492b197310f533a73c9d5e7aee040a33157
+ languageName: node
+ linkType: hard
+
"tcp-port-used@npm:^1.0.2":
version: 1.0.2
resolution: "tcp-port-used@npm:1.0.2"
@@ -40336,9 +40330,9 @@ __metadata:
languageName: node
linkType: hard
-"ws@npm:^8.21.3":
- version: 8.22.0
- resolution: "ws@npm:8.22.0"
+"ws@npm:^8.23.0":
+ version: 8.23.0
+ resolution: "ws@npm:8.23.0"
peerDependencies:
bufferutil: ^4.0.1
utf-8-validate: ">=5.0.2"
@@ -40347,7 +40341,7 @@ __metadata:
optional: true
utf-8-validate:
optional: true
- checksum: 10c0/7304d14ef38898dd366a528a85e2da389c4eebf30f4ce8a007bd2dce6025f9b619cefe44fe2354f0bad0ec541b1c9a4da06a3f3e046ab56f01fd52d5784ecfb2
+ checksum: 10c0/1de9b70701c03cdb1b22abd17a1488dc6d22b4dc36a8c32b173d955356ea3634e78aea8ec734a78201dbb34f5a402d9603df32ef267bd477228cd54ae158e2f8
languageName: node
linkType: hard