6// dist/install.js
L7: import { execFileSync as execFileSync2 } from "node:child_process";
L8: import { createHash as createHash2 } from "node:crypto";
...
L125: try {
L126: const parsed = JSON.parse(raw);
L127: if (!parsed || typeof parsed !== "object" || typeof parsed.accounts !== "object") {
...
L268: // `password=...`, `token = ...`, `access_key: ...` — the value need not be quoted.
L269: /\b(?:api[_-]?key|secret|password|passwd|token|access[_-]?key|private[_-]?key|client[_-]?secret|auth[_-]?token|bearer)\b\s*[:=]\s*\S+/i,
L270: // Connection strings that embed credentials: `scheme://user:pass@host`.
...
L1084: "const p=require(`path`),f=require(`fs`),c=require(`child_process`);",
L1085: "let d=process.cwd();",
L1086: `for(;;){if(f.existsSync(p.join(d,${tick(VENDORED_BIN_REL)})))br
CriticalReverse Shell
Source matches reverse-shell style process and socket wiring.
dist/cli.jsView on unpkg · L6 6Trigger-reachable chain: manifest.bin -> dist/bin.js -> dist/cli.js
L6: // dist/install.js
L7: import { execFileSync as execFileSync2 } from "node:child_process";
L8: import { createHash as createHash2 } from "node:crypto";
...
L125: try {
L126: const parsed = JSON.parse(raw);
L127: if (!parsed || typeof parsed !== "object" || typeof parsed.accounts !== "object") {
...
L268: // `password=...`, `token = ...`, `access_key: ...` — the value need not be quoted.
L269: /\b(?:api[_-]?key|secret|password|passwd|token|access[_-]?key|private[_-]?key|client[_-]?secret|auth[_-]?token|bearer)\b\s*[:=]\s*\S+/i,
L270: // Connection strings that embed credentials: `scheme://user:pass@host`.
...
L1084: "const p=require(`path`),f=require(`fs`),c=require(`child_process`);",
L1085: "let d=process.cwd();",
L10
CriticalTrigger Reachable Dangerous Capability
A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
dist/cli.jsView on unpkg · L6 9524// dist/control-origin.js
L9525: var DEFAULT_CONTROL_ORIGIN = "https://control.halfcycle.ai";
L9526: function resolveControlOrigin(env = process.env) {
L9527: const configured = env["HALFCYCLE_SERVICE_URL"]?.trim();
...
L9536: // dist/device-signin.js
L9537: import { spawn } from "node:child_process";
L9538: import { platform as platform3 } from "node:os";
HighSame File Env Network Execution
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
dist/cli.jsView on unpkg · L9524 •Manifest-reachable source captures an API credential, sends it to a fixed unofficial gateway, and persists that redirection in agent or shell configuration.
dist/cli.js:
import { existsSync as existsSync4, lstatSync, mkdirSync as mkdirSync5, readFileSync as readFileSync6, rmSync as rmSync2, writeFileSync as writeFileSync5 } from "node:fs";
var SETTINGS_REL = ".claude/settings.json";
var LOCAL_SETTINGS_REL = ".claude/settings.local.json";
var SESSION_START_MARKER_REL = ".claude/hooks/session-start-marker.sh";
var GUARD_RUNNER_REL = ".claude/hooks/guard-runner.sh";
var USER_PROMPT_REMINDER_REL = ".claude/hooks/user-prompt-reminder.sh";
var USER_PROMPT_SCOPE_REL = ".claude/hooks/user-prompt-scope.sh";
var USER_PROMPT_FINDINGS_REL = ".claude/hooks/user-prompt-findings.sh";
HighCredential Redirect Persistence
Manifest-reachable source sends a prompted API credential to a fixed unofficial gateway and persists the redirection.
dist/cli.jsView on unpkg 6// dist/install.js
L7: import { execFileSync as execFileSync2 } from "node:child_process";
L8: import { createHash as createHash2 } from "node:crypto";
...
L125: try {
L126: const parsed = JSON.parse(raw);
L127: if (!parsed || typeof parsed !== "object" || typeof parsed.accounts !== "object") {
...
L268: // `password=...`, `token = ...`, `access_key: ...` — the value need not be quoted.
L269: /\b(?:api[_-]?key|secret|password|passwd|token|access[_-]?key|private[_-]?key|client[_-]?secret|auth[_-]?token|bearer)\b\s*[:=]\s*\S+/i,
L270: // Connection strings that embed credentials: `scheme://user:pass@host`.
...
L1084: "const p=require(`path`),f=require(`fs`),c=require(`child_process`);",
L1085: "let d=process.cwd();",
L1086: `for(;;){if(f.existsSync(p.join(d,${tick(VENDORED_BIN_REL)})))br
HighSandbox Evasion Gated Capability
Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
dist/cli.jsView on unpkg · L6 6Cross-file remote execution chain: dist/cli.js spawns bin/bin.bundle.mjs; helper contains network access plus dynamic code execution.
L6: // dist/install.js
L7: import { execFileSync as execFileSync2 } from "node:child_process";
L8: import { createHash as createHash2 } from "node:crypto";
...
L125: try {
L126: const parsed = JSON.parse(raw);
L127: if (!parsed || typeof parsed !== "object" || typeof parsed.accounts !== "object") {
...
L268: // `password=...`, `token = ...`, `access_key: ...` — the value need not be quoted.
L269: /\b(?:api[_-]?key|secret|password|passwd|token|access[_-]?key|private[_-]?key|client[_-]?secret|auth[_-]?token|bearer)\b\s*[:=]\s*\S+/i,
L270: // Connection strings that embed credentials: `scheme://user:pass@host`.
...
L1084: "const p=require(`path`),f=require(`fs`
HighCross File Remote Execution Context
Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
dist/cli.jsView on unpkg · L6 1077}
L1078: var CODEX_WINDOWS_NOT_SET_UP = "Halfcycle checks did not run because Halfcycle is not set up in this folder or any folder above it; run npx halfcycle in the project folder.";
L1079: var CODEX_WINDOWS_NO_GIT_BASH = "Halfcycle checks did not run because Git for Windows was not found; install Git for Windows, then open a new session.";
...
L1083: const program = [
L1084: "const p=require(`path`),f=require(`fs`),c=require(`child_process`);",
L1085: "let d=process.cwd();",
HighRuntime Package Install
Package source invokes a package manager install command at runtime.
dist/cli.jsView on unpkg · L1077