registry  /  @ingram-tech/nk-db  /  1.3.0

@ingram-tech/nk-db@1.3.0

The Ingram Postgres data layer: one TLS-aware pg pool, raw-SQL helpers, Drizzle wiring, and a PGlite (no-Docker) dev/test harness for Next.js sites.

Static Scan Results

scanned 17h ago · by rust-scanner

Static analysis flagged 7 finding(s) at 72.0% confidence. This version is warn-only unless an AI or security-team review confirms malicious behavior.

Static reason
One or more suspicious static signals were detected.

Decision evidence

public snapshot
Behavioral surface
Source
ChildProcessCryptoEnvironmentVarsFilesystem
Supply chain
HighEntropyStrings
ManifestNo manifest risk signals triggered.
scanned 14 file(s), 46.1 KB of source

Source & flagged code

2 flagged · loading source
dist/pglite/index.jsView file
72export const startPgliteDev = async (options = {}) => { L73: const { spawn } = await import("node:child_process"); L74: const { databaseUrl, stop } = await createPgliteServer({
High
Child Process

Package source references child process execution.

dist/pglite/index.jsView on unpkg · L72
78console.log(`nk(pglite): Postgres 18 (WASM) ready on ${databaseUrl} — no Docker, no external service`); L79: const child = spawn("bunx", ["next", "dev", "--turbopack", ...(options.nextArgs ?? [])], { stdio: "inherit", env: { ...process.env, DATABASE_URL: databaseUrl } }); L80: let closing = false;
High
Runtime Package Install

Package source invokes a package manager install command at runtime.

dist/pglite/index.jsView on unpkg · L78

Findings

2 High2 Medium3 Low
HighChild Processdist/pglite/index.js
HighRuntime Package Installdist/pglite/index.js
MediumEnvironment Vars
MediumStructural Risk Force Deep Review
LowScripts Present
LowFilesystem
LowHigh Entropy Strings