{"id":"MAL-2026-12418","revision":null,"records":[{"revision":"edfa01341bef4680b9abdae8e432f374","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12418","aliases":["GHSA-432g-6qr7-8hvh"],"title":"Malicious code in postcss-animate-css-vars (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (5e40aa4b6595789e4ba4b39f82e63526286b36a64ffad2be27536c69c8207590)\nsrc/normalize-options.js is heavily obfuscated (RC4-decoded string array, hex-numeric literals, rotating string-array shuffler, dead-code comparison branches) while the rest of the package (index.js, plugin.js, root.js, declarations.js) is plain readable code. When the PostCSS plugin is instantiated (createPlugin -> normalizeOptions), the loader assembles an HTTPS URL from obfuscated string-array entries, appends keys from the caller-supplied options.features sub-object as query parameters, fetches a JSON response, base64-decodes its `message` field, and executes the decoded code with `new Function('require', code)(require)` — arbitrary code execution in every downstream consumer's build/CI process. The loader also writes a wrapper file to the OS tmpdir (named with process.pid) containing `require('<pkg>')(<options>); setInterval(()=>{},2147483647);` and spawns `process.execPath` detached with stdio ignored and env `LT1_STAGE1_CHILD=1`, then calls `child.unref()`. The detached node child re-enters the loader branch, decoupling the fetch-and-eval from the parent build and keeping it alive on a ~24.8-day interval after PostCSS exits, enabling persistent staging beyond the build window. Package metadata (name postcss-animate-css-vars, description 'PostCSS plugin for animate.css', author 'Alex Rivera <alex@cssanimation.dev>', homepage cssanimation.dev) presents as a legitimate PostCSS ecosystem plugin, but the shipped code contains no animate.css handling in the obfuscated loader path — the metadata is cover for the loader.\n\n## Source: ghsa-malware (28c95517227820c9394897cf41111e5a6992063c2ea1b0f0f9fcb1e530189eac)\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.\n","state":0,"publishedAt":"2026-08-05T12:26:45+00:00","modifiedAt":"2026-08-23T03:30:24.0663886+00:00","affected":[{"ecosystem":"npm","name":"postcss-animate-css-vars","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":["2.0.3","1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/postcss-animate-css-vars/v/2.0.3","https://github.com/advisories/GHSA-432g-6qr7-8hvh","https://www.npmjs.com/package/postcss-animate-css-vars/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12418","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12418","identifiers":["MAL-2026-12418","GHSA-432g-6qr7-8hvh"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-21T02:45:56.5807266+00:00","complete":true,"records":1790,"lastAttemptAt":"2026-11-21T02:45:56.5807266+00:00","lastSuccessAt":"2026-11-21T02:45:56.743101+00:00","error":null,"lastVerifiedAt":"2026-11-21T02:45:56.7431017+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-1d6c61c44cf3e269b6d60ed2fe0a3aa1f7e55445c7f170f16f2fa063bbf73db3-8739c76e681f900923b900c9df0ef75cf421d39cabb54650c4b9ad19b6a76d85","complete":true,"records":430019,"lastAttemptAt":"2026-11-21T02:45:56.1334917+00:00","lastSuccessAt":"2026-11-21T00:52:50.8256453+00:00","error":null,"lastVerifiedAt":"2026-11-21T02:45:56.1334917+00:00","snapshotPublishedAt":"2026-11-21T02:25:48+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-d44da8de12704c8bb58c41d2cce1db50","complete":false,"records":13919,"lastAttemptAt":"2026-11-21T02:50:56.7296065+00:00","lastSuccessAt":"2026-11-21T02:50:56.7932138+00:00","error":null,"lastVerifiedAt":"2026-11-21T02:50:56.7932138+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-21T02:45:56.5807266+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-21T02:45:56.5807266+00:00","lastSuccessAt":"2026-11-21T02:45:56.7439412+00:00","error":null,"lastVerifiedAt":"2026-11-21T02:45:56.7439414+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-0489ad572966499eac5e6736258a41c6","complete":true,"records":13931,"lastAttemptAt":"2026-11-21T02:46:15.4678964+00:00","lastSuccessAt":"2026-11-21T02:46:15.462+00:00","error":null,"lastVerifiedAt":"2026-11-21T02:46:15.462+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13967,"expectedIdentifiers":13967,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-99c78bee98bf8a60587f33f568944b12d3afe17ecc41437c57b47e2204cce04d","complete":true,"records":9989,"lastAttemptAt":"2026-11-21T02:45:56.5344914+00:00","lastSuccessAt":"2026-11-21T00:54:34.963487+00:00","error":null,"lastVerifiedAt":"2026-11-21T02:45:56.5344914+00:00","snapshotPublishedAt":"2026-11-21T00:03:07+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-21T02:45:56.1852441+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-21T02:45:56.1852441+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-2c09f95d48acb57436aa1dd2f0eec6f651dce8d1621b6978554be0f0b129faa4","complete":true,"records":3209,"lastAttemptAt":"2026-11-21T02:45:56.5457747+00:00","lastSuccessAt":"2026-11-20T23:48:55.8565941+00:00","error":null,"lastVerifiedAt":"2026-11-21T02:45:56.5457747+00:00","snapshotPublishedAt":"2026-11-20T23:48:16+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-5f955cf3af0f964546beeddd249c8b6ec7a9237034a097cad85065be79f17f3f","complete":true,"records":232849,"lastAttemptAt":"2026-11-21T02:45:56.3514628+00:00","lastSuccessAt":"2026-11-21T01:47:32.1704614+00:00","error":null,"lastVerifiedAt":"2026-11-21T02:45:56.3514628+00:00","snapshotPublishedAt":"2026-11-21T01:33:31+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}