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

目标: 1000 元 · 已筹: 1359 元

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

postcss-processor-utils

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

Summary

Malicious code in postcss-processor-utils (npm)

凭据/密钥窃取安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
13
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmpostcss-processor-utils*
npmpostcss-processor-utils1.0.0
npmpostcss-processor-utils1.0.1
npmpostcss-processor-utils1.0.2
npmpostcss-processor-utils1.0.3
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-15T08:52:57Z","published":"2026-07-14T03:37:39Z","schema_version":"1.7.4","id":"MAL-2026-10540","aliases":["GHSA-r5fg-j5cf-mfgx"],"summary":"Malicious code in postcss-processor-utils (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (b0253c4f750443ba47f0ab61347fa85a1659b847190a85757575e904966636da)\nOn require, src/index.js loads src/token-loader.js, which reads data/design-tokens.json, XOR-decodes the base64 blobs under `_encrypted.chunks` using a key derived from the package name and version, writes the decoded JavaScript to os.tmpdir()/postcss-processor-cache/compat-<platform>-<arch>.js, and immediately require()s the result. The XOR-with-package-identity scheme exists only to defeat static scanners; the executed bytes are whatever the publisher chooses to embed. Separately, src/styles.js contains a top-level IIFE (`_cssColorProbe`) that runs on require, writes process metadata (arch, platform, execPath, pid, timestamp) to /tmp/.tailwind-color-space-v2/, and is gated by `!process.env.CI &&!process.env.TAILWIND_DISABLE_TELEMETRY` so it only fires on developer machines. The same file (lines 67-74) contains an author comment block reading 'STEALTH PAYLOAD AREA / Replace the example below with your actual virus logic. / This executes once on first build after npm install.' — the author self-identifies the location as a payload slot. The package's exported API mimics @tailwindcss/typography (identical `prose` plugin, class names, modifiers, selectors) but is published under placeholder identity ('design-systems@example.com', 'github.com/example-org/...'), positioning it as a Tailwind-typography lookalike to lure installs. Any project that installs and requires this package executes attacker-controlled JavaScript on developer (non-CI) hosts.\n\n## Source: ghsa-malware (964d32bf7c4b15509607e1e7bce59d3c5a06ecf914bc1035f778163b0fe16e95)\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":"postcss-processor-utils"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.2","1.0.3","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"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"src/token-loader.js","sha256":"b5b6ece4a9bb12eb7b8d6d3b46aa6eb3b7f1d494e514ec45a17a04d89bc34cf1","tlsh":"084172c62ef280a0178750674edbf97622edab2772269588b09d43c84f42e64c353df9"},{"path":"src/styles.js","sha256":"02ee8471a29ce3d98cba4580ca444735028446f5e3fe63dcecade6c97d685a6e","tlsh":"b12316588ab6494aaf83b19fa1ef8812b35404e76c1c7da7bd8c58059fcc30d9179b7c"},{"path":"package.json","sha256":"3361d16d1ec8a3011bd85df31e30aaec265292030a21050c7c372517681d9faa","tlsh":"a3113812db280c231bc9b9599d6d1147abb14c478698bc1e73c6c11c8f5c2ab56fe35e"}],"package_integrity":[{"filename":"postcss-processor-utils-1.0.2.tgz","hashes":{"sha1":"0bc249437622f1690ae80fa634cfa489544fafad","sha512_sri":"sha512-Eeqd+gkJ5pszF1GOL2xMX9qTKsUwZTzd2oAPjxqgGtIArMrmFE/KlrFG4Q7XXOOkoAFe1u3+VolWzTeS036M+Q=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/postcss-processor-utils/v/1.0.2"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-r5fg-j5cf-mfgx"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/postcss-processor-utils/v/1.0.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/postcss-processor-utils/v/1.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/postcss-processor-utils/v/1.0.0"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","sha256":"b0253c4f750443ba47f0ab61347fa85a1659b847190a85757575e904966636da","import_time":"2026-07-14T04:31:59.604018678Z","id":"IN-MAL-2026-010375","modified_time":"2026-07-14T03:37:39Z","versions":["1.0.2"]},{"source":"ghsa-malware","sha256":"964d32bf7c4b15509607e1e7bce59d3c5a06ecf914bc1035f778163b0fe16e95","import_time":"2026-07-15T05:00:56.81312204Z","id":"GHSA-r5fg-j5cf-mfgx","modified_time":"2026-07-15T03:35:57Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"amazon-inspector","sha256":"445efe5179752269d6f76332cbc7db12f17f8fd158295a154fe46e3175dba3d2","import_time":"2026-07-15T08:51:05.465362189Z","id":"IN-MAL-2026-010639","modified_time":"2026-07-15T08:07:29Z","versions":["1.0.3"]},{"source":"amazon-inspector","sha256":"9f4dfce5e5320af545bf33c38838efe48a05c80e18af98b5d9656d3d9a560290","import_time":"2026-07-15T08:51:05.722273552Z","id":"IN-MAL-2026-010643","modified_time":"2026-07-15T08:08:03Z","versions":["1.0.1"]},{"source":"amazon-inspector","sha256":"f8ee90472e41f6dadcecfbc4caa2e85c67686d98633b928b45eafbc469a756a5","import_time":"2026-07-15T08:51:05.757720367Z","id":"IN-MAL-2026-010644","modified_time":"2026-07-15T08:08:10Z","versions":["1.0.0"]}]}}

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