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

@chubbyts/chubbyts-http

Latest version: v3.2.1

Overview

Last scanned
24 Nov 2026
Published
24 Nov 2026
npm package Publisher: dominikzogg
4 Versions
2.6K Downloads

Scan summary

@chubbyts/chubbyts-http was last scanned on 24 Nov 2026 at version 3.2.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 4 versions; the latest was published on 24 Nov 2026.
  • Findings: No rules fired in version 3.2.1.
  • Downloads: 2,589 downloads.

Versions

4 versions published
Versions and the rules that fired in each
VersionPublishedStatus
3.2.1 LATEST 24 Nov 2026 No rules fired
3.2.0 9 Nov 2026 No rules fired
3.1.0 1 Nov 2026 No rules fired
3.0.0 29 Oct 2026 Not shown

No rules fired in 3.2.1

Findings

Findings for v3.2.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.2.1; other versions have their own rules, not their own score.

README

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

chubbyts-http

CI Mutation testing badge npm-version

Description

Implementation of the factories defined by chubbyts/chubbyts-http-types, inspired by PSR-7, PSR-15 and PSR-17.

A message body is an AsyncIterable<Uint8Array>, the factories create Node.js Readable streams (which are one), getQueryParams parses query strings with qs.

Factory Creates Dependencies (with defaults)
createUriFactory UriFactory
createBodyFactory BodyFactory
createBodyFromFileFactory BodyFromFileFactory
createRequestFactory RequestFactory UriFactory, BodyFactory
createServerRequestFactory ServerRequestFactory RequestFactory
createResponseFactory ResponseFactory BodyFactory
Helper factory Creates Dependencies (with defaults)
createMessageHelpers MessageHelpers
createRequestHelpers RequestHelpers MessageHelpers
createServerRequestHelpers ServerRequestHelpers RequestHelpers
createResponseHelpers ResponseHelpers MessageHelpers
createUriHelpers UriHelpers

Requirements

  • node: 22

Installation

Through NPM as @chubbyts/chubbyts-http.

npm i @chubbyts/chubbyts-http@^3.2.1

Usage

Uri
import { createUriFactory } from '@chubbyts/chubbyts-http/message-factory';

const uriFactory = createUriFactory();

const uri = uriFactory(
  'https://user:password@localhost:10443/api?key1=value1&key2[]=value2&key3[key31]=value3#fragment',
);
// {
//   scheme: 'https',
//   userInfo: 'user:password',
//   host: 'localhost',
//   port: 10443,
//   path: '/api',
//   query: 'key1=value1&key2[]=value2&key3[key31]=value3',
//   fragment: 'fragment',
// }
Body
import { text } from 'node:stream/consumers';
import { createBodyFactory, createBodyFromFileFactory } from '@chubbyts/chubbyts-http/message-factory';

const bodyFactory = createBodyFactory();
const bodyFromFileFactory = createBodyFromFileFactory();

const body = bodyFactory('content');
const bodyFromFile = bodyFromFileFactory('/path/to/file'); // throws if there is no file at this path

await text(body); // 'content'

createStreamFactory and createStreamFromFileFactory are deprecated aliases of createBodyFactory and createBodyFromFileFactory.

Any Node.js stream (like an IncomingMessage) or web ReadableStream already is a body, it needs no factory. Errors while reading (e.g. a failing file read) get thrown while iterating the body.

Request
import { createRequestFactory, createServerRequestFactory } from '@chubbyts/chubbyts-http/message-factory';

const requestFactory = createRequestFactory();
const serverRequestFactory = createServerRequestFactory();

const request = requestFactory('GET', 'https://localhost/api');
const serverRequest = serverRequestFactory('GET', 'https://localhost/api'); // with empty attributes

Requests and responses get created with protocol version 1.1, no headers and an empty body. Each request gets its own signal, which never gets aborted: a bridge replaces it with one it aborts when the client disconnects (e.g. with requestHelpers.withSignal).

Response

The reason phrase falls back to the one of STATUS_CODES:

import { createResponseFactory } from '@chubbyts/chubbyts-http/message-factory';

const responseFactory = createResponseFactory();

const response = responseFactory(404); // reasonPhrase: 'Not Found', empty body
const customResponse = responseFactory(404, 'Gone Fishing'); // reasonPhrase: 'Gone Fishing'

The body gets set with the response helpers, e.g. responseHelpers.withBody(response, bodyFactory('content')).

Helpers

The helpers follow the rules of chubbyts/chubbyts-http-types, getQueryParams and withQueryParams use qs with its defaults (keys changing the prototype get ignored, depth 5, 20 array items, 1000 parameters).

import {
  createResponseHelpers,
  createServerRequestHelpers,
  createUriHelpers,
} from '@chubbyts/chubbyts-http/message-helper';

const serverRequestHelpers = createServerRequestHelpers(); // contains the request and message helpers
const responseHelpers = createResponseHelpers(); // contains the message helpers
const uriHelpers = createUriHelpers();

serverRequestHelpers.getHeaderLine(serverRequest, 'Accept'); // 'application/json, text/html'

const responseWithStatus = responseHelpers.withStatus(response, 404); // reasonPhrase: 'Not Found'
const responseWithHeader = responseHelpers.withHeader(responseWithStatus, 'Content-Type', 'application/json');

uriHelpers.toString(uriHelpers.withPath(uri, '/a b')); // 'https://localhost/a%20b'

serverRequestHelpers.getCookieParams(serverRequest); // { session: 'abc' }
serverRequestHelpers.getQueryParams(serverRequest); // { key1: 'value1', key2: ['value2'], key3: { key31: 'value3' } }
serverRequestHelpers.withQueryParams(serverRequest, { key: ['value'] }); // uri.query: 'key%5B0%5D=value'

const responseWithCookie = responseHelpers.withCookie(response, '__Host-session', 'abc', {
  path: '/',
  secure: true,
  httpOnly: true,
  sameSite: 'Lax',
}); // set-cookie: __Host-session=abc; Path=/; Secure; HttpOnly; SameSite=Lax

Copyright

2026 Dominik Zogg

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 @chubbyts/chubbyts-http

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

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

PolinRider Returns
Research

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

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