Skip to content

AiSOC v24.1.0

Latest

Choose a tag to compare

@github-actions github-actions released this 02 Dec 18:27
· 2 commits to main since this release
73dc812

Added

  • The console caught up to its own marketing page (the world-class UI
    program, phases 0–4 in one pass). One motion vocabulary
    (apps/web/src/lib/motion.ts: duration/easing/spring tokens, shared
    variants, and a collapseToOpacity() reduced-motion projection asserted
    in CI so no variant can ship movement to someone who opted out), one
    ambient tier (aurora wash + blueprint grid + a tokenized glow scale +
    surface.glass, all plain CSS), and one density primitive
    (VirtualDataTable in packages/ui: sticky header, density toggle,
    J/K/arrow keyboard rows, truthful aria-rowcount over the virtual
    window, and a static capped fallback wherever no layout exists — SSR
    and jsdom get real rows, not an empty viewport). The dashboard's
    top-metrics widget became a bento grid whose hero tile carries the real
    alert-volume sparkline and a beam sweep; numerals tick honest-first
    (the measured value renders immediately; the count-up is an in-view
    enhancement — the marketing ticker's zero-up theater failed the
    dashboard honesty suite, which is exactly what that suite is for). The
    alerts queue virtualizes its 100/200-row pages, pulses severity dots
    only for rows that arrived or escalated since the last refresh, and
    walks by keyboard with the Investigation Rail following; the rail sits
    on glass with a spring entrance and a time-axis brush over its
    mini-timeline; the attack graph keeps one cytoscape instance across
    refreshes (fcose glides the topology instead of resetting pan/zoom) and
    derives critical-path glow from the response's own risk scores. A ?
    overlay documents exactly the shortcuts that exist; the command palette
    gained per-page actions that dispatch events views really listen on.
    Long-tail surfaces (FIM events — previously a light-themed table inside
    a dark product — EASM, the MSSP portfolio, shifts, the responder
    shell's chrome) adopted the shared primitives; Cost, the SLA KPI bar
    and UsersView deliberately did not, each for a recorded reason. Seven
    new Storybook stories freeze the flagship surfaces into the visual
    regression gate (whose clock is now faked — relative timestamps were
    one more animation to freeze), axe extends over every new surface, and
    a new hermetic journey drives the bento, the ? overlay, J/K-with-rail
    and the portfolio grid in a real browser.

Fixed

  • Every scheduled SIEM content sweep died before reaching the database
    (reported by @alexmateescu in #2158): the worker's connector query named
    Connector.enabled while the model declares is_enabled, so SQLAlchemy
    raised AttributeError at expression-build time on every tick and the
    content inventory silently never refreshed. One-word fix, carried with
    the regression the original lacked — the query must build and execute
    through a stubbed session (red with the production error on the pre-fix
    tree), plus a name pin that fails on a rename of either side.

Added

  • Retro-hunt now matches URL indicators against the event lake
    (#2139). URLs were the one
    indicator type the lake sweep declared unmappable — nothing projected a URL
    out of the raw payload, so a freshly published malicious URL got no
    historical answer on lake-primary estates. The chain now exists end to end:
    connectors whose vendor contract publishes an observed URL emit it as
    http_url on the canonical envelope (Netskope alerts, Cisco Umbrella proxy
    activity, Cisco Meraki security events, Mimecast URL Protect click logs,
    Proofpoint TAP condemned-URL threats — Zscaler is scoped out because its
    one pullable feed, the ZIA admin audit report, carries no web-transaction
    URLs), the ingest normalizer writes it to OCSF http_request.url.text, the
    fusion lake writer stores it in a new bloom-indexed aisoc.raw_events.url
    column (lake migration 006_url; fresh installs get it from the init DDL),
    and the sweep matches it exactly — the raw vendor string on both sides,
    parameterised like every other needle. Events recorded before the migration
    hold an empty value (a URL never extracted cannot be backfilled), an event
    with no URL stores emptiness rather than a guess, and the permalink-shaped
    url envelope key some connectors emit for vendor-console links is
    deliberately not read. Proven by the live isolation suite driving a real
    URL-bearing OCSF event through the real writer into a real ClickHouse and
    sweeping it back for the right tenant only.

Fixed

  • Dependabot alert 254: the realtime service's minimatch floor was
    overtaken by the same overnight wave
    — its lock held 11.0.3, inside
    both the high (11.0.0–11.0.6 → 11.0.7) and the moderate
    (11.0.3–11.0.7 → 11.0.8) ranges, so the honest floor is >=11.0.8;
    the npm lock re-resolves to 11.0.10 and the service suite passes
    41/41 (one Redis-gated skip) on the new tree.

  • The console had no way to log out, and the account control was a dead
    button wearing an invented identity
    (#2150, reported by @FaridG7).
    The top-bar avatar was a styled, clickable element that did nothing and
    rendered a hardcoded "SO / SOC Analyst / Admin" regardless of who was
    signed in; authApi.logout() existed with no caller anywhere; and the
    auth module's docstring promised a logout endpoint that was never built —
    so a "signed out" operator's refresh token would have stayed mintable for
    its full lifetime. The avatar is now a real account menu showing the
    signed-in identity, with Settings and Sign out; POST /auth/logout ends
    the account's sessions by writing the same sessions_revoked_at
    watermark the refresh path already enforces (the password-reset
    mechanism), so no refresh token issued before logout can mint another
    session — on any device, which is the semantics stateless refresh tokens
    make honest. The client clears its tokens even when the revocation call
    fails, because an unreachable API must never trap the operator in a
    signed-in console; pinned by five console tests and four endpoint tests
    including a real signed refresh token refused after the watermark with
    its pre-logout twin accepted.

  • Every PATCH moving a case to resolved answered 500 before the tenant's
    resolution policy was ever consulted
    (reported with the exact root cause
    by @alexmateescu). update_case loads the current row with a status-only
    SELECT, and the resolution-contract gate read existing.id off that row —
    AttributeError, surfaced as Status unchanged in the console, with
    nothing written. An inert policy (the opt-in default) could not save it
    because the crash was in the call arguments. The gate now receives the
    already-resolved case id; two regression tests pin it — the row double is
    spec'd to the exact column list the SELECT returns, so a regression to
    reading any other attribute off it fails in CI rather than in production,
    and a recorded gap still refuses with 422 writing nothing.
    its pre-logout twin accepted. Logout takes the interactive-session funnel
    the passkey and MFA routes take: a scoped API key must not be able to end
    its owner's every session, and the route-authz gate requires the
    authorization decision of any state-changing route.

Security

  • cross-spawn cleared from the critical command-injection range in every
    lockfile that held it
    (#2147).
    GHSA-ghv9-86vm-4v8m (command injection on Windows when spawning batch files;
    >=7.0.0 <7.1.0, patched at 7.1.0) landed at 7.0.6 in three locks — the
    root workspace, apps/mobile, and services/realtime. The realtime lock
    re-resolves within its declared ^7.0.6; the two pnpm locks take an
    override scoped to the advisory range (cross-spawn@>=7.0.0 <7.1.0 forced
    to >=7.1.0 <8), capped because an open >=7.1.0 floor measurably
    resolved to the 8.0.0 major nothing here asked for — the scoping
    discipline from the minimatch incident. All three locks land at 7.1.2 with
    no other movement. Closes Dependabot alerts #248–#250 (one advisory, three
    manifests).

Fixed

  • Two of the Data Explorer's own example questions returned the wrong
    result
    (carried from
    #2138 by @43n51c).
    "Count events by connector type today" dropped its GROUP BY, and
    "Which users triggered the most alerts this week" produced no grouping at all,
    so both came back as an ungrouped total rather than the breakdown the prompt
    implies. The deterministic NL translator did not treat a trailing
    relative-time phrase (today, yesterday, this week, this month, this year) as a clause boundary, so the field capture dragged the phrase into the
    field name and failed to resolve it; it also neither mapped those phrases to a
    lookback window nor recognised a "which X … the most" top-N question, and
    "connector type" had no field alias. Relative-time phrases are now clause
    boundaries across every field-extraction lookahead, this week/this month/this year map to their windows, "which X … the most" parses as a
    top-N-by-count, and connector/connector type resolve to event.provider
    (the lake's connector_type column). Fixed in both the agents translator and
    its byte-identical vendored copy under services/api.

  • A spent model quota was reported to the console as a retryable blip
    (carried from #2152 by
    @43n51c). When a contextual AI action (Explain / Is this a false positive? /
    the Deep Explain drawer) failed because the account's usage quota was
    exhausted, /contextual/action/stream surfaced the generic "The model
    stopped partway through this answer. Retrying may work" with
    retryable: true — but retrying only earns another refusal until the quota
    resets, and every model-group fallback authenticates with the same exhausted
    key. The stream now classifies a terminal usage-cap as non-retryable and
    says so, surfacing only the reset instant — parsed out of the client error
    into a datetime and re-rendered, so the message carries no substring of
    the exception text, which holds the gateway host and key.
    Classification keys on the provider error's structured fields first
    (code == "insufficient_quota", which arrives as an HTTP 429, so the status
    alone cannot decide), and quota wording (Anthropic's "usage limits … regain
    access on " / "credit balance is too low") is consulted only for
    exceptions that carry an HTTP status — an arbitrary exception string is
    never a quota verdict. A plain rate limit (HTTP 408/425/429 with no quota
    code or wording) stays retryable, matching playbook/action_bridge's
    retryable-status set.

  • The required security-audit job went red fleet-wide on an overnight
    advisory wave
    — a critical plus two highs in websocket-driver
    (< 0.8.0), and per-major highs in http-proxy-middleware (2.x < 2.0.12,
    3.x < 3.0.11), minimatch (11.0.0–11.0.6) and ws (6.x < 6.2.7,
    7.x < 7.5.14, 8.x < 8.23.0). None were missing overrides: each advisory
    overtook an existing override floor (websocket-driver: >=0.7.5 had
    come to name the vulnerable version itself, and the minimatch floor of
    11.0.1 sat inside the new vulnerable range). Floors raised in place,
    scoped to vulnerable ranges and capped within majors; the blanket
    http-proxy-middleware override that spanned majors 2–3 is now
    per-major. Re-resolved lockfiles land on patched versions only;
    scripts/security_audit.py pnpm reports 0 high/critical (two moderate
    terser warnings and one low node-forge notice remain warnings by the
    job's design). The wave kept rolling mid-fix: tar (7.5.22, high,
    published the same hour) rode in under Expo's CLI in apps/mobile and
    its patch is a major — the scoped override to 8.0.4 was verified by
    execution (the CLI initializes and reads config on tar 8; 53/53 mobile
    tests) rather than assumed from semver.

  • The wave's tail: the moderate and low advisories became Dependabot
    alerts once graphed
    — terser (5.x < 5.51.3, ReDoS-class, both pnpm
    roots) and node-forge (≤ 1.4.3, mobile). Same overtaken-floor shape,
    same remedy: scoped floors to 5.51.3/1.4.4, locks re-resolve to
    5.51.4/1.4.4, and scripts/security_audit.py pnpm reports 0 findings
    at every severity
    for the first time since the wave began.

  • The tar-8 override is reverted: the surface it broke is the one its
    verification never ran.
    The execution check two entries above exercised
    the CLI's init/config path and the unit suite, but @expo/cli calls
    tar's v7 extract API from extractNpmTarballAsync — a path only the
    platform prebuilds reach — and tar 8 is an explicit rewrite
    (promises-only; extract() reads an input or file option;
    node >= 22, above this repo's supported >= 20). Both mobile platform
    builds broke on main the same day with TypeError: extract needs input or file from tar@8.0.4. apps/mobile returns to the 7.x line (7.5.24,
    the newest — OSV records the whole >= 7.5.22 7.x range as affected with
    the 8.0.0 rewrite as the only patch). The wave then kept rolling onto the
    7.x line itself: sixteen more tar advisories published 2026-12-01/02 in
    tranches (CVE-2026-140234 through -140252, one coordinated batch —
    symlink-containment bypasses, PAX header parsing and injection defects, an
    async-extraction deadlock, resource exhaustion, a zstd-magic crash), every
    one again patched only in the 8.x rewrite, with no 7.x release following.
    All seventeen are suppressed with full reasons and a shared 2027-02-28
    expiry in both
    scripts/security_audit_ignores.txt and .trivyignore.yaml: the
    vulnerable copy is local dev tooling fed npm-registry template tarballs
    during prebuild — the trust domain of every installed devDependency, not
    attacker-controlled archives (apps/mobile is excluded from
    pnpm-workspace.yaml and built by no Dockerfile, so nothing ships) — and
    the fix is genuinely out of reach until a patched 7.x ships, the Expo SDK
    reaches a CLI without node-tar (@expo/cli >= 58 replaced tar with
    multitars), or the repo's node floor moves to 22 — whichever fires
    first retires all seventeen entries.


What it looks like

Captured by the visual-regression suite in the pinned CI container — these are the committed baselines of the surfaces this release rebuilt, not mockups.

The dashboard bento — 2×2 hero with the real alert-volume sparkline and beam sweep, honest-first ticking numerals, severity distribution strip, aurora + blueprint grid behind:

Dashboard bento

The alerts queue — severity dots with arrival pulse (at rest here), selected row bound to the Investigation Rail, bulk selection:

Alerts queue

The Investigation Rail on glass — spring-entered shell, time-axis brush over the mini-timeline:

Investigation rail

The virtualized grid — 200 rows, sticky header, density toggle, keyboard rows:

Virtual grid