Scan your whole stack
From OX Research Newsroom
Are you using @crvouga/mockingbird-service-genebygene?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v3.21.1
@crvouga/mockingbird-service-genebygene was last scanned on 28 Nov 2026 at version 3.21.1. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 3.21.1 LATEST | 28 Nov 2026 | No rules fired |
| 3.21.0 | 27 Nov 2026 | No rules fired |
| 3.20.0 | 25 Nov 2026 | No rules fired |
| 3.19.0 | 22 Nov 2026 | Not shown |
| 3.18.2 | 21 Nov 2026 | Not shown |
Findings for v3.21.1. 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 3.21.1; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Local emulators. Real API contracts. Part of Mockingbird.
Stateful emulator of Gene by Gene's Nucleus API v2 (and its OAuth auth host) for test suites:
client-credentials tokens with the credential-blocking failures, synthetic production and staging catalogs,
zone-priced shipping quotes, the production split between a quote that succeeds and a place that
answers Address Not Found, order placement (shipped and quantity-only, plus orders for existing
kits), order lines, fulfillments and address edits, kits and their demographics attributes, the
three-layer cancel, results with presigned downloads, notification subscriptions, and GxG-signed
notifications. Kits move along the lab's status ladder only when a test says so (or when the
happy-path scenario runs on the emulator clock), so genomics suites that serialised on one staging
slot with 15 s sleeps and 300 s waits resolve in milliseconds.
The catalog calls this package
@crvouga/mockingbird-service-gene-by-gene; it is published as@crvouga/mockingbird-service-genebygene(binmockingbird-genebygene).
openapi.yaml is the public Nucleus v2 Swagger document from demo-api.genebygene.com/swagger/v2/swagger.json, vendored by
scripts/vendor-openapi.ts. The script adds operationIds and Mockingbird annotations, the fields
the live API returns but Swagger omits (ProductDto.preassembly,
OrderLineDto.placerOrderNumber/kitNumbers, CreateOrder_Item.placerOrderNumber, null
courier objects), schemas for the bodies Swagger leaves out (eventTypes,
kitorderlines/kits, results/search, presignedUrl), and the auth host's /connect/token.bun run parity, or bun run parity:remote -- genebygene) passes
against staging-api.genebygene.com: the catalog, the 35-address corpus
(corpus/address-parity.json), the recorded error shapes and query validation
(corpus/live-errors.json), catalog reads, and 25
random walks over the safe operations. The acceptance suite replays those recordings, so CI
holds the emulator to them without credentials.When upgrading, update assertions that pin example shipping prices or addresses to the synthetic fixtures in this version.
npm install -D @crvouga/mockingbird-service-genebygene
ESM only. Node >= 22 or Bun >= 1.2. No native dependencies. Serve it with
npx mockingbird-genebygene serve (default port 8788), createServer from ./server (Node), or
createRuntime with any Fetch server.
The emulator serves the API and the auth host on one port. Point the app at it; nothing else changes:
| App env | Value |
|---|---|
GENE_BY_GENE_API_URL (alias GENE_BY_GENE_API_BASE_URL) |
http://127.0.0.1:8788 (or …/__admin/ns/<namespace>) |
GENE_BY_GENE_API_ACCESS_TOKEN_URL |
http://127.0.0.1:8788/connect/token (or …/__admin/ns/<namespace>/connect/token) |
GENE_BY_GENE_API_KEY / GENE_BY_GENE_API_CLIENT_SECRET |
anything, unless --client-id/--client-secret pin a pair |
GENE_BY_GENE_RESULTS_S3_* |
the stack's s3rver, matching --results-s3-endpoint/--results-s3-bucket |
(Our backend's non-prod safety gate must allow loopback first: catalog item G-X1.)
npx mockingbird-genebygene serve --port 8788 \
--webhook-url http://127.0.0.1:3000/webhooks/gene-by-gene --webhook-secret "$GXG_KV_SECRET" \
--results-s3-endpoint http://127.0.0.1:4569 --results-s3-bucket acme-gxg-results-dev
import { createServer } from "@crvouga/mockingbird-service-genebygene/server"
// Test setup: the emulator (API and auth host on one port) and its admin controls.
const server = await createServer({
webhooks: { url: "http://127.0.0.1:3000/webhooks/gene-by-gene", secret: "kv-secret" },
})
const admin = (path: string, body: unknown, method = "POST") =>
fetch(`${server.url}/__admin${path}`, {
method,
headers: { "content-type": "application/json" },
body: JSON.stringify(body),
})
await admin("/settings", { catalog: "production", kitAssociation: "deferred" }, "PUT")
// Application code: GENE_BY_GENE_API_URL is server.url, the token URL its /connect/token.
const baseUrl = server.url
const token = await fetch(`${baseUrl}/connect/token`, {
method: "POST",
body: new URLSearchParams({ grant_type: "client_credentials", client_id: "id", client_secret: "s" }),
})
const { access_token } = (await token.json()) as { access_token: string }
const placed = await fetch(`${baseUrl}/api/v2/orders`, {
method: "POST",
headers: { authorization: `Bearer ${access_token}`, "content-type": "application/json" },
body: JSON.stringify({
items: [{ productId: "00000000-0000-4000-8000-000000000011", placerOrderNumber: "PO-1", quantity: 1 }],
}),
})
// orderLines[].kitNumbers carry the new kit (Order.Created + KitNumbersGenerated are sent).
const order = (await placed.json()) as { id: string; orderLines: { kitNumbers: string[] }[] }
const [kitNumber] = order.orderLines[0].kitNumbers
// Test control: classify an address, then move the order and its kit as the lab would.
await admin("/addresses/classify", { addressLine1: "501 Example Lane", city: "Phoenix", stateOrRegion: "AZ", postalCode: "85004", countryCode: "US", recipientName: "T", phone: "+15555550100" })
// → {quote: "options", place: "address-not-found", zone: 5, codes: [...], prices: {...}}
await admin("/scenario/happy-path", { orderId: order.id }) // associate → ship → … → Results Completed
await admin(`/kits/${kitNumber}/transition`, { to: "Error", errorCode: 19 }) // Kit.Error (new collection)
await server.close()
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.