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

@gumlet/nodejs-sdk

Latest version: v1.10.0

Overview

Last scanned
27 Nov 2026
Published
27 Nov 2026
npm package Publisher: adityapatadia, vatsal_gumlet
0 Stars
0 Forks
74 Versions
2.2K Downloads
TypeScript Repo language

Scan summary

@gumlet/nodejs-sdk was last scanned on 27 Nov 2026 at version 1.10.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 74 versions; the latest 4 were published within 5 days (23–27 Nov 2026).
  • Findings: No rules fired in version 1.10.0.
  • Downloads: 2,158 downloads.

Versions

74 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.10.0 LATEST 27 Nov 2026 No rules fired
1.9.3 24 Nov 2026 No rules fired
1.9.2 24 Nov 2026 No rules fired
1.9.0 23 Nov 2026 Not shown
1.8.1 19 Nov 2026 Not shown

No rules fired in 1.10.0

Findings

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

README

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

Gumlet

This library provides convenient access to the Gumlet REST API from TypeScript or JavaScript.

The full API of this library can be found in api.md.

Contents

  • Installation
  • Usage
  • API Reference
  • Authentication
  • Errors
  • Client Options
  • Request Options
  • Retries and Timeouts
  • Webhooks
  • Helpers
  • Logging
  • Requirements

Installation

npm install @gumlet/nodejs-sdk

Usage

import Gumlet from '@gumlet/nodejs-sdk';

const client = new Gumlet({
  apiKey: process.env['API_KEY'], // defaults to the API_KEY env var
});

const videoAsset = await client.videoAssets.create({
  format: 'ABR',
  workspace_id: '<your workspace id>',
  title: 'Example Title',
  input: 'http://devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8',
});

console.log(videoAsset);

The examples in the following sections assume a client configured as shown above.

See the API reference for every available operation.

Authentication

Pass credentials to the generated client constructor. Environment variables are read automatically when supported by the target runtime.

Option Type Default Description
apiKey string \| AuthTokenProvider - Credential for the API_KEY scheme. Defaults to API_KEY.

Declared schemes:

  • API_KEY bearer token

Errors

Non-success responses throw generated API errors. Error objects expose status, headers, response body, and request metadata where the target runtime supports it.

import { APIError } from '@gumlet/nodejs-sdk';

try {
  const videoAsset = await client.videoAssets.create({
    format: 'ABR',
    workspace_id: '<your workspace id>',
    title: 'Example Title',
    input: 'http://devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8',
  });
} catch (err) {
  if (err instanceof APIError) {
    console.log(err.status, err.name, err.headers);
  }
  throw err;
}

Documented error statuses: 400, 401, 402, 403, 404, 413, 422, 500.

Client Options

Configure the generated client by setting any of these options when you create it.

import Gumlet from '@gumlet/nodejs-sdk';

const client = new Gumlet({
  timeout: 60000,
  maxRetries: 2,
  logLevel: 'debug',
});
Option Type Default Description
apiKey string \| AuthTokenProvider process.env["API_KEY"] Credential for the API_KEY scheme.
baseURL string \| null process.env["GUMLET_BASE_URL"] Override the default API base URL. Pass null when selecting a configured environment.
timeout number 60000 Maximum time in milliseconds to wait for a response before aborting a request.
maxRetries number 2 Number of retries for temporary failures.
defaultHeaders HeadersInit - Headers sent with every request.
defaultQuery Record<string, string \| undefined> - Query parameters sent with every request.
fetchOptions RequestInit - Additional fetch options sent with every request.
fetch Fetch - Custom fetch implementation. A file upload to a pre-signed URL uses it only when wrapped in signedUploadTransport(fetch), which declares that it adds no credentials or headers of its own except for the API's own origin.
logLevel "off" \| "error" \| "warn" \| "info" \| "debug" process.env["GUMLET_LOG"] ?? "warn" Controls request and retry debug logging. "off" turns logging off.
logger Logger console Custom logger implementation.

Request Options

Option Type Default Description
headers HeadersInit - Per-request headers.
query Record<string, unknown> - Per-request query parameters.
body unknown - Override the generated request body.
timeout number - Per-request timeout in milliseconds.
maxRetries number - Per-request retry count.
signal AbortSignal - Abort an in-flight request.
fetchOptions RequestInit - Per-request fetch options.
idempotencyKey string - Idempotency key for retry-safe operations. Applies to this request and its retries.

Retries and Timeouts

Generated clients support request timeouts and retry temporary failures such as network errors, 408, 409, 429, and 5xx responses. Retry delays honor Retry-After headers when present. Tune the retry and timeout client options shown above, or override them per request.

Webhooks

The webhook helper verifies the signature of each delivery your server receives, then decodes its body into a typed event. Pass it the request body exactly as it arrived, before any JSON parsing, together with the request headers: the signature covers the raw body, so one that was parsed and re-serialized fails verification. A delivery whose signature does not verify is rejected before it is decoded.

// `body` is the raw request body as a string; `headers` holds the request headers.
const event = client.webhooks.unwrap(body, { headers });

The signing secret comes from the client's webhookSecret option, which defaults to the GUMLET_WEBHOOK_SECRET environment variable. Pass key to use a different secret for one call.

A delivery that fails verification throws WebhookVerificationError, exported from the package root. Check for it with isWebhookVerificationError(error), exported beside it:

import { isWebhookVerificationError } from '@gumlet/nodejs-sdk';

try {
  const event = client.webhooks.unwrap(body, { headers });
} catch (error) {
  if (!isWebhookVerificationError(error)) throw error;
  // Not a genuine delivery: reject it, for example with a 400 response.
}

The guard needs no setup: it matches the SDK's class and its subclasses, and the standardwebhooks class of the same name from any copy of that library, in every runtime. WebhookVerificationError extends Error, not the SDK's base error class, so a handler that catches the SDK's API errors does not also catch a forged or stale delivery.

A handler that still imports WebhookVerificationError from standardwebhooks and checks instanceof against it matches the SDK's refusals as follows:

Where the handler runs instanceof against the standardwebhooks class
Node or Bun, loading standardwebhooks from the application's node_modules (CommonJS or ES modules) Matches on its own
A Jest test with Jest's default CommonJS modules Matches on its own
An application bundled with webpack, esbuild or Vite Needs registerWebhookErrorClass
A browser Needs registerWebhookErrorClass
An edge runtime Needs registerWebhookErrorClass
A Jest test that runs as ES modules Needs registerWebhookErrorClass

Register the class your application imports once, at startup, and instanceof matches everywhere:

import { WebhookVerificationError } from 'standardwebhooks';
import { registerWebhookErrorClass } from '@gumlet/nodejs-sdk';

registerWebhookErrorClass(WebhookVerificationError);

Registering is safe to repeat, and it only adds the SDK's refusals to what the class matches.

The same resource also has:

  • client.webhooks.verifySignature(body, headers) checks a delivery's signature, and fails when it does not verify.
  • client.webhooks.parseUnsafe(body) decodes a body into a typed event without checking its signature. Use it only for a body verified elsewhere, or in tests.

Helpers

  • Use .withResponse() on a request to inspect both parsed data and the raw Response object.
  • Every operation returns an APIPromise, so you can await it directly or chain .withResponse() — except a method that uploads a file to a pre-signed URL (a signed upload), which resolves to a plain Promise of its result.

Logging

  • Set logLevel: "debug" to log request URLs, options, response status, response headers, and retry attempts.
  • Pass a custom logger to route logs into your own observability pipeline.
  • Set logLevel: "off" to turn logging off, whatever GUMLET_LOG says. Without logLevel, the client reads that environment variable, then defaults to "warn".

Requirements

  • Node.js 20+, a modern browser, or any runtime with fetch support

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 @gumlet/nodejs-sdk

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

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Frame 2085668439 (1)
Group 1261154229