{"id":"MAL-2026-13921","revision":"fd4123c37f634f838c1f4e3ec5ee4208","records":[{"revision":"fd4123c37f634f838c1f4e3ec5ee4208","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13921","aliases":[],"title":"Malicious code in envpack-conf (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a061ac72b9e392fee182ad4873aab0cc9a64694a11228438a7838343b96d338f)\nenvpack-conf 1.0.1 is a trojanized copy of the pkg-conf utility. index.js appends a top-level async IIFE that runs whenever the module is imported. The IIFE queries public Ethereum RPC endpoints (eth.blockscout.com/api, 1rpc.io/eth, eth.drpc.org, ethereum-rpc.publicnode.com, eth-mainnet.public.blastapi.io) for transactions sent from the attacker address 0xa322E5f3D311D3080e6f0121063e9aDC2490Ef1a, decodes the `to` field of those transactions into two IPv4 addresses, fetches an XOR-encrypted second-stage payload from those hosts at path /0x/cls, and executes the decrypted payload with both eval() and spawn('node',['-e',<payload>],{detached:true,stdio:'ignore'}).unref(), giving a detached child process on the installer's host. Every sensitive identifier (module names http/https/zlib/child_process, hostnames, HTTP methods, header names, the attacker address, the RPC URLs, request paths, and global variable names) is written as \\uXXXX-escaped literals to evade static analysis. The package name and README (`devpack-conf`) impersonate Sindre Sorhus's `pkg-conf`; package.json lists the author as 'Sinde Sorus' <sindesorus@gmail.com>, a typosquat of the real maintainer. The legitimate pkg-conf source is preserved above the injected block as cover.\n","state":0,"publishedAt":"2026-08-12T15:36:36+00:00","modifiedAt":"2026-08-12T16:03:34.3190677+00:00","affected":[{"ecosystem":"npm","name":"envpack-conf","ranges":[],"versions":["1.0.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/envpack-conf/v/1.0.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13921","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13921","identifiers":["MAL-2026-13921"]},"retained":false,"historicalAffected":[]}],"coverage":[]}