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 path23 = 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 path23 = 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 path23 = require("node:path");
17687var SELF_WRITE_MS = 2e3;
L17688: var dynamicImport = new Function("s", "return import(s)");
L17689: 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");
fs15.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 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 path23 = 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 path23 = 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 12949patternName = generic_password
severity = medium
line = 12949
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 path23 = 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