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/posthog-client

Latest version: v1.58.0-alpha.56

Overview

Last scanned
24 Nov 2026
Published
24 Nov 2026
npm package Publisher: thenewton
0 Stars
0 Forks
102 Versions
13.0K Downloads
TypeScript Repo language

Scan summary

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

  • Releases: 102 versions; the latest 5 were published within 2 days (23 and 24 Nov 2026).
  • Findings: No rules fired in version 1.58.0-alpha.56.
  • Downloads: 13,023 downloads.

Versions

102 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.58.0-alpha.56 LATEST 24 Nov 2026 No rules fired
1.58.0-alpha.55 23 Nov 2026 No rules fired
1.58.0-alpha.54 23 Nov 2026 No rules fired
1.58.0-alpha.53 23 Nov 2026 Not shown
1.58.0-alpha.52 23 Nov 2026 Not shown

No rules fired in 1.58.0-alpha.56

Findings

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

README

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

@theholocron/posthog-client

A TypeScript client for the PostHog management API — wraps the personal API key endpoints for users and projects.

Installation

pnpm add @theholocron/posthog-client

Usage

import { createPostHogClient } from "@theholocron/posthog-client";

const client = createPostHogClient({
  token: process.env.POSTHOG_PERSONAL_API_KEY!,
  // host: "https://eu.posthog.com", // EU cloud
  // host: "https://posthog.mycompany.com", // self-hosted
});

// Get the current user
const user = await client.users.me();
console.log(user.organization.slug);

// List projects
const { results } = await client.projects.list();

// Find or create a project
const found = results.find((p) => p.name === "my-app");
const project = found ?? (await client.projects.create({ name: "my-app" }));
console.log(project.api_token); // phc_* tracking token

API

createPostHogClient(opts)
Option Type Default Description
token string — Personal API key (phx_*) from PostHog account settings
host string https://app.posthog.com PostHog host — US cloud, EU cloud, or self-hosted URL
baseUrl string — Override base URL for testing; takes precedence over host
fetch typeof fetch globalThis.fetch Override fetch for testing

Returns a client with two resource namespaces:

client.users
Method Description
me() GET /api/users/@me/ — current user
client.projects
Method Description
list() GET /api/projects/ — all accessible projects
create(input) POST /api/projects/ — create a project by name

The api_token on each project is the client-side tracking token (phc_*) used with posthog-js / posthog-node.

License

GPL-3.0 © Newton Koumantzelis

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

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

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

Frame 2085668439 (1)
Group 1261154229