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/http-kit

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
25 Versions
3.2K Downloads
TypeScript Repo language

Scan summary

@jini-ai/http-kit 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: 25 versions; the latest was published on 29 Nov 2026.
  • Findings: No rules fired in version 0.7.3-next.3.
  • Downloads: 3,169 downloads.

Versions

25 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/http-kit

Framework-level HTTP transport, guards and route-pack registration, with no domain. Request parsing, response serialization, same-origin validation, SSE and Express mounting are reusable primitives. The host mounts them onto its own app; the package opens no listener. Daemon routes and their manifest now live in @jini-ai/daemon/http, and tool attenuation lives in @jini-ai/daemon/read-only-tools. CMS settings live in @jini-ai/cms/http/settings.

Install

npm install @jini-ai/http-kit express

Regular dependencies are core, platform and protocol. Express is supplied by the host and referenced only through erased types, so this package declares no Express runtime peer. There is no daemon, agent-runtime or CMS dependency.

Surface

  • Route specs, ok({ value }), err({ error }), defineJsonRoute and mountJsonRoute.

  • Request parsing, validationError, sendJson, sendApiError and statusForError.

  • Origin and bearer guards, including core's canonical origin validation and Node token comparison.

  • Cursor-aware and raw SSE primitives, route registration inventory and mountPackHttp.

  • ./rate-limit, ./middleware, ./verified-origin and ./observability.

  • rate-limit exports createRateLimiter({ profile, clock, store }), createMemoryCounterStore({}), and resolveClientIp({ source, policy }). Await limiter.check({ key }) and limiter.size({}). Each limiter owns a dedicated async counter store and serializes its checks across storage awaits. Window/max/burst values and proxy trust policy are supplied by the host.

  • middleware exports rejectOversizedJsonBody({ maxBytes, errorResponseFactory }). Mount it after JSON parsing. The response factory receives { maxBytes, bodyBytes } and returns the host's error envelope; oversized bodies receive status 413. The host parser still owns the limit on memory allocated while parsing.

Replaceable seams

JsonRouteSpec.parse and handle let hosts supply custom request handling. Pack services are resolved by core before the HTTP registrar sees them. Duplicate-route detection catches collisions during mounting, rather than letting the first registration silently win. The Result/ApiError pipeline folds anticipated errors into one response path; unexpected exceptions remain redacted with host-owned diagnostic reporting.

Define packs with definePack({ name, deps, services }, { http }) from core; the HTTP registrar belongs in the optional second argument. Mount the composed packs with mountPackHttp({ app, packs, daemon }).

Express mounting is fixed. A switchable Fastify transport was removed on 2026-07-22 because no consumer used it and maintaining every route twice imposed recurring work. Its implementation and rationale remain on future/fastify-transport in FASTIFY-TRANSPORT-PARKED.md.

Settings routes and their CMS adapters now live at @jini-ai/cms/http/settings; this package has no CMS dependency. ./verified-origin is a separate canonical-origin registry with required configuration evidence and repository ports; it does not infer trust from request headers. Its canonical-origin request type is VerifiedOriginRequestContext.

Origin guards require env, allowedOriginsEnvVar, webPortEnvVar and bindHostEnvVar in the required context/dependencies. The host selects these names; the guards never read ambient environment state. Core owns the validation functions and requires { config, env } for configured-origin parsing. Parsing stays lenient per request; assertValidAllowedOrigins({ config, env }) is strict at boot. Bearer gates require their environment and token variable names in argument one; trustLoopbackPeers and strict exemptPaths remain argument-two options. timingSafeTokenMatch binds core's injected comparison port to node:crypto. The async limiter uses core Clock.nowMs() and keeps non-empty-key validation.

./observability supplies applyRequestTracking and createRequestTrackingMiddleware over the diagnostics-compatible HttpRequestObservabilityPort. Mount first to include refusals and unmatched requests; route labels are read at response completion.

See API.md for required/optional object contracts. Node runtime, ESM only. Apache-2.0; see the repository NOTICE.

Design decisions

  • Reject ambiguous redirect URLs before normalization.
  • Background error reporting must contain its own storage failures.

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/http-kit

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

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Frame 2085668439 (1)
Group 1261154229