program-commander@14.1.9
Malicious code in program-commander (npm)
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
- polymarket-trading-cli@0.1.0
- polymarket-trader@0.1.0
- polymarket-terminal@0.1.0
- polymarket-onchain-plugin@2.1.3
- pino-pretty-logger@1.1.1
- period-newline@0.1.0
- index-ulid@3.0.2
- noon-contracts@1.0.0
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.