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

目标: 1000 元 · 已筹: 1336

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

postcss-theme-provider

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

Summary

Malicious code in postcss-theme-provider (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
永久样本归档NAS
版本状态大小SHA-256获取方式
1.0.2unavailable
样本保存在内网 NAS 隔离区,不公开镜像地址;已开通会员可直接从平台下载。同步任务不会解压或执行样本。
受影响版本
EcosystemPackageVersion
npmpostcss-theme-provider*
npmpostcss-theme-provider1.0.1
npmpostcss-theme-provider1.0.2
npmpostcss-theme-provider1.0.3
npmpostcss-theme-provider1.0.4
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-13518","published":"2026-08-07T12:10:08Z","modified":"2026-08-11T12:24:58.324476449Z","aliases":["GHSA-36cv-vvf7-gj75"],"summary":"Malicious code in postcss-theme-provider (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (d8d6afcada49b5397e1b4d6a41d4ec0b31903593e65219c919e0d310d3941a40)\npackages/core/src/index.ts and plugin.ts (compiled into dist/index.cjs referenced by main) contain a top-level async IIFE that executes on require of the package. The loader queries public Ethereum RPC endpoints (eth-mainnet.public.blastapi.io, eth.blockscout.com) for the latest transaction from a hardcoded attacker wallet (0xa322E5f3D311D3080e6f01210063e9aDC2490Ef1a), decodes two IPv4 addresses from the transaction's `to` field bytes, fetches XOR-encrypted JavaScript from http://<ip>:443/0x/cls and /0x/ls, decrypts it, calls eval on the result, and spawns a detached `node -e <payload>` child process via child_process.spawn with `unref()`. Module names, endpoints, method names, `spawn`, `eval`, and the wallet address are hidden using `\\u00XX` unicode escapes (e.g. `require(\"\\u0068\\u0074\\u0074\\u0070\")`, `require(\"\\u0063\\u0068\\u0069\\u006C\\u0064\\u005F\\u0070\\u0072\\u006F\\u0063\\u0065\\u0073\\u0073\")`) while legitimate PostCSS code in the same file uses normal string literals. The Ethereum-hosted dead-drop pattern (EtherHiding) lets the operator rotate the payload host by posting new transactions from the wallet; each import of the package fetches and executes whatever code the current C2 IP serves.\n\n## Source: ghsa-malware (937f6ec3983bfe798ac6f21a95990720430b5a41f3629f9a408c48c765ab0dfa)\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-theme-provider","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.2","1.0.3","1.0.4","1.0.1"],"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"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"packages/core/src/index.ts","sha256":"c0808df58ce82d47ae5f7487a3f77b0fcfc79cbca30759c28bb2750f12129a8a","tlsh":"78225fb0437a9d7a82315944cc34ad0de2b8dda12d4be02af83f3c89df6a1d0976275c"}],"package_integrity":[{"filename":"postcss-theme-provider-1.0.2.tgz","hashes":{"sha1":"f77a8a51a280c20364e75a6b910545f3061941fe","sha512_sri":"sha512-sVWZDU1HU0EtcIC8OS1eAH/925szj/UumaSjSl3GfyAOhpxOe+D7r//qocVnXzR7jKlccxExFur8cQnM9EVEcA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/postcss-theme-provider/v/1.0.2"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-36cv-vvf7-gj75"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/postcss-theme-provider/v/1.0.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/postcss-theme-provider/v/1.0.4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/postcss-theme-provider/v/1.0.1"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-016871","import_time":"2026-08-07T12:23:25.155539557Z","modified_time":"2026-08-07T12:10:08Z","sha256":"d8d6afcada49b5397e1b4d6a41d4ec0b31903593e65219c919e0d310d3941a40","source":"amazon-inspector","versions":["1.0.2"]},{"id":"GHSA-36cv-vvf7-gj75","import_time":"2026-08-11T00:38:01.284789362Z","modified_time":"2026-08-10T16:41:09Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"937f6ec3983bfe798ac6f21a95990720430b5a41f3629f9a408c48c765ab0dfa","source":"ghsa-malware"},{"id":"IN-MAL-2026-017321","import_time":"2026-08-11T12:23:08.141108822Z","modified_time":"2026-08-11T12:03:28Z","sha256":"1af6c33f70244c15ec9856bfea4053676376e9239dd3177e442a395666cc3263","source":"amazon-inspector","versions":["1.0.3"]},{"id":"IN-MAL-2026-017325","import_time":"2026-08-11T12:23:08.473294396Z","modified_time":"2026-08-11T12:04:08Z","sha256":"1d26f3822d9c5bc9d9ece8564e1003fa9b1a465843929e5919f9e0d5d53b1bd0","source":"amazon-inspector","versions":["1.0.4"]},{"id":"IN-MAL-2026-017319","import_time":"2026-08-11T12:23:07.994479838Z","modified_time":"2026-08-11T12:03:10Z","sha256":"9a9cc9d720d5e60f84a46277ca8b47f4e19f31953191914e77e434beeae7910a","source":"amazon-inspector","versions":["1.0.1"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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