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 path35 = require("node:path");
...
L1013: this._outputConfiguration = {
L1014: writeOut: (str) => process3.stdout.write(str),
L1015: writeErr: (str) => process3.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 path35 = require("node:path");
...
L1013: this._outputConfiguration = {
L1014: writeOut: (str) => process3.stdout.write(str),
L1015: writeErr: (str) => process3.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 path35 = require("node:path");
1796}
L1797: const execArgv = process3.execArgv ?? [];
L1798: if (execArgv.includes("-e") || execArgv.includes("--eval") || execArgv.includes("-p") || execArgv.includes("--print")) {
33537var RETRY_MAX_MS = 15e3;
L33538: var dynamicImport = new Function("s", "return import(s)");
L33539: var importFs = new Function("s", "return import(s)");
•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");
fs25.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 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 path35 = require("node:path");
...
L1013: this._outputConfiguration = {
L1014: writeOut: (str) => process3.stdout.write(str),
L1015: writeErr: (str) => process3.stderr.write(str),
...
L1049: * @returns {Command[]}
L1050: * @private
L1051: */
HighCommand Output Exfiltration
Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
dist/cli.jsView on unpkg · L38 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 path35 = require("node:path");
...
L1013: this._outputConfiguration = {
L1014: writeOut: (str) => process3.stdout.write(str),
L1015: writeErr: (str) => process3.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 path35 = require("node:path");
...
L1013: this._outputConfiguration = {
L1014: writeOut: (str) => process3.stdout.write(str),
L1015: writeErr: (str) => process3.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 27741patternName = generic_password
severity = medium
line = 27741
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 path35 = require("node:path");
...
L1013: this._outputConfiguration = {
L1014: writeOut: (str) => process3.stdout.write(str),
L1015: writeErr: (str) => process3.stderr.write(str),
...
L1049: * @returns {Command[]}
L1050: * @private
L1051: */
LowWeak Crypto
Package source references weak cryptographic algorithms.
dist/cli.jsView on unpkg · L38