Lines 1-57javascript
3Object.defineProperty(exports, "__esModule", { value: true });
4const crypto = require("crypto");
5const fs = require("fs");
6const http = require("http");
7const https = require("https");
8const net = require("net");
9const os = require("os");
10const path = require("path");
11const { spawn, spawnSync } = require("child_process");
12const pkgRoot = path.resolve(__dirname, "..");
HighChild Process
Package source references child process execution.
dist/fiber.jsView on unpkg · L10 13const defaultRpcHost = "127.0.0.1";
14const defaultRpcPort = 8227;
15const defaultRpcUrl = `http://${defaultRpcHost}:${defaultRpcPort}`;
16const defaultPassword = "password";
17const defaultConfigTemplate = "testnet.yml";
18const runtimeDir = path.resolve(process.env.FIBER_HOME || path.join(os.homedir(), ".fiber-node"));
19const rpcUrlFile = path.join(runtimeDir, "rpc-url");
HighSame File Env Network Execution
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
dist/fiber.jsView on unpkg · L5 20const devkitDir = path.resolve(process.env.FIBER_DEV_KIT_HOME || path.join(os.homedir(), ".fiber-dev-kit"));
21const devkitStatePath = path.join(devkitDir, "state.json");
22const platformKey = `${process.platform}-${process.arch}`;
HighSandbox Evasion Gated Capability
Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
dist/fiber.jsView on unpkg · L5 23const ckbShannons = 100000000n;
24const defaultCkbRpcUrl = "https://testnet.ckbapp.dev/";
25const nodeAliases = ["a", "b", "c", "d", "e"];
26let chalk = plainChalk();
27function plainChalk() {
28 const passthrough = (...values) => values.join(" ");
30 proxy = new Proxy(passthrough, {
32 apply: (_, __, values) => values.join(" ")
36async function loadChalk() {
38 const mod = await import("chalk");
39 chalk = mod.default || chalk;
HighCopied Package Dependency Bridge
Package metadata claims a different repository identity while copied source loads a runtime dependency bridge.
dist/fiber.jsView on unpkg · L37 45function title(value) {
46 return chalk.bold(value);
49 return chalk.dim(value);
51function label(value) {
52 return chalk.dim(value);
54function valueText(value) {
55 return chalk.cyan(value);
57function commandText(value) {