Scan your whole stack
Are you using @cyphra/testing?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.31.0
@cyphra/testing was last scanned on 28 Nov 2026 at version 0.31.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.31.0 LATEST | 28 Nov 2026 | No rules fired |
| 0.30.0 | 28 Nov 2026 | No rules fired |
| 0.29.0 | 27 Nov 2026 | No rules fired |
| 0.28.0 | 27 Nov 2026 | Not shown |
| 0.27.0 | 27 Nov 2026 | Not shown |
Findings for v0.31.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.31.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Part of Cyphra, the TypeScript OGM (object-graph mapper) for Neo4j. Testing: docs
Integration-test helpers for apps built on Cyphra. They do not depend on a test framework, so they
work with Vitest, Jest, node:test or Mocha:
startDatabase(): Neo4j (default), Memgraph or FalkorDB in Docker, through
Testcontainers.applySchema(): runs your migrations, then creates the schema's constraints and indexes.withRollback() and wipeDatabase(): isolate tests with a transaction that is always
rolled back, or by deleting the test data. Both work on Neo4j Community, which has a single user
database.defineFactory(): typed factories for the generated models, with sequences and relation
helpers.createTestDatabase(): all of the above behind setup / reset / teardown hooks.npm i -D @cyphra/testing testcontainers
import { afterAll, beforeAll, beforeEach, expect, it } from "vitest";
import { createTestDatabase, factoriesFor } from "@cyphra/testing";
import { createClient, type CyphraTypeMap } from "./cyphra.gen";
const testDb = createTestDatabase({
schema: new URL("./schema.cyphra", import.meta.url),
migrations: new URL("./migrations", import.meta.url),
createClient,
});
const { defineFactory } = factoriesFor<CyphraTypeMap>();
const users = defineFactory("User", ({ sequence }) => ({ email: `user${sequence}@example.com` }));
beforeAll(() => testDb.setup()); // NEO4J_TEST_URI & co., else a new container
beforeEach(() => testDb.reset());
afterAll(() => testDb.teardown());
it("finds a user by email", async () => {
await users.create(testDb.db, { email: "ada@example.com" });
expect(await testDb.db.user.findUnique({ where: { email: "ada@example.com" } })).not.toBeNull();
});
testcontainers is only needed to start containers: with NEO4J_TEST_URI, NEO4J_TEST_USER and
NEO4J_TEST_PASSWORD set (for example a CI service container), the tests use that database.
See the documentation for the Vitest global setup, Jest, Memgraph and FalkorDB.
MIT
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.