Repository navigation
AiSOC v20.3.0
Added
- The BYOK selector can ask a custom endpoint what it serves (#1543,
externally contributed by vito-bush).
POST /api/v1/llm/credentials/modelslists the chat-capable models an
OpenAI-compatible endpoint publishes atGET {base}/models, so the
customprovider's model no longer has to be a hand-typed id — closing
the gap the #1481 review named. Bounded (10 s whole-exchange deadline,
2 MB decoded cap, 500 models returned), redirects refused, the air-gap
and SSRF guards applied before anything is dialled, and the stored key
is sent only to the stored base URL — a form pointing at a changed URL
makes a keyless request. Discovery filters a dropdown; the Test button
stays the proof a model answers, and the typed id remains for endpoints
that publish no list. - Prompt bytes are capped at the egress chokepoint (#1554, externally
contributed by alexmateescu).
AISOC_LLM_MAX_PROMPT_BYTES(default 240,000) bounds every gateway
call inside the samesafe_*functions the LLM contract already owns:
oversized prompts are truncated by water-filling across the non-system
messages — largest contributors clipped to a fair share, the system
prompt preserved verbatim, every cut marked in the text — instead of
being rejected wholesale by the provider's own guard and retried
forever.
Changed
- Auto-triage's output ceiling moves 512 → 2,048 tokens (#1558,
externally contributed): verdicts carrying a long rationale were
clipped mid-JSON, forcing re-asks or the deterministic fallback. The
reliability harness'sMAX_TOKENSmoves with it — the parity test that
went red on the one-line bump is the drift guard doing its job — and
the published 44/50 → 50/50 figures stay true as statements about the
512-era run they measured; the next harness run grades 2,048. - The console's root URL now lands an operator on their console. On a
clean self-hosted install,/rendered the project's marketing landing
page — neither the dashboard nor the login page the operator was looking
for (reported in discussion #1549)./now redirects to/login, which
already routes onward: a first run lands on the setup wizard and a
signed-in session on/dashboard. The marketing page remains the root for
deployments that are the public project site, by setting
AISOC_MARKETING_HOMEin the running container (runtime outranks the
build-timeNEXT_PUBLIC_MARKETING_HOME, the same relationship
AISOC_DEMO_MODEhas to its build-time twin, becauseNEXT_PUBLIC_*is
frozen into a pulled image). The root route isforce-dynamicso the
answer comes from the container's environment on every request, and the
decision is pinned in both directions byapps/web/src/app/page.test.tsx.
Fixed
- Five GitHub detection rules could not fire and five more claused on
evidence the org audit log cannot carry (#1547, closing #1545; the
external report was substantially correct — measured before coding,
1 of 12 GitHub rules fired on real connector output). Four rules
expected an unprefixed event type the connector has never emitted; the
deploy-key rule matcheddeploy_key.create, an action that does not
exist in GitHub's vocabulary (deploy keys log aspublic_key.create,
now matched with a repo-qualifier and a negative fixture); wrong action
values were re-claused to GitHub's documented audit vocabulary
(repo.access,org./repo.register_self_hosted_runner); the windowed
deploy-key rule'sdistinct_bynamed a key the entries do not carry;
and two actions in the connector's severity list do not exist. Five
rules whose evidence the audit log cannot carry are quarantined with
recorded reasons; one (ip_is_internal) became real instead, derived
fromsrc_ip. A new CI gate replays every GitHub rule through the real
connector and real engine — it failed with 11 findings on the pre-fix
tree — and the executable count honestly moves 2,535 → 2,530 across
every pinned surface, including the technical guide (#1550). - A saved connector that had polled once answered 422 to every
test-connection (#1555, externally contributed): the route merged the
storedconnector_configverbatim into the constructor, and the first
recordedcheckpointbecame an unexpected keyword argument. The route
now strips scheduler-owned keys through the same_connector_kwargs
exclusion every other construction site uses — one set, so the next
scheduler-only key cannot drift past it — with a route-level regression
test that answers 422 on the pre-fix tree. - Fresh chatops deploys crash-looped (#1556, externally contributed):
teams-bot cross-loads slack-bot source at/slack-bot, which neither
its image nor compose provided —ModuleNotFoundErrorat startup.
Compose now mounts the sibling read-only. The published image still
cannot boot standalone outside this compose file; #1563 tracks the
vendored-copy fix that removes the mount. - Deterministic 400s from the inference gateway are terminal for the
fused-alert consumer (#1554): a request rejected as invalid is
rejected because of its bytes, so replaying identical bytes burned
retries and pinned the inference machine for every other alert — a
live-observed retry storm. Such failures now dead-letter on first
sight under their owntriage-terminalstage, while transient errors
keep their full retry ladder (both directions tested). - Playbook agent-event delivery dialled a dead port on every compose
deployment (#1557, externally contributed): the agents service never
receivedREALTIME_URL, and its code default namesrealtime:3001—
a port the realtime service has never served (compose runs it on
4000). Compose now passesREALTIME_URLand
AISOC_INVESTIGATION_MAX_SECONDSthrough, so.envtuning of the
investigation wall-clock budget stops being inert; #1564 tracks the
code-default correction. - The technical guide moved to v1.1 (#1546): the Windows section told
operators to runinstall.ps1from an elevated PowerShell, which the
installer's own help contradicts; counted figures re-derived; the
model-discovery feature documented with its credential scoping.
Security
-
Dependencies (archived prototype): the historical connector-ts SDK under
plans/cyble-aisoc/moveszod^3.23.8→^4.6.6
(GHSA-mrhx-c7xc-m3w5,
high: memory exhaustion validating oversized constrained strings; the fix
exists only on the 4.x line), importing through zod 4'szod/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-component0.5.0 → 0.5.1 in the mobile
app's lockfile, resolving
GHSA-qr28-fpjm-wq7f
(CVE-2026-118664, high: denial of service on a crafted URI component).
The mobilepackage.jsonalready carried a^0.5.0override from an
earlier advisory; the floor moves to the patched release. Published
upstream aftermain's last audit pass, so every open pull request was
red onsecurity-auditandTrivy filesystemthrough no change of its
own — this lands at the source instead of being suppressed per branch. -
Dependencies:
@hono/node-server1.19.17 → 2.1.5 across the pnpm
workspace, resolving
GHSA-rmxm-3fg6-px4f
(CVE-2026-118663, medium):serveStaticdecoded the request path a
second time, letting an encoded path bypass middleware guarding static
routes. The only dependent is@modelcontextprotocol/sdk(used by
services/mcp), which declares^1.19.9 || ^2.0.5, so the patched
major is inside the SDK's own supported range; no first-party code
callsserveStatic. Shipped by moving the existingpnpm.overrides
floor from>=1.19.15 <2to>=2.1.3 <3(Dependabot alert #226).