{"id":"MAL-2026-10539","revision":"657fc523a9a54846b1b972a4dcd9bfb9","records":[{"revision":"657fc523a9a54846b1b972a4dcd9bfb9","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10539","aliases":[],"title":"Malicious code in postcss-animatecss (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (adfcae16a606f0b7eccb6cd94c1d1d0b583b19021bb15d04161f3ca8855aba61)\nThe exported PostCSS plugin factory in postcss-animatecss@1.0.2 contains an obfuscator.io-obfuscated payload that executes on every consumer build. When the plugin runs, it fetches a remote endpoint (URL built from an RC4/base64 string array hidden inside the module), reads a `message` field from the JSON response, base64-decodes it, and executes the result via `new Function('require', m)(require)` — giving the remote operator arbitrary Node.js code execution with full `require` access on the developer or CI host. A `setInterval(fn, 4000)` installed via a `new Function('return this')()` global reference re-invokes the fetch-and-eval loop every 4 seconds for the lifetime of the process, providing persistent adaptable C2. The outbound request also appends `Object.keys(options.features?...)` to the query string, leaking consumer plugin configuration to the endpoint. The package's declared purpose (adding `-webkit-` animate.css prefixes) requires no network I/O whatsoever; the fetch/eval/interval layer plus obfuscator.io string-array concealment is the classic supply-chain backdoor signature.\n","state":0,"publishedAt":"2026-07-14T03:37:23+00:00","modifiedAt":"2026-07-14T04:46:57.6614138+00:00","affected":[{"ecosystem":"npm","name":"postcss-animatecss","ranges":[],"versions":["1.0.1","1.0.2"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/postcss-animatecss/v/1.0.1","https://www.npmjs.com/package/postcss-animatecss/v/1.0.2"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10539","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10539","identifiers":["MAL-2026-10539"]},"retained":false,"historicalAffected":[]}],"coverage":[]}