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

目标: 1000 元 · 已筹: 1359 元

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

postcss-semantic-themes

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

Summary

Malicious code in postcss-semantic-themes (npm)

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
0
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmpostcss-semantic-themes*
npmpostcss-semantic-themes0.0.0-stage
npmpostcss-semantic-themes1.0.0
npmpostcss-semantic-themes1.0.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-18334","published":"2026-10-26T16:17:58Z","modified":"2026-10-29T14:38:25.387399707Z","aliases":["GHSA-fh55-fq5h-h352"],"summary":"Malicious code in postcss-semantic-themes (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (21c91b39929f03c30e501726fc2d1c1fa43f17bf2ed77bda52380e563c1171e0)\nThe package advertises itself as a zero-runtime CSS theming kit but on require/import executes a chain of obfuscated JavaScript modules. lib.mjs imports tokens.mjs, which top-level imports cache-warm.mjs — a ~279KB single-line file consisting of a hex-named string array of XOR/base64-encoded blobs decoded at runtime. Three additional sibling modules of the same shape (build-cache.mjs ~203KB, cache-sweep.mjs ~295KB, workspaces.js ~290KB) are shipped and listed in the published files manifest. Alongside the JavaScript loader, the tarball bundles prebuilt N-API native binaries at native/{linux,darwin,win32}/{arm64,x64}/cache-probe.node whose exported symbols implement extensive hypervisor, container, and sandbox detection (VMDetect/VMDetector classes, hypervisor_bit, qemu_fw_cfg, systemd_virt, dockerenv, bluestacks, vbox_module, podman_file, wsl_proc_subdir, amd_sev_msr, azure, chassis_vendor, mac_address_check, is_x86_process_on_arm). None of this has any role in CSS custom-property emission. The README instructs installation as `npm install -D tailwindcss@npm:postcss-semantic-themes`, aliasing the legitimate tailwindcss name onto this package so existing `import 'tailwindcss'` call sites resolve to the obfuscated loader. The combination of an import-time obfuscated loader, multiple additional staged obfuscated payloads, environment-fingerprinting native code to gate execution to non-analyst hosts, and a brandjacking install instruction is the structural shape of a staged supply-chain payload rather than a theming plugin.\n\n## Source: ghsa-malware (d188bb5d3c330ed5c438865b3787cca124861eefe2c8e094e58511bbca437e09)\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-semantic-themes","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.0","1.0.1","0.0.0-stage"],"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":"tokens.mjs","sha256":"a79322d933471e23579d62468820c63c06cdb8d4f8710c674b354c1b2508df70","tlsh":"3ef11634ec007d6b225aa56e4cb534239100e0279e9e7f86b31ea5fc4f4d19f507b8ad"},{"path":"build-cache.mjs","sha256":"0c3fd136a6248caa3aeb3d6412ccc6bdb5ed4d9a20942844ae010e160c02506e","tlsh":"09146202206874642f2b7e9777d3cce4ef2b249521899c9dbd0dabc45387870ceea576"},{"path":"native/linux/x64/cache-probe.node","sha256":"21a5c3de08f7538e8a1aa6060298b26b9804a46121363b24a80c13019f47dff1","tlsh":"e3644b1bb382bc74c841973466c793639662fcb66f1caa7bd2c1ee353d62580472a353"},{"path":"README.md","sha256":"f382bad87c8573997f8428affd9ec6b16f126b6e859296ccea9f21b29338cecb","tlsh":"13c1c527a786c73c12a302d693c991f1d33aa09ca73a2c13f19e82f9031d656977f749"}],"package_integrity":[{"filename":"postcss-semantic-themes-0.0.0-stage.tgz","hashes":{"sha1":"cd6cdcb20212aec80cb4e02ba919cd2773c3754f","sha512_sri":"sha512-L+rITcj6P/DovZa0+NhEa6gfyu0bY7jAF2ImXrlNpSLu+eL1iape5LpUPT2K30y41QYcs+wj50DqXfkvikIDyQ=="}}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-fh55-fq5h-h352"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/postcss-semantic-themes/v/1.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/postcss-semantic-themes/v/1.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/postcss-semantic-themes/v/0.0.0-stage"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-fh55-fq5h-h352","import_time":"2026-10-26T16:31:42.71515713Z","modified_time":"2026-10-26T16:17:59Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"d188bb5d3c330ed5c438865b3787cca124861eefe2c8e094e58511bbca437e09","source":"ghsa-malware"},{"id":"IN-MAL-2026-021805","import_time":"2026-10-26T18:56:19.643594737Z","modified_time":"2026-10-26T18:35:47Z","sha256":"21c91b39929f03c30e501726fc2d1c1fa43f17bf2ed77bda52380e563c1171e0","source":"amazon-inspector","versions":["1.0.0"]},{"id":"IN-MAL-2026-021806","import_time":"2026-10-26T18:56:19.772413148Z","modified_time":"2026-10-26T18:35:54Z","sha256":"1000d72c3ff8c7f55fff9a26b2279cdad79426aa055f0527f430ce1e35ea8fba","source":"amazon-inspector","versions":["1.0.1"]},{"id":"IN-MAL-2026-022300","import_time":"2026-10-29T14:37:02.770640251Z","modified_time":"2026-10-29T14:14:48Z","sha256":"7646fd7c48c73a47aa8f3ce58c1a29e7d0b0ee1493be5d13abb2032a6446be56","source":"amazon-inspector","versions":["0.0.0-stage"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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