目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%
← 返回恶意软件包
npm active

postcss-animate-css-vars

MAL-2026-12418
2026-08-23 03:27:44
OpenSSF Malicious Packages
该软件包被识别为恶意包。建议隔离受影响环境,并排查凭据泄露和异常网络连接。

Summary

Malicious code in postcss-animate-css-vars (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
194
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmpostcss-animate-css-vars*
npmpostcss-animate-css-vars1.0.0
npmpostcss-animate-css-vars2.0.3
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-12418","published":"2026-08-05T12:26:45Z","modified":"2026-08-23T03:27:43.554129488Z","aliases":["GHSA-432g-6qr7-8hvh"],"summary":"Malicious code in postcss-animate-css-vars (npm)","details":"\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","affected":[{"package":{"name":"postcss-animate-css-vars","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["2.0.3","1.0.0"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"src/normalize-options.js","sha256":"bcb1888f194f10bdaacca1c61adcde61a981dab714244b0e9a144ecbbe318cf3","tlsh":"52b2a4a063d42e98b6436fa7b72ff4c6e83e499e3560448bf0287c5c5fa2119d6d5730"},{"path":"package.json","sha256":"d372c0116a13e5c9e2277717c4da77ea4d67e9ec84b5529207b95bfd44f52bb2","tlsh":"33214da1d5249ca317d51af0995e0042fe2299178858fc2973ae411d4f4d66b43ff3be"}],"package_integrity":[{"filename":"postcss-animate-css-vars-2.0.3.tgz","hashes":{"sha1":"5e76d1ca7068eb55c87a5b20554dcf34c3d6f0bf","sha512_sri":"sha512-RaOX8B3I1FgPX+G7jVFD/BTVaLiERwkg3OFexqgIK+iqHarrLkk5ARoNrqn7OyGQBvP8yZI8ogG7IS+x97vqpA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/postcss-animate-css-vars/v/2.0.3"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-432g-6qr7-8hvh"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/postcss-animate-css-vars/v/1.0.0"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-014658","import_time":"2026-08-05T13:08:34.594660787Z","modified_time":"2026-08-05T12:26:45Z","sha256":"5e40aa4b6595789e4ba4b39f82e63526286b36a64ffad2be27536c69c8207590","source":"amazon-inspector","versions":["2.0.3"]},{"id":"GHSA-432g-6qr7-8hvh","import_time":"2026-08-21T11:24:15.702354031Z","modified_time":"2026-08-21T11:14:21Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"28c95517227820c9394897cf41111e5a6992063c2ea1b0f0f9fcb1e530189eac","source":"ghsa-malware"},{"id":"IN-MAL-2026-018533","import_time":"2026-08-23T03:25:52.785025374Z","modified_time":"2026-08-23T03:09:23Z","sha256":"f21e86d1ddb1d86d50cbba80a2b771afdb1dcb5b45836cd30acb3ec13c810dfe","source":"amazon-inspector","versions":["1.0.0"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

数据来源:OpenSSF Malicious Packages · Apache-2.0