LWA-2026-4775 confirmed malware

program-commander@14.1.9

Malicious code in program-commander (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1071.001 · Web ProtocolsT1552.004 · Private KeysT1041 · Exfiltration Over C2 Channel

Analysis

program-commander is a combosquat of the popular commander package (TJ Holowaychuk's commander.js). The publisher (ethereum101/[account] The package is nearly identical to commander but with injected wallet-draining code in lib/option.js and lib/help.js. The implant exports an atoiEntropy function that POSTs data to atoientropy-securecheck.pumplamp.pro, and help.js imports it then monkey-patches ethers.Wallet.createRandom, Array.prototype.push, console.log, and console.table — each hooked function exfiltrates any wallet privateKey it encounters to the attacker-controlled server. The injection is triggered when a Command() is instantiated (invertString is called in the constructor), which happens immediately when the package is required via exports.program = new Command(). ethers is declared as a devDependency, meaning this targets projects that already have the ethers library installed (Web3/Ethereum developers). No token-theft markers found, but the code constitutes cryptocurrency wallet credential theft via supply-chain combosquatting.

analyzed by
Leitwacht
first seen
Jun 12, 2026, 03:29 PM
analyzed
Jun 12, 2026, 03:30 PM

Related advisories

browse all confirmed advisories →

Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.