Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@cosmicdrift/kumiko-framework

Latest version: v0.427.0-next-20261124204544-a0f5e5b

Overview

Last scanned
24 Nov 2026
Published
24 Nov 2026
npm package Publisher: bender0oo0
1 Stars
0 Forks
300 Versions
29.2K Downloads
TypeScript Repo language

Scan summary

@cosmicdrift/kumiko-framework was last scanned on 24 Nov 2026 at version 0.427.0-next-20261124204544-a0f5e5b. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 300 versions; the latest 5 were published on 24 Nov 2026.
  • Findings: No rules fired in version 0.427.0-next-20261124204544-a0f5e5b.
  • Downloads: 29,230 downloads.

Versions

300 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.427.0-next-20261124204544-a0f5e5b LATEST 24 Nov 2026 No rules fired
0.427.0-next-20261124175054-af73a16 24 Nov 2026 No rules fired
0.427.0-next-20261124093318-1fff5d3 24 Nov 2026 No rules fired
0.427.0-next-20261124073535-a32bd27 24 Nov 2026 Not shown
0.427.0-next-20261123235306-623e88d 24 Nov 2026 Not shown

No rules fired in 0.427.0-next-20261124204544-a0f5e5b

Findings

Findings for v0.427.0-next-20261124204544-a0f5e5b. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.427.0-next-20261124204544-a0f5e5b; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

@cosmicdrift/kumiko-framework

License: MIT TypeScript

Framework core for Kumiko — engine, pipeline, API, DB, event-store, and every other bit that makes Kumiko go.

Multi-tenant, command-based, event-sourced app framework for Bun + Hono + Postgres. Define features, register entities, write commands — the framework wires dispatch, persistence, projections, async subscribers, and realtime delivery.

See the monorepo root README for the broader pitch, the docs/plans directory for architecture, and samples/ for runnable examples of every feature.

Install

bun add @cosmicdrift/kumiko-framework
# peers you probably already have:
bun add hono ioredis zod

Bun is the intended runtime and test runner.

At-a-glance

import { createEntity, createTextField, defineFeature } from "@cosmicdrift/kumiko-framework/engine";

export const taskEntity = createEntity({
  table: "read_tasks",
  fields: {
    title: createTextField({ required: true, searchable: true }),
    done: createTextField(),
  },
  softDelete: true,
});

export const taskFeature = defineFeature("tasks", (r) => {
  // r.crud wires create/update/delete/restore + list/detail queries in one
  // call — events + projection in the same TX, optimistic locking, access
  // control, all explicit via the options below.
  r.crud("task", taskEntity, {
    write: { access: { roles: ["User"] } },
    read: {
      access: {
        openToAll: {
          reason: "any signed-in user may list and view tasks; only writes are role-gated",
        },
      },
    },
  });

  // Read-model fed from task events, rebuildable via the CLI
  r.projection({
    name: "tasks-per-day",
    source: "task",
    table: tasksPerDayTable,
    apply: {
      "task.created": async (event, tx) => {
        /* count++ */
      },
    },
  });

  // Async consumer — runs after commit via the event-dispatcher,
  // cursor-based, at-least-once, per-consumer dead-letter semantics.
  // Omit `table` for pure side-effect handlers (mail, webhooks, ...).
  r.multiStreamProjection({
    name: "notify-new-task",
    apply: {
      "task.created": async (event) => {
        // e.g. push to an external notification service
      },
    },
  });
});

Package exports

Entry What's in it
@cosmicdrift/kumiko-framework/engine defineFeature, createEntity, field helpers, access rules, registry
@cosmicdrift/kumiko-framework/db deriveEntityTableMeta, createEventStoreExecutor, migrations, tenant-db
@cosmicdrift/kumiko-framework/event-store events table, append, loadAggregate, loadAggregateAsOf
@cosmicdrift/kumiko-framework/pipeline Dispatcher, event-dispatcher (AsyncDaemon), projection-rebuild, SSE + search consumers
@cosmicdrift/kumiko-framework/api buildServer, auth middleware, SSE route, error contract
@cosmicdrift/kumiko-framework/auth JWT helper, password hashing, session users
@cosmicdrift/kumiko-framework/search SearchAdapter interface, in-memory adapter, Meili wrapper
@cosmicdrift/kumiko-framework/jobs BullMQ-backed job runner, cron scheduling
@cosmicdrift/kumiko-framework/files Signed-URL upload/download, tenant-scoped storage
@cosmicdrift/kumiko-framework/i18n i18next setup, per-feature translation registration
@cosmicdrift/kumiko-framework/ui React hooks (Zustand stores, SSE subscription, optimistic mutations)
@cosmicdrift/kumiko-testing/stack setupTestStack, createTestDb, request helpers
@cosmicdrift/kumiko-framework/utils Safe JSON, qualified-name helpers
@cosmicdrift/kumiko-framework/errors Error classes, writeFailure, reason contracts

Core concepts

  • Feature as unit of deployment. defineFeature registers entities, write/query handlers, projections, post-event subscribers, lifecycle hooks, access rules, and translations.
  • Commands in, state out. Writes are commands dispatched through HTTP; the dispatcher validates, enforces access, runs lifecycle hooks, persists events, and triggers projections in a single TX.
  • Event-sourced by default. Every write goes through createEventStoreExecutor and appends a domain event to the aggregate stream. Auto-generated CRUD events (<entity>.created/updated/deleted/restored) for record writes, explicit ctx.events.append for domain events with intent. Projections feed off the stream for same-TX read-after-write consistency.
  • Async side-effects via cursor. SSE broadcast, search indexing, and feature-registered r.multiStreamProjection consumers run on a single cursor-based dispatcher (AsyncDaemon pattern). Per-consumer checkpoints, halt-on-poison, dead-letter after N retries.
  • Multi-tenant scoping. Every event, entity, projection, and search index carries tenantId. TenantDb is a TX-scoped wrapper that refuses writes outside the current tenant.
  • Optimistic concurrency. UNIQUE(aggregate_id, version) on events gives atomic append + conflict detection; VersionConflictError surfaces races as a first-class value.
  • Idempotency + dedup. Request-id backed unique index on the events table turns retries into replays. IdempotencyGuard caches write outcomes per tenant.

Status

This framework is pre-1.0 and evolves fast. Every feature has a runnable sample under samples/; the roadmap lives in docs/plans/uebersicht.md.

License

MIT, see LICENSE.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @cosmicdrift/kumiko-framework

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

PHP2Shell, Day 5 93.6% of Measurable Instances Still Unpatched (1)
Vulnerability Insights

PHP2Shell, Day 5: The Panic Hasn’t Turned Into Patching

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Frame 2085668439 (1)
Group 1261154229