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

@cyphra/testing

Latest version: v0.31.0

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: florianamette
2 Stars
1 Forks
15 Versions
1.9K Downloads
TypeScript Repo language

Scan summary

@cyphra/testing was last scanned on 28 Nov 2026 at version 0.31.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 15 versions; the latest 5 were published within 2 days (27 and 28 Nov 2026).
  • Findings: No rules fired in version 0.31.0.
  • Downloads: 1,863 downloads.

Versions

15 versions published
Versions and the rules that fired in each
VersionPublishedStatus
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

No rules fired in 0.31.0

Findings

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.

README

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

@cyphra/testing

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.

License

MIT

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 @cyphra/testing

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

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229