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/cloudflare-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
112 Versions
14.8K Downloads
TypeScript Repo language

Scan summary

@theholocron/cloudflare-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: 112 versions; the latest 5 were published within 4 days (20–23 Nov 2026).
  • Findings: No rules fired in version 1.58.0-alpha.54.
  • Downloads: 14,780 downloads.

Versions

112 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.51 22 Nov 2026 No rules fired
1.58.0-alpha.50 21 Nov 2026 Not shown
1.58.0-alpha.49 20 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/cloudflare-client

TypeScript client for the Cloudflare v4 API.

Install

pnpm add @theholocron/cloudflare-client

Usage

import { createCloudflareClient } from "@theholocron/cloudflare-client";

const cf = createCloudflareClient({ token: process.env.CLOUDFLARE_API_TOKEN! });

// Verify token
const verification = await cf.tokens.verify();

// Look up a zone by domain name
const zones = await cf.zones.list({ name: "example.com" });
const zoneId = zones[0].id;

// List DNS records in a zone
const records = await cf.dns.list(zoneId);

// Create a DNS record
const record = await cf.dns.create(zoneId, {
  type: "CNAME",
  name: "www",
  content: "cname.vercel-dns.com",
  ttl: 1,
  proxied: false,
});

// Update a DNS record
await cf.dns.update(zoneId, record.id, { content: "new.target.com" });

// Delete a DNS record
await cf.dns.delete(zoneId, record.id);

// Create a Cloudflare Tunnel
const tunnel = await cf.tunnels.create("my-account-id", { name: "my-tunnel" });

// Get the tunnel connector token
const tunnelToken = await cf.tunnels.token("my-account-id", tunnel.id);

// Read/write tunnel ingress configuration
const { config } = await cf.tunnels.getConfig("my-account-id", tunnel.id);
await cf.tunnels.putConfig("my-account-id", tunnel.id, {
  ingress: [{ hostname: "app.example.com", service: "http://localhost:3000" }, { service: "http_status:404" }],
});

// Delete a tunnel (cascade removes all associated routes and DNS records)
await cf.tunnels.delete("my-account-id", tunnel.id);

Usage — Pages

const cf = createCloudflareClient({ token: process.env.CLOUDFLARE_API_TOKEN! });
const ACCOUNT = process.env.CLOUDFLARE_ACCOUNT_ID!;

// Ensure a Pages project exists
const existing = await cf.pages.getProject(ACCOUNT, "my-docs-preview");

// Create a project
const project = await cf.pages.createProject(ACCOUNT, {
  name: "my-docs-preview",
  production_branch: "main",
});

// Trigger a preview deployment for a branch
const deployment = await cf.pages.createDeployment(ACCOUNT, "my-docs-preview", "feat/my-feature");
console.log(deployment.url); // https://<hash>.my-docs-preview.pages.dev

// Get deployment status
const status = await cf.pages.getDeployment(ACCOUNT, "my-docs-preview", deployment.id);

// Add a custom domain to the project
await cf.pages.addDomain(ACCOUNT, "my-docs-preview", "*.preview.example.dev");

// List custom domains
const domains = await cf.pages.listDomains(ACCOUNT, "my-docs-preview");

// Set an env var on a project
await cf.pages.updateProject(ACCOUNT, "my-docs-preview", {
  deployment_configs: {
    preview: { env_vars: { MY_VAR: { value: "hello", type: "plain_text" } } },
    production: { env_vars: {} },
  },
});

Usage — Workers

const cf = createCloudflareClient({ token: process.env.CLOUDFLARE_API_TOKEN! });
const ACCOUNT = process.env.CLOUDFLARE_ACCOUNT_ID!;

// Deploy (or update) a Worker script
await cf.workers.putScript(ACCOUNT, "my-worker", "export default { fetch() { … } };");

// Set a secret — one call both stores the encrypted value and binds it as
// `env.MY_SECRET` in the Worker; values are write-only, never echoed back
await cf.workers.putSecret(ACCOUNT, "my-worker", "MY_SECRET", "shh");

// List secret names bound to a script (no values)
const secrets = await cf.workers.listSecrets(ACCOUNT, "my-worker");

// Remove a secret binding
await cf.workers.deleteSecret(ACCOUNT, "my-worker", "MY_SECRET");

// Route management — zone-scoped
const routes = await cf.workers.listRoutes("zone-id");
await cf.workers.createRoute("zone-id", "example.com/*", "my-worker");
await cf.workers.updateRoute("zone-id", routes[0].id, "example.com/*", "my-worker");

Auth

Create an API Token with the permissions your use case requires:

Use case Required permissions
DNS management Zone:Read, DNS:Edit
Tunnel management Account:Cloudflare Tunnel:Edit
Pages deployments Account:Cloudflare Pages:Edit
Workers + secrets Account:Workers Scripts:Edit
Worker routes Zone:Workers Routes:Edit
Token verification User:API Tokens:Read

Pass the token directly or via the CLOUDFLARE_API_TOKEN environment variable.

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/cloudflare-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

PHP2Shell, Day 5 93.6% of Measurable Instances Still Unpatched (1)
Vulnerability Insights

PHP2Shell, Day 5: The Panic Hasn’t Turned Into Patching

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Copy of Template Design OX Blog (1)
Research

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

Frame 2085668439 (1)
Group 1261154229