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

目标: 1000 元 · 已筹: 1359 元

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

animatecss-postcss-plugin

MAL-2026-6495
2026-07-10 16:55:48
OpenSSF Malicious Packages
该软件包被识别为恶意包。建议隔离受影响环境,并排查凭据泄露和异常网络连接。

Summary

Malicious code in animatecss-postcss-plugin (npm)

凭据/密钥窃取
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
2
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmanimatecss-postcss-plugin*
npmanimatecss-postcss-plugin1.0.0
npmanimatecss-postcss-plugin1.0.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-10T16:55:48Z","published":"2026-06-26T01:42:36Z","schema_version":"1.7.4","id":"MAL-2026-6495","aliases":["GHSA-p6ch-cw7w-ff5c"],"summary":"Malicious code in animatecss-postcss-plugin (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (6be12cec08d0999c157774b746c3e431825ae61635bb8ddddf36061d4602cec7)\nanimatecss-postcss-plugin@1.0.1 ships a tiny PostCSS plugin factory whose body contains an obfuscator.io-style string-array + RC4 decoder (functions _0xa311, _0x4399, _0x12b0 with a ~120-entry encoded string table). When the exported plugin factory is invoked during a CSS build, it constructs a URL from the decoded string array, performs an HTTP fetch with a 60s AbortController and a retry loop (attempts 1..10), base64-decodes the response body's `message` field via Buffer.from(k, 'base64').toString('utf-8'), and executes the resulting JavaScript via `new Function('require', _)(require)` — giving the remote payload full Node `require` access inside the developer's build process. There is no legitimate reason for a PostCSS prefix-injection plugin to fetch and eval remote code, and the heavy obfuscation around the fetch destination and payload-handling logic confirms intent to hide the behavior from casual review. Any project that installs this plugin and runs its CSS build will execute attacker-controlled JavaScript with the privileges of the build process.\n\n## Source: ghsa-malware (d47c1d7e46882283bbc8692e516a9523b7a15dd96654d68799c1c31b9040e65c)\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":{"ecosystem":"npm","name":"animatecss-postcss-plugin"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]},{"type":"SEMVER","events":[{"introduced":"1.0.0"},{"last_affected":"1.0.1"}]}],"versions":["1.0.1","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"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"index.js","sha256":"0b70e0c2e0d033b78ccc1a68998ae398f0d77b7947e3397e39ade373fda9bf1a","tlsh":"3b42f8b97461744827b73672c7af248bfe3466933948648875bc83943f32d2881a3f79"}],"package_integrity":[{"filename":"animatecss-postcss-plugin-1.0.1.tgz","hashes":{"sha1":"f4f826b716e53089f872f70151db9ba1399d0313","sha512_sri":"sha512-s9DdHjAy3pltPPPwZbvpAjRroHfzYYVPiHjpIllMPs8jL7crvOLxbT+/7VXttwQr7qY+ZTtEnqCIKmQwxb0lcw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/animatecss-postcss-plugin/v/1.0.1"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-p6ch-cw7w-ff5c"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/animatecss-postcss-plugin/v/1.0.0"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","sha256":"6be12cec08d0999c157774b746c3e431825ae61635bb8ddddf36061d4602cec7","import_time":"2026-06-26T01:51:19.289438476Z","id":"IN-MAL-2026-007577","modified_time":"2026-06-26T01:42:36Z","versions":["1.0.1"]},{"source":"ghsa-malware","sha256":"d47c1d7e46882283bbc8692e516a9523b7a15dd96654d68799c1c31b9040e65c","import_time":"2026-07-02T15:00:18.293944018Z","id":"GHSA-p6ch-cw7w-ff5c","modified_time":"2026-07-02T14:56:07Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"amazon-inspector","sha256":"579a9e569a1c8cbff95ca83f2c0d05b49f0e94b84a02c6cd97e8d4083c2a2046","import_time":"2026-07-08T20:32:37.368991032Z","id":"IN-MAL-2026-008503","modified_time":"2026-07-08T20:20:28Z","versions":["1.0.0"]},{"source":"ghsa-malware","sha256":"3dcab2d001764d620513ec8fb79bc5feeb2bc8bbd41b611ceeb1c1370b069f64","import_time":"2026-07-10T16:54:13.27901119Z","id":"GHSA-p6ch-cw7w-ff5c","modified_time":"2026-07-10T16:09:07Z","ranges":[{"type":"SEMVER","events":[{"introduced":"1.0.0"},{"last_affected":"1.0.1"}]}]}]}}

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