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

@cossackframework/romedb

Latest version: v0.9.7

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: tanftw
3 Stars
0 Forks
9 Versions
1.3K Downloads
TypeScript Repo language

Scan summary

@cossackframework/romedb was last scanned on 29 Nov 2026 at version 0.9.7. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 9 versions; the latest 5 were published within 5 days (25–29 Nov 2026).
  • Findings: No rules fired in version 0.9.7.
  • Downloads: 1,263 downloads.

Versions

9 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.9.7 LATEST 29 Nov 2026 No rules fired
0.9.6 29 Nov 2026 No rules fired
0.9.5 28 Nov 2026 No rules fired
0.9.4 27 Nov 2026 Not shown
0.9.3 25 Nov 2026 Not shown

No rules fired in 0.9.7

Findings

Findings for v0.9.7. 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.9.7; other versions have their own rules, not their own score.

README

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

@cossackframework/romedb

RomeDB for Cossack applications on Cloudflare Workers and Node.js: request bindings with exact write recovery and a JSON transport codec, on RomeDB's own libraries: @romedb/client everywhere, and @romedb/node to open database files on Node. Its client and value types use Web APIs only, so the same client runs on Workers. On Node a file path opens the file in this process (openEmbedded), and a URL reaches romedb serve or RomeDB Cloud.

import { createRomeDB } from '@cossackframework/romedb';
import { connectNode, FilePendingWriteStore } from '@cossackframework/romedb/node';

const url = process.env.ROMEDB_URL || 'storage/romedb/app.romedb';   // a file, or a service URL
const token = process.env.ROMEDB_TOKEN;                              // server-only; files need none
const db = createRomeDB({
  url,
  connect: () => connectNode({ url, token }),
  pending: new FilePendingWriteStore('.cossack/romedb-pending'),
});

const result = await db.write([{ rql: 'UPDATE posts SET title = $t WHERE id = posts:p1', params: { $t: 'Edited' } }]);

On Workers, pass url and token instead of connect.

Entry Use
@cossackframework/romedb createRomeDB, RomeDB's connect and typed values, row helpers, rqlDatabase (server)
@cossackframework/romedb/values Float64, RecordId, Vector, toTransport, fromTransport (client-safe)
@cossackframework/romedb/node connectNode (files through @romedb/node, romedb serve and Cloud by URL), FilePendingWriteStore
@cossackframework/romedb/cloudflare RomeDBPendingWrites Durable Object and DurableObjectPendingWriteStore
@cossackframework/romedb/orm romedb(db), the adapter that runs the Cossack ORM (@cossackframework/database) on a RomeDB instance, with relational and document entities, and romedbClient(), the instance behind an ORM (see the database package's docs/romedb.md)
@cossackframework/romedb/dev romedbDev() Vite plugin: starts romedb serve for a loopback ROMEDB_URL and passes its token, and, unless ROMEDB_SITES_URL is set, romedb serve --directory storage/romedb/sites on the next port for a CMS network's added sites (ROMEDB_SITES_URL, ROMEDB_SITES_TOKEN); romedbDevVars hands them to the Cloudflare plugin
@cossackframework/romedb/testing startRomeDBService and startRomeDBDirectory for live tests against romedb serve

Rules:

  • Statements are { rql, params }. The binding hands them to RomeDB's client, which calls the text sql; values, results and ClientError are RomeDB's own. RecordId is RomeDB's Record, renamed so it does not hide TypeScript's Record type. Print one as `${id.table}:${id.key}`.
  • maxRequestBytes() and maxResultBytes() are the database's own limits, as it reports them: 8 MiB of each on a local RomeDB 0.2.23 or later, 1 MiB requests on Cloud, and 64 KiB requests with 256 KiB of results from an engine that reports none. Cut batches by them.
  • The engine must be RomeDB 0.2.21 or later; preflight() refuses older or missing releases, and exportFile() runs it first, so a copy is never asked of an engine that cannot leave tables out.
  • One process owns a file. Share a live database between processes (the app and Studio) through romedb serve. A file gets a new identity each time it opens, so a write saved before a restart is settled by its reconciler, not by receipt.
  • @romedb/node is an optional peer: only Node applications that open files need it, at the same version as @romedb/client, or a second copy of RomeDB's value classes is installed and a client refuses the other's values. It loads its native addon only when a file is opened. Mark both external in Vite's SSR config so Node loads them natively.
  • Every write is saved before dispatch. A lost response leaves an UncertainWriteError; recoverPending() replays the exact request. It never sends a replacement write.
  • Reads send explicit workLimits and retry 503/429 backpressure a bounded number of times.
  • The client allows 32 calls in flight. A call it refuses for lack of places (RDB_LIMIT, outcome not-sent, limit client-requests or client-bytes) waits and tries again like a 503, so a burst of requests queues instead of failing. isClientFull(error) tells such a refusal from one about the call's size.
  • Request paths never warm a Cloud database. Call warm() from a schedule.

Requests that end early

One binding serves every request of an isolate, and a call gives its place back when it settles. On Workers a call whose request ends first never settles: the visitor left, or the request failed while other calls of the same Promise.all were in flight, and the runtime cancelled their I/O with the request. Two things keep a binding serving:

  • requestSignal: a function that gives the signal of the current request. A call that passes no signal of its own takes it, so its calls end, and give their places back, when it aborts. The CMS passes one that aborts when the visitor leaves or the request fails. In your own application, abort a controller from your first middleware the same way:

    import { getRequestContext } from '@cossackframework/core';
    
    const db = createRomeDB({ url, token, pending, requestSignal: () => getRequestContext()?.get('requestCalls')?.signal });

    Work that runs after the answer under waitUntil should not take a signal that the end of the answer aborts.

  • The client gives back the place of a call past its deadline (timeoutMs, 20 seconds by default) when it is full, since @romedb/client 0.2.26. A call that never settles holds its place until then; requestSignal gives it back at once.

Live tests run when COSSACK_TEST_ROMEDB_BIN points at a romedb executable (or romedb is on PATH); COSSACK_TEST_ROMEDB_URL and COSSACK_TEST_ROMEDB_TOKEN select an existing database instead.

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 @cossackframework/romedb

References

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

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Copy of Template Design OX Blog (1)
Research

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

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Frame 2085668439 (1)
Group 1261154229