Scan your whole stack
From OX Research Newsroom
Are you using continuant?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.2.0
continuant was last scanned on 30 Nov 2026 at version 0.2.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.2.0 LATEST | 30 Nov 2026 | No rules fired |
| 0.1.0 | 29 Nov 2026 | No rules fired |
| 0.0.0-stage | 29 Nov 2026 | Not shown |
Findings for v0.2.0. 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.2.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Continuity preservation for machine-driven APIs.
Guarded transitions with inferred TypeScript types. Zero dependencies. Your machine owns its database operations.
import { defineMachine } from "continuant";
import { and, eq } from "drizzle-orm";
import { db, requests } from "./database";
type Tx = Parameters<Parameters<typeof db.transaction>[0]>[0];
const reviews = defineMachine({
name: "review",
key: "id",
state: "status",
states: ["pending", "approved", "rejected"],
lock: async (tx: Tx, id: string) => {
const [row] = await tx.select().from(requests)
.where(eq(requests.id, id)).limit(1).for("update");
return row;
},
save: async ({ tx, id, from, to, patch }) => {
const [row] = await tx.update(requests).set({ ...patch, status: to })
.where(and(eq(requests.id, id), eq(requests.status, from))).returning();
return row;
},
events: {
approve: { from: ["pending"], to: "approved" },
reject: { from: ["pending"], to: "rejected" },
},
});
const row = await db.transaction((tx) => reviews.send(tx, {
id: "42", event: "approve", actor: { id: "reviewer" },
}));
// row.status is inferred as "approved".
Types come from lock. Use authorize, guard, and writeRelated for business rules. Optional creation uses create with from: [null].
Add observe to read persisted facts, invariants for machine-wide checks, and event ensures to check transition results. Optional auditing pairs the machine's audit hook with per-call auditEntry.
The caller owns the transaction, locking, and rollback. Keep related and audit writes in that transaction, propagate failures, and await commit before returning success.
continuant/effects supports durable provider work through an application-owned journal.
Develop with Bun: bun test, bun run typecheck, bun run build.
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.
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).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.