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

@theholocron/netlify-client

Latest version: v1.58.0-alpha.54

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
npm package Publisher: thenewton
0 Stars
0 Forks
67 Versions
12.4K Downloads
TypeScript Repo language

Scan summary

@theholocron/netlify-client was last scanned on 23 Nov 2026 at version 1.58.0-alpha.54. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 67 versions; the latest 5 were published within 3 days (21–23 Nov 2026).
  • Findings: No rules fired in version 1.58.0-alpha.54.
  • Downloads: 12,358 downloads.

Versions

67 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.58.0-alpha.54 LATEST 23 Nov 2026 No rules fired
1.58.0-alpha.53 23 Nov 2026 No rules fired
1.58.0-alpha.52 23 Nov 2026 No rules fired
1.58.0-alpha.51 22 Nov 2026 Not shown
1.58.0-alpha.50 21 Nov 2026 Not shown

No rules fired in 1.58.0-alpha.54

Findings

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

README

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

@theholocron/netlify-client

TypeScript client for the Netlify API.

Install

pnpm add @theholocron/netlify-client

Usage

import { createNetlifyClient } from "@theholocron/netlify-client";

const netlify = createNetlifyClient({
  token: process.env.NETLIFY_AUTH_TOKEN!,
});

// List sites
const sites = await netlify.sites.list();

// Get a site by id
const site = await netlify.sites.get("site-id");

// Create a site — scoped to /{account_slug}/sites, not account id
const created = await netlify.sites.create("my-team-slug", { name: "my-site" });

// Patch a site (e.g. attach a custom domain)
await netlify.sites.update("site-id", { custom_domain: "example.com" });

// Trigger a build from a git-linked site's default branch
const { deploy_id } = await netlify.sites.triggerBuild("site-id");

// Create a deploy — static files (plain text) and/or functions (pre-built
// zips). This is the digest-based flow: real, invokable functions — not
// the single-whole-zip method, which only deploys static assets.
import { buildZip } from "@theholocron/netlify-client";

const functionZip = buildZip({
  "webhook.mjs": "exports.handler = async () => ({ statusCode: 200, body: 'ok' });",
});
const deploy = await netlify.deploys.create("site-id", {
  files: { "index.html": "<!doctype html><title>status</title>" },
  functions: [{ name: "webhook", zip: functionZip }],
});

// Get a deploy by id
const status = await netlify.deploys.get(deploy.id);

// List account-scoped env vars for a site
const vars = await netlify.env.list("account-id", "site-id");

// Set (upsert) one value for one context on a key — Netlify's PUT /env/{key}
// replaces the entire values array, so this reads the current list first
await netlify.env.set("account-id", "site-id", "API_URL", "production", "https://api.example.com");

Notes

  • Functions need the digest flow — the single-zip method doesn't deploy functions at all. Confirmed live: a function file placed inside a single whole-site zip (POST .../deploys with Content-Type: application/zip) is served as an inert static asset, never wired up as a Lambda. deploys.create()'s functions field uses the real flow (SHA1 file manifest + SHA256 function manifest, then PUT .../functions/{name}?runtime=js) — this is the only way to ship an actually-invokable function through this API.
  • A function's zip entry file basename must exactly match the function name. Confirmed live: naming the function webhook but the zip's entry file handler.mjs fails at invoke time with Runtime.ImportModuleError: Cannot find module 'webhook'. No nested paths either (unlike Vercel's api/webhook.mjs) — the file needs to sit at the zip root as <name>.mjs (or .js).
  • runtime: "js" expects a classic CommonJS/Lambda handler, not the modern (Request) => Response style. Confirmed live: export default (req) => new Response(...) deploys without error but fails at invoke time with Runtime.HandlerNotFound: <name>.handler is undefined or not exported. Use exports.handler = async (event, context) => ({ statusCode, headers, body }) (or the ESM equivalent, export const handler = ...) instead.
  • No build step on a function upload. Netlify runs no npm install or configured build command for a raw API-uploaded function, unlike a Git-linked deploy (or netlify deploy run locally via the CLI). If the function imports anything beyond Node builtins, its zip needs a real node_modules included — resolve dependencies into the zip yourself before calling create().
  • Sites are account-slug-scoped to create, account-id-scoped for env vars. Netlify's own API is inconsistent here — POST /{account_slug}/sites but GET/POST/PUT /accounts/{account_id}/env. Not something this client can paper over; pass whichever one each method asks for. The slug is also mutable (an account/team can rename it in settings) — don't treat a previously-observed slug as permanent.
  • state on a deploy is a free-form string, not a published enum. Known values seen in practice: new, building, uploading, uploaded, preparing, prepared, processing, ready, error, retrying, current.

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 @theholocron/netlify-client

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

CVE

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

Microsoft's Official agent framework Hijacked
AI & VibeSec

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

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229