Scan your whole stack
From OX Research Newsroom
Are you using @theholocron/cli?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v5.0.0-alpha.537
@theholocron/cli was last scanned on 24 Nov 2026 at version 5.0.0-alpha.537. Risk score 0 of 100. High-severity rules fired.
| Version | Published | Status |
|---|---|---|
| 5.0.0-alpha.537 LATEST | 24 Nov 2026 | 1 rule fired |
| 5.0.0-alpha.536 | 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 |
| 5.0.0-alpha.532 | 23 Nov 2026 | Not shown |
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.
Several behaviors that are each common on their own, such as reading registry credentials, contacting a variable host or running shell commands, appear together in this package in a combination associated with attacks. The finding message lists the behaviors that were combined.
HIGHThe score describes 5.0.0-alpha.537; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
@theholocron/cliThe Holocron CLI — a pluggable, capability-based orchestrator for spinning up and operating software projects.
pnpm add -g @theholocron/cli@alpha
holocron --help
Run holocron with no command, a parent command with no subcommand
(holocron auth, holocron skills, holocron upgrade), or a leaf command
missing a required positional (holocron deploy, holocron secret set), and
you get a prompt instead of a --help dead end:
$ holocron
? What would you like to do? › dep
────────────────────────────────────────────────
❯ deploy Trigger a deployment via the configured `deployment` capability
? Branch to deploy: › main
The picked command spawns as a normal holocron <command> … invocation —
--token, --org, --cwd, and --dry-run on the original invocation carry
through. A non-interactive shell (CI, a script, a pipe) gets the old
hard-failure message instead of hanging on a prompt.
Every command is tagged with how much of a repo it needs:
| Context | Needs | Examples |
|---|---|---|
global |
just the CLI binary | version, clone, new, upgrade node, auth set / check, plugin create, skills … |
repo-aware |
./holocron.config in cwd, no plugins |
run, ci, config show, sync-readme |
workspace |
the @theholocron/holocron-plugin-* packages resolvable |
doctor, setup, sync, secrets sync, deploy |
A workspace command run from a bare global install (no plugins next to the
CLI) fails with one actionable line — install the plugins as devDependencies or
use pnpm exec holocron <cmd>. auth check degrades to "token present,
verification skipped" instead. holocron --help prints the grouping; see
Execution Contexts.
Holocron reads holocron.config.{json,js,ts} from the project root
(priority: json → js → ts).
JSON (simplest):
// holocron.config.json
{
"name": "my-app",
"providers": {
"vault": ["1password", { "vault": "my-app" }],
"source": "github",
},
}
JS/TS — use defineConfig for autocomplete and type-checking:
// holocron.config.ts
import { defineConfig } from "@theholocron/cli";
export default defineConfig({
name: "my-app",
providers: {
vault: ["1password", { vault: "my-app" }],
source: "github",
},
});
name and repo.name are optional. When absent, Holocron fills them
in at load time:
| Field | Derived from | Fallback |
|---|---|---|
name |
package.json → name field (scope stripped) |
directory basename |
repo.name |
git remote get-url origin (parsed to owner/repo) |
not set |
A minimal config — for repos with a package.json and a GitHub remote
— only needs providers:
Additional repo fields recognised by holocron setup:
| Field | Type | Description |
|---|---|---|
repo.teams |
Array<string \| { slug, permission }> |
GitHub teams granted repo access. String shorthand defaults to push (Write). holocron setup also writes .github/CODEOWNERS for teams with push/maintain/admin. |
repo.topics |
string[] |
GitHub topics set on the repository. |
repo.protection |
"balanced" \| "strict" \| "none" |
Branch-protection preset applied by holocron setup. For "strict", the required status checks are derived from the task manifest — see below. |
repo.properties |
RepoProperties |
Org-level custom property values synced to the GitHub dashboard. |
protection: "strict")holocron setup builds the branch-protection required-check list from the
manifest, not a hand-maintained array:
"DCO" (hard-prepended), then{ required: true } task's workflow check context (Lint / Conclusion,
Test / Conclusion, Typecheck / Conclusion, audit / Conclusion), walked
in CI order, thenextraRequiredChecks (codecov gates, a bundle-build check, …).export default defineConfig({
tasks: [
{ name: "lint", required: true },
{ name: "test", required: true },
{ name: "typecheck", required: true },
],
extraRequiredChecks: ["codecov/patch", "codecov/project"],
repo: { name: "acme/app", protection: "strict" },
providers: { source: "github" },
});
The generated ruleset also sets require_extra_approval_for_unattributed_changes: false — with required_approving_review_count: 0 and a single maintainer, the
GitHub default (true) is an unsatisfiable block on any PR with an
unverified/unattributed commit. Repository-admin bypass still covers the real
risk. And the codecov.yml holocron setup writes carries if_not_found: success on every status default, so an infra-only PR (dep bump, config,
lockfile — no coverable change) passes instead of hanging on a codecov/*
required check that never posts. A re-run of holocron setup backfills both into
an existing repo.
export default defineConfig({
hooks: true, // or { prePush: true }
repo: { protection: "strict" },
providers: { source: "github" },
});
holocron setup writes .husky/pre-push (runs holocron ci before every
push) and .husky/pre-commit (runs gitleaks protect --staged + lint-staged
before every commit — scoped to staged changes, not the whole history, so a
past false positive can't permanently block future commits) and sets
package.json#scripts.prepare to husky. Both on by default for
protection: "strict"; false / { prePush: false } opts out. holocron setup --hooks / --no-hooks override per run. Bypass one push with git push --no-verify; bypass one commit with git commit --no-verify.
holocron sync reconciles package.json#scripts from the tasks manifest
(merge, never clobber — only the managed keys are touched):
export default defineConfig({
tasks: ["test", "lint", "typecheck"],
// syncScripts: false, // disable the step
// holocronScript: "node packages/cli/dist/cli.mjs", // override the "holocron" entry
providers: { source: "github" },
});
Writes "holocron": "<holocronScript ?? 'holocron'>" plus one
"<task>": "holocron run <task>" per runnable task. syncScripts: false
opts out entirely.
astromech.config.tsThe tasks key (plus syncScripts / holocronScript / hooks /
extraRequiredChecks) can move to a dedicated
astromech.config.{ts,js,mjs,json} at the project root:
// astromech.config.ts
import { defineConfig } from "@theholocron/astromech/config";
export default defineConfig({
tasks: [{ name: "audit", required: true, with: { "run-knip": true } }, "wiki"],
syncScripts: false,
});
@theholocron/astromech's loadTasksConfig merges it over
holocron.config's tasks — task arrays concatenate
(holocron.config first), the dedicated file wins on scalars,
extraRequiredChecks concatenate. holocron run / holocron ci /
holocron setup / holocron sync all read the merged result, so the
split is transparent. Useful for keeping the capability/provider config
and the "what this repo runs" manifest in separate files (this repo does).
holocron runholocron run <task> [job] [--required] [--filter <pkg>] [--dry-run] [-- <passthrough>]
Runs one task locally — resolving turbo vs the package manager vs the tool
itself. A job argument targets a sub-job of tasks that have them: holocron run audit performance runs Lighthouse CI, holocron run audit knip runs Knip,
holocron run audit (no job) runs every audit sub-job in declared order. A
sub-job whose tool isn't installed, or that has no local equivalent
(bundle-size), is skipped with a note — --required makes that a failure. For
a task with no sub-jobs the job slot is the first passthrough arg
(holocron run build src/).
CI runs the identical command. The reusable typecheck / test / audit
workflows call the holocron composite action
(theholocron/.github/.github/actions/holocron@main), whose body is
holocron run <task> [job]. So holocron run test locally and the Test CI
job execute the same thing — at a turbo root both are
turbo run test -- --coverage (the registry's org-default flags flow through
turbo's --).
holocron ciholocron ci [--all] [--filter <pkg>] [--dry-run]
Runs the merge-gating checks locally, in CI order, exiting non-zero on the
first failure — the "will my PR be green?" pre-flight, and what the
pre-push hook runs. Default scope is every { required: true } task
(falling back to every ci: true task when nothing is marked required).
--all forces the full set; --filter is a turbo --filter= passthrough.
Order comes from the CI_ORDER constant in @theholocron/astromech
(typecheck → lint → test → build → …). Tasks with no local equivalent
(codeql, deploy) are reported as enforced-in-CI, never failures; audit
expands into its sub-jobs (each under its own audit / … check context)
unless the repo ships its own "audit" script.
The lint task takes an optional linters array — one list that drives
both the CI lint job (super-linter's VALIDATE_* env, baked into the
generated .github/workflows/lint.yml thin caller as a super-linter-env
input) and holocron run lint locally. Omitted → auto-detected from the
config files present plus the org always-on set.
export default defineConfig({
tasks: [{ name: "lint", linters: ["eslint", "prettier", "yamllint", "actionlint", "gitleaks"] }],
providers: { source: "github" },
});
holocron setup can install shared skills from @theholocron/skills into the local repo:
export default defineConfig({
agent: "claude", // "claude" | "codex" | "gemini"
skills: ["git-safety", "pr-workflow"], // skill names from @theholocron/skills
providers: { source: "github" },
});
Skills are copied to .agents/skills/<name>/ and symlinked at the agent's expected path (e.g. .claude/skills/<name>). All installed paths are added to a managed block in .gitignore automatically.
{ "providers": { "source": "github" } }
Set name explicitly whenever the derived value would be wrong: content
repos without a package.json (e.g. .github) will fall back to the
directory basename, which may not match what your vault or deployment
provider expects as a project identifier.
Level 1 — per-capability config packages. Reference a published
package in any provider slot and Holocron resolves its bundled
{ provider, options } automatically. Per-project options merge on
top (project wins):
providers: {
vault: '@acme/holocron-vault', // preset only
source: ['@acme/holocron-github', { repo: 'x' }], // preset + override
}
A capability config package exports a CapabilityConfigPackage default:
import type { CapabilityConfigPackage } from "@theholocron/cli";
export default {
provider: "1password",
options: { vault: "acme-app" },
} satisfies CapabilityConfigPackage;
Level 2 — whole-config presets. Because the config file can be JS/TS, a shared base is an import:
// holocron.config.ts
import { acmeConfig } from "@acme/holocron-config";
export default acmeConfig;
holocron upgrade node <to> — patches every Node.js version pin
(engines.node, .nvmrc, .node-version, .github/workflows/*,
Dockerfile, .tool-versions) to a new major.holocron upgrade deps — bumps every @theholocron/* pin in
pnpm-workspace.yaml (catalog: and every named catalogs.*) to its latest
published version, then migrates holocron.config.ts from the 7.x preset
shape (const { repo, workflows } = node() + repo.requiredChecks +
workflows:) to the current composed-preset API (const preset = node() +
...preset + tasks: + extraRequiredChecks:). Mechanical transforms only —
review the result, then pnpm install && holocron ci. --pins-only skips
the config migration; --dry-run prints without writing.Each GitHub capability resolves its own fine-grained PAT so a compromised credential only affects that feature. Store them once in the OS keyring (macOS Keychain, Windows Credential Manager, libsecret on Linux):
holocron auth set github.read ghp_xxx # clone + CI run listing
holocron auth set github.issues ghp_xxx # issue management
holocron auth set github.sync ghp_xxx # sync-github workflow templates
holocron auth set github.release ghp_xxx # semantic-release
holocron auth set github.admin ghp_xxx # setup, secrets, environments
The resolution chain per capability is:
--token flag → HOLOCRON_<FEATURE>_TOKEN env var → keyring("github.<feature>")
See docs/tokens.md for required PAT scopes per feature.
Additional auth subcommands:
holocron auth check github.read # re-verify a stored token
holocron auth unset github.read # remove a stored token
holocron auth list # show all stored providers
Operational output goes through @theholocron/observability/logger — separate
from the user-facing print surface. Global flags:
holocron doctor --verbose # log level → debug (full structured output)
holocron doctor --quiet # log level → error (suppress info + warn)
holocron doctor --debug # print "Run ID: <uuid>" at command end for Axiom lookup
Level resolution (highest priority first): --verbose / --quiet →
HOLOCRON_LOG_LEVEL → log.level in holocron.config → "info".
export default defineConfig({
log: { level: "warn" },
});
Axiom shipping activates when a token (HOLOCRON_AXIOM_TOKEN / AXIOM_TOKEN
→ OS keyring axiom.<org> → axiom) and a dataset
(HOLOCRON_AXIOM_DATASET / AXIOM_DATASET → log.axiom.dataset in
holocron.config) both resolve; env vars win. The token is never read from a
config file. See the logging guide.
The CLI reports on itself through three sinks: Sentry (errors), Axiom
(logs), and PostHog (anonymous usage analytics — command frequency,
duration, failure rates, keyed to a one-way sha256(hostname + username)
fingerprint). PostHog activates from HOLOCRON_POSTHOG_PROJECT_TOKEN → POSTHOG_PROJECT_TOKEN
→ a shipped ingest-only key (on by default). HOLOCRON_TELEMETRY=false disables
all three.
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.
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).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.