Skip to content

AiSOC v23.5.2

Choose a tag to compare

@github-actions github-actions released this 19 Nov 00:01
· 5 commits to main since this release
7fcfa5d

Security

  • Managed-tenant provisioning no longer publishes the known-password demo
    administrator
    (#1966). _default_demo_seeder called
    seed_demo._ensure_user, which upserts the deterministic demo@example.com
    user with the published password, an admin wildcard role and
    is_active=True — and moves an existing row into the newly provisioned
    tenant. Because provision_from_waitlist defaults to seed_demo=True and
    the provision endpoint exposes no seeder field, every ordinary managed
    promote created a public administrative login. (The #1904 env-gate that
    covered this was itself a casualty of the #1933 stale-base revert — and this
    fix supersedes it structurally rather than restoring it.) Provisioning now
    seeds labelled starter content only, never the identity; _ensure_user
    itself refuses any tenant but the canonical demo tenant before touching the
    database; migration 163 retires already-published demo admins in managed
    tenants (deactivated, sessions revoked, hash replaced with a sentinel, role
    demoted) while leaving the canonical demo tenant working; and a live
    negative control re-weakens both layers and asserts the suite fails.
    Contributed by @knowlet.

  • The threat-actor attribution API is fail-closed again (#1967, restoring
    #1904/#1901). A stale-base push serialized an old tree over main: the
    #1933 merge (a cases fix) silently reverted the fail-closed enforcer in
    services/threatintel/app/api/auth.py back to warn-once-and-allow, reverted
    its tests, and deleted the tests/test_threatintel_token_env_gate.py gate —
    so the v23.5.0 and v23.5.1 tags shipped an enforcer that allows every caller
    when the token is unset, while both releases' notes described 503. (The same
    revert took the token generation and compose wiring, which #1961 had already
    re-added without knowing it was a restoration, and the provisioner demo-seed
    gate, which #1966 supersedes structurally.) This restores the enforcer
    (unset token → 503 unless AISOC_THREATINTEL_ALLOW_UNAUTHENTICATED=1 is set
    deliberately), its once-only lru_cache warning, the reverted
    test_actor_attribution_auth.py assertions, and the compose-forwarding gate
    — which now coexists with #1961's source-derived wiring gate, two detectors
    for one contract.

Fixed

  • The realtime OpenTelemetry bump is re-applied (#1967). The same #1933
    stale-base merge reverted Dependabot #1928's
    @opentelemetry/exporter-trace-otlp-grpc and @opentelemetry/sdk-node
    0.301.0 → 0.301.2 bump in services/realtime; package.json and the lockfile
    are restored to the bumped state.