38Source sends the broad process environment to a literal external destination.
L38: * Constructs the CommanderError class
L39: * @param {number} exitCode suggested exit code which could be used with process.exit
L40: * @param {string} code an id string representing the error
...
L964: var EventEmitter = require("node:events").EventEmitter;
L965: var childProcess = require("node:child_process");
L966: var path18 = require("node:path");
...
L1013: this._outputConfiguration = {
L1014: writeOut: (str) => process2.stdout.write(str),
L1015: writeErr: (str) => process2.stderr.write(str),
...
L1049: * @returns {Command[]}
L1050: * @private
L1051: */
CriticalHardcoded Runtime Data Exfiltration
Source sends credentials or rich application records to a package-controlled external receiver enabled by default.
dist/cli.jsView on unpkg · L38 38* Constructs the CommanderError class
L39: * @param {number} exitCode suggested exit code which could be used with process.exit
L40: * @param {string} code an id string representing the error
...
L964: var EventEmitter = require("node:events").EventEmitter;
L965: var childProcess = require("node:child_process");
L966: var path18 = require("node:path");
...
L1013: this._outputConfiguration = {
L1014: writeOut: (str) => process2.stdout.write(str),
L1015: writeErr: (str) => process2.stderr.write(str),
...
L1049: * @returns {Command[]}
L1050: * @private
L1051: */
CriticalCredential Exfiltration
Source appears to send environment or credential material to an external endpoint.
dist/cli.jsView on unpkg · L38 38Trigger-reachable chain: scripts.start -> dist/cli.js
L38: * Constructs the CommanderError class
L39: * @param {number} exitCode suggested exit code which could be used with process.exit
L40: * @param {string} code an id string representing the error
...
L964: var EventEmitter = require("node:events").EventEmitter;
L965: var childProcess = require("node:child_process");
L966: var path18 = require("node:path");
...
L1013: this._outputConfiguration = {
L1014: writeOut: (str) => process2.stdout.write(str),
L1015: writeErr: (str) => process2.stderr.write(str),
...
L1049: * @returns {Command[]}
L1050: * @private
L1051: */
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 · L38 964var EventEmitter = require("node:events").EventEmitter;
L965: var childProcess = require("node:child_process");
L966: var path18 = require("node:path");
16711var SELF_WRITE_MS = 2e3;
L16712: var dynamicImport = new Function("s", "return import(s)");
L16713: var importFs = new Function("s", "return import(s)");
13412var import_promises = __toESM(require("fs/promises"));
L13413: var import_net = __toESM(require("net"));
L13414: var import_path3 = __toESM(require("path"));
...
L13417: // ../../shared/all/helpers/board-agent-core/host-env.ts
L13418: var import_child_process = require("child_process");
L13419: var import_os = __toESM(require("os"));
...
L13427: function addBinDirs(dirs) {
L13428: const current = (process.env.PATH ?? "").split(import_path2.default.delimiter).filter(Boolean);
L13429: const missing = dirs.filter((dir) => dir && !current.includes(dir));
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 · L13412 •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:
headers["Authorization"] = "Basic " + authBuf.toString("base64");
fs14.writeFileSync(syncFile, "", "utf8");
var execString = "var http = require('http'), https = require('https'), fs = require('fs');var doRequest = http" + (ssl ? "s" : "") + ".request;var options = " + JSON.stringify(opt...
delete opts.headers.authorization;
if (opts.auth && !options.headers.authorization) {
options.headers.authorization = "Basic " + Buffer.from(opts.auth).toString("base64");
content: `Claude ${e.claude_code_version ?? ""} (${e.model ?? "unknown"})`
"- Persistent agent memory in your state dir (~/.claude or ~/.codex) that survives across s
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 •Manifest-reachable source resolves another installed package, overwrites its runtime code, and injects package-defined remote behavior.
dist/cli.js:
// node_modules/commander/lib/error.js
"node_modules/commander/lib/error.js"(exports2) {
// node_modules/commander/lib/argument.js
"node_modules/commander/lib/argument.js"(exports2) {
// node_modules/commander/lib/help.js
"node_modules/commander/lib/help.js"(exports2) {
// node_modules/commander/lib/option.js
"node_modules/commander/lib/option.js"(exports2) {
HighEntrypoint Foreign Package Code Overwrite
Manifest-reachable source overwrites another installed package with package-defined remote behavior.
dist/cli.jsView on unpkg 38Cross-file remote execution chain: dist/cli.js spawns index/index.js; helper contains network access plus dynamic code execution.
L38: * Constructs the CommanderError class
L39: * @param {number} exitCode suggested exit code which could be used with process.exit
L40: * @param {string} code an id string representing the error
...
L964: var EventEmitter = require("node:events").EventEmitter;
L965: var childProcess = require("node:child_process");
L966: var path18 = require("node:path");
...
L1013: this._outputConfiguration = {
L1014: writeOut: (str) => process2.stdout.write(str),
L1015: writeErr: (str) => process2.stderr.write(str),
...
L1049: * @returns {Command[]}
L1050: * @private
L1051: */
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 · L38 38Trigger-reachable credential exfiltration chain: scripts.start -> dist/cli.js
L38: * Constructs the CommanderError class
L39: * @param {number} exitCode suggested exit code which could be used with process.exit
L40: * @param {string} code an id string representing the error
...
L964: var EventEmitter = require("node:events").EventEmitter;
L965: var childProcess = require("node:child_process");
L966: var path18 = require("node:path");
...
L1013: this._outputConfiguration = {
L1014: writeOut: (str) => process2.stdout.write(str),
L1015: writeErr: (str) => process2.stderr.write(str),
...
L1049: * @returns {Command[]}
L1050: * @private
L1051: */
HighTrigger Reachable Credential Exfiltration
A manifest entrypoint or package-local install chain reaches credential exfiltration behavior.
dist/cli.jsView on unpkg · L38 12946patternName = generic_password
severity = medium
line = 12946
matchedText = url2.pas...ic";
8var __hasOwnProp = Object.prototype.hasOwnProperty;
L9: var __commonJS = (cb, mod) => function __require() {
L10: return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
MediumDynamic Require
Package source references dynamic require/import behavior.
dist/cli.jsView on unpkg · L8 38* Constructs the CommanderError class
L39: * @param {number} exitCode suggested exit code which could be used with process.exit
L40: * @param {string} code an id string representing the error
...
L964: var EventEmitter = require("node:events").EventEmitter;
L965: var childProcess = require("node:child_process");
L966: var path18 = require("node:path");
...
L1013: this._outputConfiguration = {
L1014: writeOut: (str) => process2.stdout.write(str),
L1015: writeErr: (str) => process2.stderr.write(str),
...
L1049: * @returns {Command[]}
L1050: * @private
L1051: */
LowWeak Crypto
Package source references weak cryptographic algorithms.
dist/cli.jsView on unpkg · L38