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

Latest version: v5.0.0-alpha.537

Overview

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

Scan summary

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

  • Releases: 485 versions; the latest 5 were published on 24 Nov 2026.
  • Findings: No rules fired in version 5.0.0-alpha.537.
  • Downloads: 85,516 downloads.

Versions

485 versions published
Versions and the rules that fired in each
VersionPublishedStatus
5.0.0-alpha.537 LATEST 24 Nov 2026 No rules fired
5.0.0-alpha.536 24 Nov 2026 Not shown
5.0.0-alpha.535 24 Nov 2026 Not shown
5.0.0-alpha.534 24 Nov 2026 Not shown
5.0.0-alpha.533 24 Nov 2026 Not shown

No rules fired in 5.0.0-alpha.537

Findings

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

README

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

@theholocron/astromech

The Holocron task runner. One task manifest per repo, and every derived surface comes from it: holocron run (local), holocron ci (the CI suite run locally), the generated GitHub Actions workflows, the package.json scripts, the linter set, and the branch-protection required-checks list.

An astromech droid runs a starfighter's maintenance, diagnostics and system wiring while the pilot flies. This does that for a repo.

A plain library — not a capability plugin. @theholocron/cli depends on it and instantiates it once.

Installation

pnpm add @theholocron/astromech

Usage

import { createAstromech } from "@theholocron/astromech";

const astromech = createAstromech({ cwd });

const report = astromech.run("test", { passthrough: ["--watch"] });
// → { status: "ok" | "fail" | "skip" | "dry-run" | "unknown", command?, message? }
holocron run <task> resolution

holocron run test runs your tests — you don't tell it turbo vs pnpm vs npm, or which runner:

1. turbo.json defines the task            → turbo run <task>
2. package.json has a <task> script       → <detected pm> run <task>
   (a "holocron run …" thin caller is skipped — no recursion)
3. the registry has a local runner        → <tool> <args> <org-flags>   (e.g. --coverage)
4. known task, nothing to run             → "no <task> task", exit 0  (exit 1 with --required)
5. unknown task                           → error, exit 1

The registry (TASKS) covers test / typecheck / lint / build / sync / wiki; codeql / deploy have no local equivalent. Adding a task here gives every repo that task.

Config — @theholocron/astromech/config

The config surface lives in a zero-runtime-dep subpath so astromech.config.ts and @theholocron/cli import it without pulling the runner.

// astromech.config.ts
import { defineConfig } from "@theholocron/astromech/config";

export default defineConfig({
  tasks: [
    "typecheck",
    { name: "test", required: true, with: { "run-coverage": true } },
    { name: "audit", ci: true, local: false }, // CI-only
  ],
});

loadTasksConfig(cwd) resolves the manifest: the tasks key of holocron.config.* (a bare item array), then a dedicated astromech.config.* merged on top (dedicated wins; arrays concatenate).

TaskEntry field Effect
ci (default true) emit the CI workflow; include in holocron ci
local (default true) write the package.json script; holocron run resolves it
local: false holocron run <name> → "CI-only task", exit 0
required the task's check context is a required status check
with per-repo overrides on the reusable-workflow channel
linters (lint only) explicit linter list; omitted → auto-detect

Top-level keys: syncScripts: false disables the package.json script writes entirely; holocronScript sets the command the synced "holocron" script runs (default "holocron").

Generated surfaces
const astromech = createAstromech({ cwd, config, orgContext: { org, domain } });

astromech.thinCallers(); // Map<"<name>.yml", yaml>  — one per templated, ci-enabled task
astromech.packageScripts(); // { holocron: "holocron", lint: "holocron run lint", … }
astromech.requiredChecks(); // ["Lint / Conclusion", "codecov/patch", …]  — branch-protection contexts
astromech.codecovConfig(existing); // codecov.yml content — merges into `existing`, or scaffolds fresh when null
astromech.ci({ scope: "required" }); // CiReport — run the gating checks locally, in CI order

ci() runs every required: true task (else every ci: true task) through the same resolution as run(), in CI_ORDER, and returns { status, jobs }. A required task whose local runner can't run is a failure; local: null tasks (audit / codeql / deploy) are reported skipped. holocron ci sets the process exit code from status.

thinCallers() returns the raw .github/workflows/*.yml content (no generated-by header — the caller prefixes its own). deploy with preview: shorthand produces the combined push-to-Pages / PR-to-preview workflow. packageScripts() emits the holocron entry (holocronScript ?? "holocron") plus one "<task>": "holocron run <task>" per runnable task; it skips local: false entries and tasks with no local runner (codeql, deploy), and returns {} when syncScripts: false or there is no config.

Required checks

requiredChecks() derives the branch-protection required-status-check list from the manifest: every { required: true } task's check context (the … / Conclusion aggregate job, from WORKFLOW_CHECK_CONTEXTS), ordered by CI_ORDER, then config.extraRequiredChecks (codecov gates, the bundle-build check, …), de-duplicated. holocron setup prepends "DCO" and applies the list for protection: "strict" repos. Policy-free — manifest only.

holocron run itself does not read the config yet — that (and holocron ci) come in later phases (epic #581).

codecov.yml

codecovConfig(existing) generates this repo's codecov.yml — component paths derived from packages/* and apps/* (monorepo templates ship user-facing code under apps/ alongside library code under packages/; readWorkspacePackages() scans both and tags each result with the dir it came from), same manifest-derived category as thinCallers(). Pass the current file's content (or null) and it either merges the individual_components list in (preserving everything else in the file — thresholds, flags, custom rules) or scaffolds a fresh file from the base template. holocron setup writes the result via the source capability; this method never touches the filesystem beyond reading packages/* and apps/* under cwd. Moved here from @theholocron/cli (#650) — the coverage setup tracks the test task, the same way required checks track tasks.

Lint parity

One linter list drives both CI and local — no asymmetry. Source: the lint task's linters array, or auto-detection from the config files present. The linter name → super-linter VALIDATE_* keys mapping lives in one place, src/linters.ts.

linter VALIDATE_* always-on local binary
eslint JAVASCRIPT_ES, TYPESCRIPT_ES on eslint.config.* / .eslintrc* eslint .
prettier *_PRETTIER (JS/JSX/TS/TSX/MD) + FIX_* yes prettier --check .
yamllint YAML yes yamllint . (usually CI-only)
actionlint GITHUB_ACTIONS yes actionlint (usually CI-only)
gitleaks GITLEAKS yes gitleaks dir (usually CI-only)
editorconfig EDITORCONFIG yes editorconfig-checker (usually CI-only)
commitlint GIT_COMMITLINT yes — (commit-msg hook + CI)
git-merge-conflict-markers GIT_MERGE_CONFLICT_MARKERS yes — (CI only)
markdownlint MARKDOWN on .markdownlint* markdownlint-cli2
import { superLinterConfig, resolveLinters } from "@theholocron/astromech";

superLinterConfig({ explicit: ["eslint", "prettier"], rootFiles: fs.readdirSync(cwd) });
// → { env: { VALIDATE_JAVASCRIPT_ES: "true", … }, linters: ["eslint","prettier"], configInputs: { … } }

superLinterConfig().env is the exact VALIDATE_*/FIX_* map the CI lint job needs — the CLI serializes it as the super-linter-env input on each repo's generated lint thin caller. Setting any VALIDATE_* puts super-linter in allow-list mode, so emitting only the enabled keys makes it run exactly the resolved set.

holocron run lint (later phase) runs the same set natively: turbo run lint for the eslint portion (cached), then each other linter whose binary resolves; linters with a binary that is not on PATH are flagged with an install hint; the rest print "CI only".

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

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

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

CVE

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

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

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

Frame 2085668439 (1)
Group 1261154229