{"id":"MAL-2026-14261","revision":"2022c94f2d514b38902b61d0b3def6fb","records":[{"revision":"2022c94f2d514b38902b61d0b3def6fb","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-14261","aliases":[],"title":"Malicious code in postcss-initialize-provider (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (85729e0f775f02486ef631437f648a1661eced789fa66656248f9d4078ac3f16)\npostcss-initialize-provider@3.0.4 presents itself as a PostCSS plugin (README, badges, and repository links reference the legitimate maximkoretskiy/postcss-initial project), but index.js contains a heavily obfuscated payload (obfuscator.io-style 244-entry string array with rotation and _0x-prefixed identifiers) appended to the plugin code. Decoded strings show the payload captures require and module onto the global object (global['r']=require, global['m']=module), imports http/https/zlib/child_process, and queries Ethereum RPC and block-explorer endpoints (drpc.org, blockscout.com/api, stapi.io, with eth_getBlockByNumber / eth_getTransactionCount / module=account&action=txlist calls) to retrieve attacker-controlled data staged on-chain, then executes it via child_process.spawn and the captured require handle. A CSS transformation plugin has no legitimate need for child_process, Ethereum RPC access, or global capture of require/module. The package name typosquats postcss-initial and reuses that project's presentation to distribute the loader.\n","state":0,"publishedAt":"2026-08-19T05:17:50+00:00","modifiedAt":"2026-08-19T06:00:10.8031228+00:00","affected":[{"ecosystem":"npm","name":"postcss-initialize-provider","ranges":[],"versions":["3.0.4"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/postcss-initialize-provider/v/3.0.4"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-14261","license":"OSV · upstream source license applies","key":"osv:MAL-2026-14261","identifiers":["MAL-2026-14261"]},"retained":false,"historicalAffected":[]}],"coverage":[]}