{"id":"MAL-2026-13957","revision":"8076bf79f09749ceaa6150d97cf8dbdc","records":[{"revision":"8076bf79f09749ceaa6150d97cf8dbdc","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13957","aliases":[],"title":"Malicious code in postcss-initialize-plugin (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c75b316d71a07c70e033fe47d5a3efbd6c3dbccb3b1ae8466a4d325c0d1ada79)\npostcss-initialize-plugin is a typosquat of postcss-initial. Its README, repository URL, and author metadata are copied verbatim from maximkoretskiy/postcss-initial, and the legitimate plugin source is present, but index.js has an appended obfuscator.io payload (rotating string array _0x240a, control-flow flattening) that runs on require. Deobfuscation recovers imports of http, https, zlib, and child_process, along with a hardcoded list of Ethereum RPC endpoints (eth.drpc.org, ethereum-rpc.publicnode.com, 1rpc.io/eth, blastapi.io, plus process.env.ETH_RPC_URL) and Etherscan-style txlist query parameters for a hardcoded address beginning 0xa322E5f3. On load the payload queries these endpoints for transaction data tied to that address, decompresses the returned bytes with zlib (gzip/deflate/br), stashes require and module on global, and passes the decoded content to child_process.spawn — giving the operator of that Ethereum address arbitrary code execution on any machine that installs or requires this package. A legitimate PostCSS plugin has no reason to contact Ethereum RPCs, spawn child processes, or bury its logic behind a string-array decoder.\n","state":0,"publishedAt":"2026-08-13T17:16:32+00:00","modifiedAt":"2026-08-13T17:30:12.4240752+00:00","affected":[{"ecosystem":"npm","name":"postcss-initialize-plugin","ranges":[],"versions":["3.0.4"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/postcss-initialize-plugin/v/3.0.4"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13957","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13957","identifiers":["MAL-2026-13957"]},"retained":false,"historicalAffected":[]}],"coverage":[]}