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.
Python agentic-aiai-securityalert-triageblue-teamcybersecuritydetection-engineeringincident-responselanggraphllm-agentsmcpmitre-attackmodel-context-protocolpurple-teamsecurity-operationsself-hostedsiemsoarsocthreat-detectionthreat-intelligence
fix(deps): connector-ts SDK on zod ^4.6.6 via zod/v3 compat (GHSA-mrhx-c7xc-m3w5) (#1560)
alexmateescudff53340f79a
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 0a7ad12d7..ca0a4e497 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -25,6 +25,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0### Security+- **Dependencies (archived prototype):** the historical connector-ts SDK under+ `plans/cyble-aisoc/` moves `zod` `^3.23.8` → `^4.6.6`+ ([GHSA-mrhx-c7xc-m3w5](https://github.com/advisories/GHSA-mrhx-c7xc-m3w5),+ high: memory exhaustion validating oversized constrained strings; the fix+ exists only on the 4.x line), importing through zod 4's `zod/v3`+ compatibility subpath so the v3 runtime semantics the SDK's introspection+ depends on are unchanged. Archived reference code, not the published+ `packages/sdk-ts` — but it is public code people copy from, and the+ advisory is real. Externally contributed.+- **Dependencies:** `decode-uri-component` 0.5.0 → 0.5.1 in the mobileapp's lockfile, resolving[GHSA-qr28-fpjm-wq7f](https://github.com/advisories/GHSA-qr28-fpjm-wq7f)diff --git a/plans/cyble-aisoc/platform/sdk/connector-ts/package.json b/plans/cyble-aisoc/platform/sdk/connector-ts/package.jsonindex 17da7070c..a3a65b4b5 100644--- a/plans/cyble-aisoc/platform/sdk/connector-ts/package.json+++ b/plans/cyble-aisoc/platform/sdk/connector-ts/package.json@@ -27,7 +27,7 @@"dependencies": {"ajv": "^8.17.1","chokidar": "^3.6.0",- "zod": "^3.23.8"+ "zod": "^4.6.6"},"devDependencies": {"@types/node": "^20.14.0",diff --git a/plans/cyble-aisoc/platform/sdk/connector-ts/src/_zodSchema.ts b/plans/cyble-aisoc/platform/sdk/connector-ts/src/_zodSchema.tsindex 2bd148d03..bc356d627 100644--- a/plans/cyble-aisoc/platform/sdk/connector-ts/src/_zodSchema.ts+++ b/plans/cyble-aisoc/platform/sdk/connector-ts/src/_zodSchema.ts@@ -16,7 +16,7 @@* ``{x-unsupported: <kind>}`` marker so the marketplace UI can show* a "schema not fully described" warning.*/-import type { ZodTypeAny } from 'zod';+import type { ZodTypeAny } from 'zod/v3';type JsonSchema = Record<string, unknown>;diff --git a/plans/cyble-aisoc/platform/sdk/connector-ts/src/dev.ts b/plans/cyble-aisoc/platform/sdk/connector-ts/src/dev.tsindex 861e3c944..475b52601 100644--- a/plans/cyble-aisoc/platform/sdk/connector-ts/src/dev.ts+++ b/plans/cyble-aisoc/platform/sdk/connector-ts/src/dev.ts@@ -45,7 +45,7 @@ import {manifestForConnector,RiskClass,} from './index.js';-import { z, type ZodTypeAny } from 'zod';+import { z, type ZodTypeAny } from 'zod/v3';interface DevState {def: ConnectorDefinition<ZodTypeAny> | null;diff --git a/plans/cyble-aisoc/platform/sdk/connector-ts/src/index.ts b/plans/cyble-aisoc/platform/sdk/connector-ts/src/index.tsindex 5df29bafe..22cdcdda4 100644--- a/plans/cyble-aisoc/platform/sdk/connector-ts/src/index.ts+++ b/plans/cyble-aisoc/platform/sdk/connector-ts/src/index.ts@@ -40,7 +40,7 @@* reach a connector handler.*/-import { z, type ZodTypeAny, type ZodType } from 'zod';+import { z, type ZodTypeAny, type ZodType } from 'zod/v3';// ─── Types ─────────────────────────────────────────────────────────