envpack-conf@1.0.1
Malicious code in envpack-conf (npm)
Analysis
envpack-conf@1.0.1 is a trojanized package: it presents as a config-reading utility but its module entry (index.js) runs a covert command-and-control dropper on import. It queries public Ethereum RPC endpoints (1rpc[.]io/eth, eth[.]drpc[.]org, ethereum-rpc[.]publicnode[.]com, eth-mainnet[.]public[.]blastapi[.]io) and the Blockscout API (eth[.]blockscout[.]com/api) to watch for a transaction from attacker-controlled address 0xa322e5f3d311d3080e6f0121063e9adc2490ef1a. When found, it decodes the transaction's recipient address bytes into two IPv4 C2 server IPs, then fetches XOR-encrypted second-stage payloads from hxxp://<ip>:443/0x/cls and hxxp://<ip>:443/0x/ls, decrypts them with hardcoded XOR keys, and executes them via eval and a detached `node -e` child process. It also installs global backdoor hooks (global.r=require, global.m=module). The C2 server addresses are delivered covertly through the Ethereum blockchain transaction recipient field.
- analyzed by
- Leitwacht
- first seen
- Aug 9, 2026, 08:10 AM
- analyzed
- Aug 9, 2026, 08:10 AM
Related advisories
- iconova-react@1.30.1
- kit-map-streak@1.0.0
- @kolbo/mcp@1.57.1
- map-streak-kit@1.0.0
- platform-ui-colors@35.8.1
- dolyame-ui-buttonstore@35.8.1
- streak-kit-map@1.0.0
- streak-map-cache@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.