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

Latest version: v5.0.0-alpha.525

Overview

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

Scan summary

@theholocron/datapad was last scanned on 23 Nov 2026 at version 5.0.0-alpha.525. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 478 versions; the latest 5 were published on 23 Nov 2026.
  • Findings: No rules fired in version 5.0.0-alpha.525.
  • Downloads: 86,397 downloads.

Versions

478 versions published
Versions and the rules that fired in each
VersionPublishedStatus
5.0.0-alpha.525 LATEST 23 Nov 2026 No rules fired
5.0.0-alpha.524 23 Nov 2026 No rules fired
5.0.0-alpha.523 23 Nov 2026 No rules fired
5.0.0-alpha.522 23 Nov 2026 Not shown
5.0.0-alpha.521 23 Nov 2026 Not shown

No rules fired in 5.0.0-alpha.525

Findings

Findings for v5.0.0-alpha.525. 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 5.0.0-alpha.525; other versions have their own rules, not their own score.

README

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

@theholocron/datapad

Generic config-file loading for Holocron. Discover <name>.config.*, load it (JSON / JS / TS / ESM / CJS — typed configs via tsx, no build step), layer a dedicated file over a key of a parent file, deep-merge, and hand back a plain object.

Holocron-agnostic: no schema, no validation, no defaults. Consumers (@theholocron/cli for holocron.config.*, @theholocron/astromech for astromech.config.*) build those on top.

A datapad is a handheld device for reading and holding data. This reads and holds config files.

Installation

pnpm add @theholocron/datapad

Usage

import { loadConfigFile, loadLayered, mergeConfig, createDefineConfig } from "@theholocron/datapad";

// one file: holocron.config.{ts,js,mjs,cjs,json}
const found = await loadConfigFile<MyConfig>({ cwd, name: "holocron" });
// → { config, filepath } | null

// a dedicated file layered over the `tasks` key of a parent file
const layered = await loadLayered<TasksConfig>({
  cwd,
  name: "astromech",
  fallback: { file: "holocron", key: "tasks" },
});
// → { config, filepath, sources } | null   (dedicated wins on conflict)

const merged = mergeConfig(defaults, layered?.config); // vite-style deep merge

// a typed identity defineConfig for a specific shape
export const defineConfig = createDefineConfig<TasksConfig>();

API

loadConfigFile<T>({ cwd, name, extensions? })

Loads the first <name>.config.<ext> found in cwd. Probe order is TS-first — .ts → .js → .mjs → .cjs → .json — overridable via extensions. Returns { config, filepath } | null. null means "no such file"; a file that exists but cannot be parsed / loaded / has no default export throws ConfigFileError.

loadLayered<T>({ cwd, name, fallback?, extensions? })

<name>.config.* layered over the [fallback.key] of <fallback.file>.config.*. Either, both, or neither may be present; the dedicated file wins on conflict (vitest-over-vite). Returns { config, filepath, sources } | null — sources lists the absolute paths actually merged, lowest priority first.

mergeConfig<T>(base, override)

Deep-merge, vite-style: plain objects merge recursively, arrays concatenate (base first), undefined in override is skipped, every other override value replaces base. Neither input is mutated.

createDefineConfig<T>()

Returns a typed identity function — call once per config shape and re-export it so config files get autocomplete with zero runtime cost.

ConfigFileError

Thrown when a file is found but unusable. Carries the offending filepath. "Not found" is null, never an error.

TypeScript configs

.ts files load through tsx's ESM loader, registered once per process on first use. A single run may load several TS configs (loadLayered reads a dedicated file and a parent file), so the persistent register() is used rather than the one-off tsImport().

Development

Script Description
pnpm build Bundle with tsdown
pnpm test Run the vitest suite
pnpm test:coverage Run tests with coverage
pnpm typecheck tsc --noEmit
pnpm lint ESLint

Releases

Automated via semantic-release. See CHANGELOG.md.

Documentation

https://theholocron.github.io/holocron/

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

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

Vulnerability Insights

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

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Frame 2085668439 (1)
Group 1261154229