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

@jini-ai/registry

Latest version: v0.7.3-next.3

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: ai-oss
0 Stars
0 Forks
17 Versions
2.9K Downloads
TypeScript Repo language

Scan summary

@jini-ai/registry was last scanned on 29 Nov 2026 at version 0.7.3-next.3. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 17 versions; the latest was published on 29 Nov 2026.
  • Findings: No rules fired in version 0.7.3-next.3.
  • Downloads: 2,924 downloads.

Versions

17 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.7.3-next.3 LATEST 29 Nov 2026 No rules fired
0.7.3-next.2 21 Nov 2026 No rules fired
0.7.3-next.1 21 Nov 2026 No rules fired
0.7.2 14 Nov 2026 Not shown
0.7.1 11 Nov 2026 Not shown

No rules fired in 0.7.3-next.3

Findings

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

README

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

@jini-ai/registry

Three interchangeable backends for a content registry — the thing that answers "give me version ^2.1.0 of the entry named acme/theme" — plus the semver specifier parsing and version resolution they share, and real cryptographic signature verification against a GitHub Actions OIDC trust root. The wire types (RegistryEntry, RegistryManifest, RegistryBackend, …) live in @jini-ai/protocol; this package only adds the concrete backend logic, mirroring how @jini-ai/sqlite-chat implements ports that @jini-ai/protocol defines.

Install

npm install @jini-ai/registry

# only if you use DatabaseRegistryBackend  (native compiled addon)
npm install better-sqlite3

better-sqlite3 is an optional peer dependency: database-backend.ts needs only its type, and the caller owns and opens the real handle. StaticRegistryBackend, GithubRegistryBackend, and the resolution/trust helpers need nothing extra, so most adopters never pay the native-compile cost. @jini-ai/protocol is a regular dependency.

What you get

Three backends, all implementing @jini-ai/protocol's RegistryBackend:

  • StaticRegistryBackend / StaticRegistryBackendOptions — serves an in-memory RegistryManifest you hand it. The zero-infrastructure option; also the one to reach for in tests.
  • GithubRegistryBackend / GithubRegistryBackendOptions — reads (and, via GithubPublishMutation, writes) a manifest stored in a GitHub repository through an injected GithubRegistryClient. GithubApiRegistryClient / GithubApiRegistryClientOptions is the real HTTP implementation of that client interface.
  • DatabaseRegistryBackend / DatabaseRegistryBackendOptions — SQL-backed, over a database handle you supply. ensureRegistryTables(db) creates the schema; upsertRegistryEntry(db, entry) writes a single entry.

Version resolution — parseRegistrySpecifier('acme/theme@^2.1.0') → ParsedRegistrySpecifier ({ name, range? }), and resolveRegistryEntryVersion → ResolvedRegistryEntryVersion.

Signature trust — verifyRegistryEntrySignatures and verifyRegistrySignature returning a SignatureVerificationResult (never thrown, always returned), plus canonicalRegistrySigningPayload (the exact name@version:digest string a signature must cover), RegistryTrustRoot / GithubOidcTrustRoot, and GITHUB_ACTIONS_OIDC_ISSUER. Verification is opt-in and additive: omit trustRoot and a backend reports verified: false for every entry without attempting anything, which is the pre-existing default. Configure it — at minimum githubOidc.caCertificates — and entry.signatures[] gets real cryptographic checking, with allowedIdentities matched against the certificate's own subjectAltName URIs rather than a self-reported field.

Usage

import {
  StaticRegistryBackend,
  DatabaseRegistryBackend,
  ensureRegistryTables,
  parseRegistrySpecifier,
} from '@jini-ai/registry';
import type { RegistryManifest } from '@jini-ai/protocol';
import { readFileSync } from 'node:fs';

const manifest: RegistryManifest = loadManifestSomehow(); // see RegistryManifestSchema

const registry = new StaticRegistryBackend({
  id: 'builtin',
  kind: 'local',
  trust: 'official', // 'official' | 'trusted' | 'restricted'
  manifest,
  // Opt in to real signature verification; omit entirely for the verified:false default.
  trustRoot: {
    githubOidc: {
      caCertificates: [readFileSync('/etc/example/fulcio-root.pem', 'utf8')],
      allowedIdentities: [/^https:\/\/github\.com\/acme\/themes\/\.github\/workflows\//],
    },
  },
});

const { name, range } = parseRegistrySpecifier('acme/theme@^2.1.0');
const resolved = await registry.resolve(name, range); // ResolvedRegistryEntry | null

// Or the SQL-backed variant, over a handle you own.
import Database from 'better-sqlite3';
const db = new Database('/var/lib/example/registry.sqlite');
ensureRegistryTables(db);
const dbRegistry = new DatabaseRegistryBackend({ id: 'local', trust: 'restricted', db });

RegistryBackend's full surface is list / search / resolve / manifest / doctor, plus optional publish / yank. Check RegistryManifestSchema in @jini-ai/protocol for the manifest shape before building one by hand.

What's swappable

RegistryBackend (defined in @jini-ai/protocol, alongside RegistryBackendFactory) is the port, and these three are just the implementations that ship — a fourth reading an S3 bucket or an internal service plugs in with no consumer change. Inside GithubRegistryBackend, GithubRegistryClient is itself an injected interface, so the GitHub API calls are replaceable (or fakeable) without touching the backend logic. DatabaseRegistryBackend takes an already-open handle rather than a path, so connection lifetime and :memory: testing are yours. RegistryTrustRoot selects the verification policy. Fixed: the specifier grammar, the semver resolution rules, and canonicalRegistrySigningPayload's byte layout — a signature is only meaningful if every party canonicalizes identically.

Runtime

jini.runtime: "node" — node:crypto for signature verification, and better-sqlite3 types for the SQL backend. ESM only — ships "type": "module" with no CommonJS require build.

Provenance

See the archived provenance ledger for per-file provenance and scope decisions. Apache-2.0, inherited from Open Design — see the repo NOTICE.

Tool descriptor catalog

./tool-catalog exports neutral ToolCatalogEntry, ToolCatalogSearchHit and ToolCatalogQuery types. ./tool-catalog/sqlite exports synchronous ensure/reseed/search/describe helpers over a borrowed structural host handle. This is the unchanged tool_catalog + external-content FTS5/BM25 snapshot, preserving schema/inputSchema/source, ranking and query sanitization. Reseed is atomic. The adapter is isolated from the registry root and content backends; db and SQLite are optional peers, with no driver value import or implicit connection acquisition.

Kernel contracts

The GitHub client accepts core HttpClientPort and calls send({ request }), retaining a 15-second total deadline and idle budget. Responses use status, headers and bodyText. The port buffers before status/JSON handling: body transport errors propagate unchanged; malformed JSON still reports the existing GitHub non-JSON response error. Backend options accept core Clock (nowMs()), while tool-catalog snapshots use nowIso({ clock }). Import both kernel types from @jini-ai/core/primitives; RegistryDatabasePort is exported at root. tool-catalog-builder stays universal; its tool-catalog-builder/sqlite factory is a Node subpath. Ranking belongs to the injected backend, source/enrichment policy belongs to the host.

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 @jini-ai/registry

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

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?

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Frame 2085668439 (1)
Group 1261154229