Skip to content

armgit / AiSOC

Public Imported from GitHub
0

Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.

fix(deps,tests): clear the critical agents advisory and a CodeQL note (#691)

Beenu Aroraf3a36f80399c
diff --git a/services/agents/poetry.lock b/services/agents/poetry.lock
index 297f5e13b..c4c17707f 100644
--- a/services/agents/poetry.lock
+++ b/services/agents/poetry.lock
@@ -249,19 +249,19 @@ files = [
[[package]]
name = "anyio"
-version = "4.14.1"
+version = "4.15.1"
description = "High-level concurrency and networking framework on top of asyncio or Trio"
optional = false
python-versions = ">=3.10"
groups = ["main", "dev"]
files = [
- {file = "anyio-4.14.1-py3-none-any.whl", hash = "sha256:4e5533c5b8ff0a24f5d7a176cbe6877129cd183893f66b537f8f227d10527d72"},
- {file = "anyio-4.14.1.tar.gz", hash = "sha256:8d648a3544c1a700e3ff78615cd679e4c5c3f149904287e73687b2596963629e"},
+ {file = "anyio-4.15.1-py3-none-any.whl", hash = "sha256:6152fdbbf9a77fdec97731721bebf7c4c44f7c29b424b0065826173efc7ed101"},
+ {file = "anyio-4.15.1.tar.gz", hash = "sha256:9f28306018cbd6d329e64a36d58256edff76dd996fe423bc957326e578b82a94"},
]
[package.dependencies]
idna = ">=2.8"
-typing_extensions = {version = ">=4.5", markers = "python_version < \"3.13\""}
+typing_extensions = {version = ">=4.16.0", markers = "python_version < \"3.15\""}
[package.extras]
trio = ["trio (>=0.32.0)"]
@@ -4763,16 +4763,16 @@ shellingham = ">=1.3.0"
[[package]]
name = "typing-extensions"
-version = "4.15.0"
+version = "4.16.0"
description = "Backported and Experimental Type Hints for Python 3.9+"
optional = false
python-versions = ">=3.9"
groups = ["main", "dev"]
files = [
- {file = "typing_extensions-4.15.0-py3-none-any.whl", hash = "sha256:f0fa19c6845758ab08074a0cfa8b7aecb71c999ca73d62883bc25cc018c4e548"},
- {file = "typing_extensions-4.15.0.tar.gz", hash = "sha256:0cea48d173cc12fa28ecabc3b837ea3cf6f38c6d1136f85cbaaf598984861466"},
+ {file = "typing_extensions-4.16.0-py3-none-any.whl", hash = "sha256:481caa481374e813c1b176ada14e97f1f67a4539ce9cfeb3f350d78d6370c2e8"},
+ {file = "typing_extensions-4.16.0.tar.gz", hash = "sha256:dc983d19a509c94dba722ee6abd33940f7c05a89e243c47e907eb4db6f1a43e5"},
]
-markers = {dev = "python_version < \"3.13\""}
+markers = {dev = "python_version < \"3.15\""}
[[package]]
name = "typing-inspect"
@@ -5170,14 +5170,14 @@ anyio = ">=3.0.0"
[[package]]
name = "weasyprint"
-version = "69.0"
+version = "70.0"
description = "The Awesome Document Factory"
optional = true
python-versions = ">=3.10"
groups = ["main"]
files = [
- {file = "weasyprint-69.0-py3-none-any.whl", hash = "sha256:475951cfd917014de6d4d005caff48c6aa867e7e42b80cd5b16a0484a1609ee6"},
- {file = "weasyprint-69.0.tar.gz", hash = "sha256:a7a32f39ca16bd82ef11de99c92ea4b5f14951c9033af035e451ce4f4ee0a88c"},
+ {file = "weasyprint-70.0-py3-none-any.whl", hash = "sha256:5043e55e38d2a2af2b2b871e869697b1f65dad5f8b4a3677961d04ceacf9c5fe"},
+ {file = "weasyprint-70.0.tar.gz", hash = "sha256:c263abf0e86c747b12af678b67f85f4abbfb97d18a20503031e7ba94e4b8cf8c"},
]
[package.dependencies]
@@ -5861,4 +5861,4 @@ cffi = ["cffi (>=1.17,<2.0) ; platform_python_implementation != \"PyPy\" and pyt
[metadata]
lock-version = "2.1"
python-versions = "^3.11"
-content-hash = "c783a2a4a6e77c9752d26b686677ce3cfe15901b936cea48339e32709b0323cc"
+content-hash = "c195f7a5b3f8e86cf9c6a202bcf31d0f30730a596f00bf61685d70399a4a8b33"
diff --git a/services/agents/pyproject.toml b/services/agents/pyproject.toml
index 90e9829c0..8dbd094d9 100644
--- a/services/agents/pyproject.toml
+++ b/services/agents/pyproject.toml
@@ -28,7 +28,8 @@ python-dateutil = "^2.8.2"
aiokafka = ">=0.10,<0.15"
qdrant-client = {extras = ["fastembed"], version = "^1.9.0"}
markdown = "^3.5"
-weasyprint = {version = ">=62,<70", optional = true}
+# `<70` held this at 69.0, which carries PYSEC-2026-3940 (fixed in 70.0).
+weasyprint = {version = ">=62,<71", optional = true}
opentelemetry-sdk = "^1.24.0"
opentelemetry-instrumentation-fastapi = "^0.45b0"
opentelemetry-instrumentation-httpx = "^0.45b0"
diff --git a/services/api/tests/test_triage_quality_metrics.py b/services/api/tests/test_triage_quality_metrics.py
index 98bc30bca..c61b9cf3f 100644
--- a/services/api/tests/test_triage_quality_metrics.py
+++ b/services/api/tests/test_triage_quality_metrics.py
@@ -53,7 +53,8 @@ class _DB:
row = self._row
class _Result:
- def first(self_inner): # noqa: N805
+ @staticmethod
+ def first():
return row
return _Result()