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

kern-db

Latest version: v0.10.0

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
npm package Publisher: ilyasemenov
1 Stars
0 Forks
12 Versions
2.5K Downloads
TypeScript Repo language

Scan summary

kern-db was last scanned on 23 Nov 2026 at version 0.10.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 12 versions; the latest 4 were published within 2 days (22 and 23 Nov 2026).
  • Findings: No rules fired in version 0.10.0.
  • Downloads: 2,515 downloads.

Versions

12 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.10.0 LATEST 23 Nov 2026 No rules fired
0.9.1 23 Nov 2026 No rules fired
0.9.0 22 Nov 2026 No rules fired
0.8.0 22 Nov 2026 Not shown
0.6.1 14 Nov 2026 Not shown

No rules fired in 0.10.0

Findings

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

README

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

kern-db

SQL queries for PostgreSQL with typed results and ambient transactions: run SQL statements, decode their rows, share transactions across function calls without passing them around, and run tests in transactions that roll back. kern-orm runs on it, and it works without the ORM.

kern-db is in early development, and the API changes between minor versions.

See Getting Started in the documentation.

Install

npm install kern-db postgres

Usage

import { createDatabase } from "kern-db"
import { postgresJsDriver } from "kern-db/postgres-js"
import * as t from "kern-db/types"
import postgres from "postgres"

const database = createDatabase({
  driver: postgresJsDriver(postgres(process.env.DATABASE_URL!)),
})

// Queries in the callback, including in called functions, join the transaction.
await database.transaction(async () => {
  const id = await database.query`INSERT INTO form (name) VALUES (${"Survey"}) RETURNING id`.get(
    t.uuid,
  )
  await database.query`UPDATE form SET published = true WHERE id = ${id}`
})

Kern libraries

kern-db is part of Kern, a family of PostgreSQL libraries for TypeScript, alongside kern-migrations and kern-jobs.

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 kern-db

References

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

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

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Frame 2085668439 (1)
Group 1261154229