Skip to content

The open source AI video agent: turns any coding agent into a video agent, with an editor to change anything it makes.

Desktop: dependency security fixes (Electron 44.9.3 and the agents' libraries) (#274)

riverisbuildinga99d8157f35e
diff --git a/.changeset/dependency-security.md b/.changeset/dependency-security.md
new file mode 100644
index 0000000..0c12329
--- /dev/null
+++ b/.changeset/dependency-security.md
@@ -0,0 +1,5 @@
+---
+"@openfilm/desktop": patch
+---
+
+The desktop app takes the security fixes in its dependencies: Electron 44.9.3, and the patched versions of the libraries the agents' connections use (undici, body-parser, ip-address, fast-uri and zod).
diff --git a/package.json b/package.json
index fccc861..074b554 100644
--- a/package.json
+++ b/package.json
@@ -23,5 +23,11 @@
"devDependencies": {
"@changesets/changelog-github": "0.5.2",
"@changesets/cli": "2.31.1"
+ },
+ "pnpm": {
+ "overrides": {
+ "zod@>=4 <4.6.6": "^4.6.6",
+ "undici@>=8 <8.12.2": "^8.12.2"
+ }
}
}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 9056147..4c15044 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -4,6 +4,10 @@ settings:
autoInstallPeers: true
excludeLinksFromLockfile: false
+overrides:
+ zod@>=4 <4.6.6: ^4.6.6
+ undici@>=8 <8.12.2: ^8.12.2
+
importers:
.:
@@ -19,19 +23,19 @@ importers:
dependencies:
'@agentclientprotocol/claude-agent-acp':
specifier: ^0.81.2
- version: 0.81.2(@anthropic-ai/[email protected]([email protected]))(@modelcontextprotocol/[email protected]([email protected]))
+ version: 0.81.2(@anthropic-ai/[email protected]([email protected]))(@modelcontextprotocol/[email protected]([email protected]))
'@agentclientprotocol/codex-acp':
specifier: ^1.13.1
version: 1.13.1
'@agentclientprotocol/sdk':
specifier: 1.5.0
- version: 1.5.0([email protected])
+ version: 1.5.0([email protected])
'@earendil-works/pi-codemode':
specifier: 1.1.0
version: 1.1.0
'@earendil-works/pi-coding-agent':
specifier: 1.1.0
diff:
specifier: 9.0.0
version: 9.0.0
@@ -68,7 +72,7 @@ importers:
electron:
specifier: ^44.4.0
- version: 44.7.0
+ version: 44.9.3
electron-builder:
specifier: 26.15.3
version: 26.15.3([email protected])
@@ -182,7 +186,7 @@ packages:
'@agentclientprotocol/[email protected]':
resolution: {integrity: sha512-524jwbB2iYWA+kWWyv9fhKbhU89dH/lu9u5EXwVNmfYzopV8BujCDxByBDZhxRUkB7RWIJzISCnwivdDk+bdVg==}
peerDependencies:
- zod: ^3.25.0 || ^4.0.0
+ zod: ^4.6.6
'@anthropic-ai/[email protected]':
resolution: {integrity: sha512-Yws14X5g5hgDtF565Tld/+dILAhH9QZpundjKMyO3dFasq9miXZlhU0NwXqwTO2xP0jDjJ54zduIiJwkcfcvGw==}
@@ -230,13 +234,13 @@ packages:
peerDependencies:
'@anthropic-ai/sdk': '>=0.93.0'
'@modelcontextprotocol/sdk': ^1.29.0
- zod: ^4.0.0
+ zod: ^4.6.6
'@anthropic-ai/[email protected]':
resolution: {integrity: sha512-MH7LB20kNpGLUpPTe2OG5XvL/KhX8HUO9XyBaFjgFk6TLS4Xjt0VPIuMKywe7POKKPslX+QxSlVok9e+8kG5Nw==}
hasBin: true
peerDependencies:
- zod: ^3.25.0 || ^4.0.0
+ zod: ^4.6.6
peerDependenciesMeta:
zod:
optional: true
@@ -982,7 +986,7 @@ packages:
engines: {node: '>=18'}
peerDependencies:
'@cfworker/json-schema': ^4.1.1
- zod: ^3.25 || ^4.0
+ zod: ^4.6.6
peerDependenciesMeta:
'@cfworker/json-schema':
optional: true
@@ -1832,8 +1836,8 @@ packages:
resolution: {integrity: sha512-bO3y10YikuUwUuDUQRM4KfwNkKhnpVO7IPdbsrejwN9/AABJzzTQ4GeHwyzNSrVO+tEH3/Np255a3sVZpZDjvg==}
engines: {node: '>=8.0.0'}
- resolution: {integrity: sha512-aUq9/zLAAFYc+a9gy6cd0C3Y/N/RmovLCD8TV8LhIzNhuND6HEgsu96jJz9cbAxvckSPv+Trf2PKEjktoZgFkw==}
+ resolution: {integrity: sha512-Cv9/yMnZxNWsMlIe8T4v//NKHdUvbeyoTJoXE3BIcRxus2meeFaO9h/P3zB5d4cBXum51IgAYrT2QjpIDWKpJA==}
engines: {node: '>= 22.12.0'}
hasBin: true
@@ -1947,8 +1951,8 @@ packages:
resolution: {integrity: sha512-n11RGP/lrWEFI/bWdygLxhI+pVeo1ZYIVwvvPkW7azl/rOy+F3HYRZ2K5zeE9mmkhQppyv9sQFx0JM9UabnpPQ==}
- resolution: {integrity: sha512-GZMtZUTNRpOVIECoXwLNZS5xUGE+mVNbTB8h/7Rwh2TFWcBQiPzTgyZi05BF9UMZKkLJv8XBRJTlU7zg8+ZfMg==}
+ resolution: {integrity: sha512-hS/0Wt3Ya043oKXs0sIxrMpKQITXhMLIrVAKKXi4gozGC9v7YRWVnXIZzjNPTO02M9BdxLCWqK1yRXgNziVyJQ==}
resolution: {integrity: sha512-XKv5nnLs6nLF71NgiKJLIZFLkPyIEuOselLG7ujZnGrRfQK8HpvY+WqKhAJUAdLomwVHErVS4LfxFlPq0/FTAw==}
@@ -2648,9 +2652,9 @@ packages:
'@aws-sdk/credential-provider-node': '>=3.972.0 <4'
'@smithy/hash-node': '>=4.3.0 <5'
'@smithy/signature-v4': '>=5.4.0 <6'
- undici: '>=5 <9'
+ undici: ^8.12.2
ws: ^8.21.0
- zod: ^3.25 || ^4.0
+ zod: ^4.6.6
peerDependenciesMeta:
'@aws-sdk/credential-provider-node':
optional: true
@@ -3189,10 +3193,6 @@ packages:
resolution: {integrity: sha512-03KrMbjIFDWQR5RNPrSw3bd1r12JpyFQl9/yxjUbJtqkjmllqC5lFjZh6ujeuJCKr8EOQvRW872Oy/az+nLYxg==}
engines: {node: '>=20.18.1'}
- resolution: {integrity: sha512-/y4/bH9YNU5hi9NIrpOuvGXFcxrj3CMrV+/AYpowAYTpHn8gX/XPFjNy766FPoYY0miQhdW977JFWKGNhBdwyQ==}
- engines: {node: '>=22.19.0'}
-
resolution: {integrity: sha512-XtuDWVdqTLr3NAxm2ly9/hU6kUsJOgGh1RASzMBbsw6aWCOaQzHdW+QQDfdERjfJ2V5vL5pRPa4RetO9UfivDg==}
engines: {node: '>=22.19.0'}
@@ -3365,10 +3365,7 @@ packages:
resolution: {integrity: sha512-O/PgfnpT1xKSDeQYSCfRI5Gy3hPf91mKVDuYLUHZJMiDFptvP41MSnWofm8dnCm0256ZNfZIM7DSzuSMAFnjHA==}
peerDependencies:
- zod: ^3.25.28 || ^4
-
- resolution: {integrity: sha512-v5l/aFXZQeai4awLbOpSoHecE9UiMrnfx75tEXLjNonXVARxQ5mOeipTjROUchszUNCqnE+hqAMujRsRHsut2Q==}
+ zod: ^4.6.6
resolution: {integrity: sha512-4UmzQUF5fxvfcYHlbjBmejU+w+hbDnWFx4aS8kBx7nPBHcO2SqPbpAG8snbdg+Xse4pRefR98hgjFgIMCI/UhA==}
@@ -3393,27 +3390,27 @@ packages:
snapshots:
- '@agentclientprotocol/[email protected](@anthropic-ai/[email protected]([email protected]))(@modelcontextprotocol/[email protected]([email protected]))':
+ '@agentclientprotocol/[email protected](@anthropic-ai/[email protected]([email protected]))(@modelcontextprotocol/[email protected]([email protected]))':
dependencies:
- '@agentclientprotocol/sdk': 1.5.0([email protected])
- '@anthropic-ai/claude-agent-sdk': 0.3.280(@anthropic-ai/[email protected]([email protected]))(@modelcontextprotocol/[email protected]([email protected]))([email protected])
- zod: 4.6.5
+ '@agentclientprotocol/sdk': 1.5.0([email protected])
+ '@anthropic-ai/claude-agent-sdk': 0.3.280(@anthropic-ai/[email protected]([email protected]))(@modelcontextprotocol/[email protected]([email protected]))([email protected])
+ zod: 4.6.6
transitivePeerDependencies:
- '@anthropic-ai/sdk'
- '@modelcontextprotocol/sdk'
'@agentclientprotocol/[email protected]':
dependencies:
- '@agentclientprotocol/sdk': 1.5.0([email protected])
+ '@agentclientprotocol/sdk': 1.5.0([email protected])
'@openai/codex': 0.156.1
diff: 9.0.0
open: 11.0.4
vscode-jsonrpc: 9.0.3
- zod: 4.6.5
+ zod: 4.6.6
- '@agentclientprotocol/[email protected]([email protected])':
+ '@agentclientprotocol/[email protected]([email protected])':
dependencies:
- zod: 4.6.5
+ zod: 4.6.6
'@anthropic-ai/[email protected]':
optional: true
@@ -3439,11 +3436,11 @@ snapshots:
'@anthropic-ai/[email protected]':
optional: true
dependencies:
- '@anthropic-ai/sdk': 0.129.0([email protected])
- '@modelcontextprotocol/sdk': 1.32.1([email protected])
- zod: 4.6.5
+ '@anthropic-ai/sdk': 0.129.0([email protected])
+ '@modelcontextprotocol/sdk': 1.32.1([email protected])
+ zod: 4.6.6
optionalDependencies:
'@anthropic-ai/claude-agent-sdk-darwin-arm64': 0.3.280
'@anthropic-ai/claude-agent-sdk-darwin-x64': 0.3.280
@@ -3454,12 +3451,12 @@ snapshots:
'@anthropic-ai/claude-agent-sdk-win32-arm64': 0.3.280
'@anthropic-ai/claude-agent-sdk-win32-x64': 0.3.280
dependencies:
json-schema-to-ts: 3.1.1
standardwebhooks: 1.1.1
optionalDependencies:
- zod: 4.6.5
+ zod: 4.6.6
'@aws-sdk/[email protected]':
dependencies:
@@ -3919,9 +3916,9 @@ snapshots:
dependencies:
esbuild: 0.28.2
dependencies:
- '@earendil-works/pi-ai': 1.1.0(@aws-sdk/[email protected])(@modelcontextprotocol/[email protected]([email protected]))(@smithy/[email protected])([email protected])([email protected])([email protected])
+ '@earendil-works/pi-ai': 1.1.0(@aws-sdk/[email protected])(@modelcontextprotocol/[email protected]([email protected]))(@smithy/[email protected])([email protected])([email protected])([email protected])
typebox: 1.3.27
transitivePeerDependencies:
- '@aws-sdk/credential-provider-node'
@@ -3936,16 +3933,16 @@ snapshots:
- ws
- zod
dependencies:
- '@anthropic-ai/sdk': 0.129.0([email protected])
+ '@anthropic-ai/sdk': 0.129.0([email protected])
'@aws-sdk/client-bedrock-runtime': 3.1127.0
'@earendil-works/pi-telemetry': 1.1.0
- '@google/genai': 2.21.0(@modelcontextprotocol/[email protected]([email protected]))
+ '@google/genai': 2.21.0(@modelcontextprotocol/[email protected]([email protected]))
'@smithy/node-http-handler': 4.12.1
http-proxy-agent: 9.1.0
https-proxy-agent: 9.1.0
partial-json: 0.1.7
typebox: 1.3.27
transitivePeerDependencies:
@@ -3965,11 +3962,11 @@ snapshots:
dependencies:
quickjs-wasi: 3.6.2
dependencies:
'@earendil-works/chord': 1.1.0
- '@earendil-works/pi-agent-core': 1.1.0(@aws-sdk/[email protected])(@modelcontextprotocol/[email protected]([email protected]))(@smithy/[email protected])([email protected])([email protected])([email protected])
- '@earendil-works/pi-ai': 1.1.0(@aws-sdk/[email protected])(@modelcontextprotocol/[email protected]([email protected]))(@smithy/[email protected])([email protected])([email protected])([email protected])
+ '@earendil-works/pi-agent-core': 1.1.0(@aws-sdk/[email protected])(@modelcontextprotocol/[email protected]([email protected]))(@smithy/[email protected])([email protected])([email protected])([email protected])
+ '@earendil-works/pi-ai': 1.1.0(@aws-sdk/[email protected])(@modelcontextprotocol/[email protected]([email protected]))(@smithy/[email protected])([email protected])([email protected])([email protected])
'@earendil-works/pi-codemode': 1.1.0
'@earendil-works/pi-mcp': 1.1.0
'@earendil-works/pi-tui': 1.1.0
@@ -3988,7 +3985,7 @@ snapshots:
quickjs-wasi: 3.6.2
semver: 7.8.5
typebox: 1.3.27
- undici: 8.10.2
+ undici: 8.12.2
yaml: 2.9.0
transitivePeerDependencies:
- '@aws-sdk/credential-provider-node'
@@ -4212,14 +4209,14 @@ snapshots:
'@fontsource-variable/[email protected]': {}
- '@google/[email protected](@modelcontextprotocol/[email protected]([email protected]))':
+ '@google/[email protected](@modelcontextprotocol/[email protected]([email protected]))':
dependencies:
google-auth-library: 10.9.1
p-retry: 4.6.2
protobufjs: 7.6.6
ws: 8.22.0
optionalDependencies:
- '@modelcontextprotocol/sdk': 1.32.1([email protected])
+ '@modelcontextprotocol/sdk': 1.32.1([email protected])
transitivePeerDependencies:
- bufferutil
- supports-color
@@ -4518,7 +4515,7 @@ snapshots:
globby: 11.1.0
read-yaml-file: 1.1.0
- '@modelcontextprotocol/[email protected]([email protected])':
+ '@modelcontextprotocol/[email protected]([email protected])':
dependencies:
'@hono/node-server': 2.1.5([email protected])
ajv: 8.20.0
@@ -4535,8 +4532,8 @@ snapshots:
json-schema-typed: 8.0.2
pkce-challenge: 5.0.1
raw-body: 3.0.2
- zod: 4.6.5
- zod-to-json-schema: 3.25.2([email protected])
+ zod: 4.6.6
+ zod-to-json-schema: 3.25.2([email protected])
transitivePeerDependencies:
- supports-color
@@ -4941,7 +4938,7 @@ snapshots:
dependencies:
fast-deep-equal: 3.1.3
- fast-uri: 3.1.8
+ fast-uri: 3.1.9
json-schema-traverse: 1.0.0
require-from-string: 2.0.2
@@ -5388,7 +5385,7 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
'@electron-internal/extract-zip': 1.0.5
'@electron/get': 5.1.0
@@ -5543,7 +5540,7 @@ snapshots:
dependencies:
@@ -6206,13 +6203,13 @@ snapshots:
powershell-utils: 0.2.1
wsl-utils: 1.0.1
optionalDependencies:
'@aws-sdk/credential-provider-node': 3.972.84
'@smithy/signature-v4': 5.7.4
- undici: 8.10.2
+ undici: 8.12.2
ws: 8.22.0
- zod: 4.6.5
+ zod: 4.6.6
@@ -6740,8 +6737,6 @@ snapshots:
optional: true
-
@@ -6878,11 +6873,9 @@ snapshots:
dependencies:
- zod: 4.6.5
-
+ zod: 4.6.6