{"id":"MAL-2026-14344","revision":"9697aea14dc24e0eafc9f6f3fbdd2607","records":[{"revision":"9697aea14dc24e0eafc9f6f3fbdd2607","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-14344","aliases":[],"title":"Malicious code in @js-lib-team/env-parser (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (ae761b7dd660e94dd99388dedf8c2227fa6a683e314468e7a482cd649c2e1a47)\nPackage @js-lib-team/env-parser is advertised as an environment-variable parser but on require/import executes a top-level IIFE in index.js that reads the installer's local.env file, extracts values matching PRIVATE_KEY / SECRET / MNEMONIC via a 64-hex regex, and uses those keys to construct ethers.Wallet instances that sign and broadcast transactions transferring native-token balances (ETH/BNB/Polygon/Avalanche and other supported chains) from the installer's wallets to five hardcoded attacker-controlled destination addresses, including 0x70951410C5E9E938D8715288A7229548287a1a62 and bc1q4h4a2sjf4k9quhx7xrajfgcsaz082cv5h3g8dt. The load-time routine also sets process.title to 'systemd: [logrotate]' to disguise the Node process in ps/top output and ships helper stubs labelled 'Process Hiding & Persistence' and 'Polymorphic & Encryption Layers'. The declared parser purpose is a cover story; the actual behavior on module load is theft of installer-owned wallet key material and direct movement of funds to attacker addresses.\n","state":0,"publishedAt":"2026-08-21T03:56:26+00:00","modifiedAt":"2026-08-21T04:30:13.0775299+00:00","affected":[{"ecosystem":"npm","name":"@js-lib-team/env-parser","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@js-lib-team/env-parser/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-14344","license":"OSV · upstream source license applies","key":"osv:MAL-2026-14344","identifiers":["MAL-2026-14344"]},"retained":false,"historicalAffected":[]}],"coverage":[]}