Lines 1-33javascript
2var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
3 get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
5 if (typeof require !== "undefined") return require.apply(this, arguments);
6 throw Error('Dynamic require of "' + x + '" is not supported');
10import { existsSync as existsSync3, mkdirSync as mkdirSync2, writeFileSync as writeFileSync2, copyFileSync } from "fs";
11import { dirname, join as join2, resolve as resolve2 } from "path";
12import { homedir as homedir2 } from "os";
13import { fileURLToPath } from "url";
14import { spawn, execSync } from "child_process";
15import { createRequire } from "module";
HighChild Process
Package source references child process execution.
dist/cli/index.jsView on unpkg · L13 16import chalk from "chalk";
17import { Command } from "commander";
18import dotenv from "dotenv";
21import Conf from "conf";
24import { createCipheriv, createDecipheriv, createHash, randomBytes } from "crypto";
25var ALGO = "aes-256-gcm";
26function machineScopedSecret() {
27 const basis = `${process.platform}|${process.arch}|${process.env.USERNAME ?? process.env.USER ?? "user"}`;
28 return createHash("sha256").update(basis).digest();
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/index.jsView on unpkg · L13 MediumInstall Persistence
Source writes installer persistence such as shell profile or service configuration.
dist/cli/index.jsView on unpkg · L13 30function poolSecret() {
31 const parts = [112, 97, 103, 101, 97, 105, 45, 112, 111, 111, 108, 45, 118, 50];
32 return createHash("sha256").update(Buffer.from(parts)).digest();