Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

fix(deps): security floors — mcp>=1.28.1, declare json-repair, document the win-ARM64 cryptography exposure

Ruben Lütke62cacb6fc8ec
diff --git a/pyproject.toml b/pyproject.toml
index 2dd82fba89..2ce31bd3a1 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -15,6 +15,10 @@ dependencies = [
"anthropic>=0.96",
"openai>=1.30", # 1.30+ is the minimum version required for stream_options (June 2024)
"google-genai>=1.0",
+ # Lazy-imported by jarvis/brain/structured_output_parser.py to recover
+ # malformed vision JSON; without it the repair path silently degrades on
+ # every fresh install (found 2026-07-18, was never declared).
+ "json-repair>=0.30",
# cryptography 49 stopped publishing Windows ARM64 and Intel macOS wheels.
# Keep MCP/JWT and Google auth binary-installable on those targets with the
# newest tested releases that still publish the required architecture.
@@ -109,7 +113,11 @@ dependencies = [
"aiofiles>=24.1",
"aiolimiter>=1.1",
"tenacity>=9.0",
- "mcp>=1.0",
+ # Floor 1.28.1: three high-severity advisories in the MCP SDK's HTTP/WS
+ # transports (missing Host/Origin validation, unverified session
+ # principal, cross-client task access) are fixed there — never resolve
+ # lower (Dependabot #48-#51).
+ "mcp>=1.28.1",
"rich>=13.9",
# jarvisctl control CLI (jarvis/cli_ctl/): Typer command surface + platformdirs
# for cross-platform per-user config/cache dirs. Pure-Python, VPS-safe.
diff --git a/requirements.in b/requirements.in
index 50831bbafa..94f0fc0d36 100644
--- a/requirements.in
+++ b/requirements.in
@@ -22,8 +22,17 @@
anthropic>=0.96
openai>=1.30
google-genai>=1.0
+# Lazy-imported by jarvis/brain/structured_output_parser.py to recover
+# malformed vision JSON; without it the repair path silently degrades on
+# every fresh install (found 2026-07-18, was never declared).
+json-repair>=0.30
# Keep transitive auth/JWT crypto wheel-installable where the newest release
-# stopped publishing the architecture.
+# stopped publishing the architecture. KNOWN, ACCEPTED EXPOSURE: no
+# cryptography release after 46.0.3 publishes a Windows-ARM64 wheel, so that
+# one target stays on 46.0.3 and remains affected by the advisories fixed in
+# 46.0.5-48.0.1 (Dependabot #44-#47) — installability wins over an unfixable
+# pin; every other platform resolves 48.0.1/49.0.0 (clean). Re-check the
+# wheel matrix on each bump and lift the pin the moment win_arm64 returns.
cryptography==46.0.3; sys_platform == 'win32' and platform_machine == 'ARM64'
cryptography==48.0.1; sys_platform == 'darwin' and platform_machine == 'x86_64'
@@ -112,7 +121,11 @@ tenacity>=9.0
ddgs==9.14.3
# MCP (Model Context Protocol)
-mcp>=1.0
+# Floor 1.28.1: three high-severity advisories in the MCP SDK's HTTP/WS
+# transports (missing Host/Origin validation, unverified session principal,
+# cross-client task access) are fixed there — never resolve lower
+# (Dependabot #48-#51).
+mcp>=1.28.1
# CLI (setup wizard + jarvisctl control CLI)
rich>=13.9
diff --git a/requirements.txt b/requirements.txt
index 947c58e717..b3324e23ea 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -739,6 +739,10 @@ joblib==1.5.3 ; (python_full_version < '3.14' and platform_machine == 'arm64' an
--hash=sha256:5fc3c5039fc5ca8c0276333a188bbd59d6b7ab37fe6632daa76bc7f9ec18e713 \
--hash=sha256:8561a3269e6801106863fd0d6d84bb737be9e7631e33aaed3fb9ce5953688da3
# via scikit-learn
+json-repair==0.61.5 \
+ --hash=sha256:766a712a05b5a2673212ca0df0e27e6dbb446c9b59ab837613a369304b222886 \
+ --hash=sha256:965cc39a7cddc84aad0a1b00a4ce44906cf14893bd0e3890a386d28ca21dd0f0
+ # via -r requirements.in
jsonschema==4.26.0 \
--hash=sha256:0c26707e2efad8aa1bfc5b7ce170f3fccc2e4918ff85989ba9ffa9facb2be326 \
--hash=sha256:d489f15263b8d200f8387e64b4c3a75f06629559fb73deb8fdfb525f2dab50ce
diff --git a/uv.lock b/uv.lock
index 08f5fd691b..569f49fd01 100644
--- a/uv.lock
+++ b/uv.lock
@@ -1526,6 +1526,15 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/7b/91/984aca2ec129e2757d1e4e3c81c3fcda9d0f85b74670a094cc443d9ee949/joblib-1.5.3-py3-none-any.whl", hash = "sha256:5fc3c5039fc5ca8c0276333a188bbd59d6b7ab37fe6632daa76bc7f9ec18e713", size = 309071, upload-time = "2025-12-15T08:41:44.973Z" },
]
+[[package]]
+name = "json-repair"
+version = "0.61.5"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/b3/43/189737dfa70d1f455fb26770935437f36645725e8cd54f5fff3e9fa2014f/json_repair-0.61.5.tar.gz", hash = "sha256:965cc39a7cddc84aad0a1b00a4ce44906cf14893bd0e3890a386d28ca21dd0f0", size = 51190, upload-time = "2026-07-15T18:59:50.262Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/79/c9/d87adfa561f3de18631214a0d29d1414bb1dba7caaf1d025ea5fe892097c/json_repair-0.61.5-py3-none-any.whl", hash = "sha256:766a712a05b5a2673212ca0df0e27e6dbb446c9b59ab837613a369304b222886", size = 49720, upload-time = "2026-07-15T18:59:48.899Z" },
+]
+
[[package]]
name = "jsonschema"
version = "4.26.0"
@@ -1877,7 +1886,7 @@ wheels = [
[[package]]
name = "mcp"
-version = "1.28.0"
+version = "1.28.1"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "anyio" },
@@ -1895,9 +1904,9 @@ dependencies = [
{ name = "typing-inspection" },
{ name = "uvicorn", marker = "sys_platform != 'emscripten'" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/c1/ee/94c6c50ffc5b5cf4737052275d11b57367f32d1a8516e31dcd60591b3916/mcp-1.28.0.tar.gz", hash = "sha256:559d3f9943674cafbe5744c5d3794f3237e8b47f9bbc58e20c0fad680d8487c2", size = 636040, upload-time = "2026-06-16T21:37:17.996Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/6e/77/9450b8f251a13affb6281997d0523c4615f8a8b35d0b21ff30db3a5aac9d/mcp-1.28.1.tar.gz", hash = "sha256:d51e36a5f5644faea4f85ea649bfffa6bc6c26770d42798ad6a3de3d2ba69683", size = 638501, upload-time = "2026-06-26T12:57:29.093Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/2e/e1/4c1dc1fbb688641a712d34650c3d58bbbdcb314ddb75bc5817bbf33515a4/mcp-1.28.0-py3-none-any.whl", hash = "sha256:9c1e7cf3a9125557e418ecd4fed8e9adddce81b0dfdae4d6601d700f5beb71a4", size = 221959, upload-time = "2026-06-16T21:37:16.579Z" },
+ { url = "https://files.pythonhosted.org/packages/e2/5e/d118fce19f87a2e7d8101c35c8ae0ec289098a4df0ff244cec23e415aca0/mcp-1.28.1-py3-none-any.whl", hash = "sha256:2726bca5e7193f61c5dde8b12500a6de2d9acf6d1a1c0be9e8c2e706437991df", size = 222620, upload-time = "2026-06-26T12:57:27.218Z" },
]
[[package]]
@@ -2503,6 +2512,7 @@ dependencies = [
{ name = "google-genai" },
{ name = "httpx" },
{ name = "jinja2" },
+ { name = "json-repair" },
{ name = "keyring" },
{ name = "loguru" },
{ name = "markdown" },
@@ -2659,10 +2669,11 @@ requires-dist = [
{ name = "google-genai", specifier = ">=1.0" },
{ name = "httpx", specifier = ">=0.27" },
{ name = "jinja2", specifier = ">=3.1" },
+ { name = "json-repair", specifier = ">=0.30" },
{ name = "keyring", specifier = ">=25.5" },
{ name = "loguru", specifier = ">=0.7" },
{ name = "markdown", specifier = ">=3.5" },
- { name = "mcp", specifier = ">=1.0" },
+ { name = "mcp", specifier = ">=1.28.1" },
{ name = "mss", marker = "extra == 'desktop'", specifier = ">=10.0" },
{ name = "mypy", marker = "extra == 'dev'", specifier = ">=1.13" },
{ name = "num2words", specifier = ">=0.5.13" },