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

目标: 1000 元 · 已筹: 1336

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

tw-theme-kit

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

Summary

Malicious code in tw-theme-kit (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
9
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmtw-theme-kit*
npmtw-theme-kit1.1.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-5935","published":"2026-06-16T22:21:38Z","modified":"2026-08-25T17:27:31.638318679Z","aliases":["GHSA-g2wq-vjqj-xc3h"],"summary":"Malicious code in tw-theme-kit (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (0144b9ea6743e481e49885f6375a8aa990e9a20bfc5da1148b7df59a9370736c)\nThe published entrypoints dist/index.cjs and dist/runtime.cjs contain an injected IIFE that assigns `global.r = require` and `global.m = module`, tags the host with campaign id 'A6-Orion-271', uses a string-shuffle helper to reconstruct the identifier 'constructor', then invokes Function() on a deshuffled obfuscated blob and immediately calls the resulting function. Any consumer that does `require('tw-theme-kit')` or `import 'tw-theme-kit/runtime'` triggers attacker-controlled code at load time with full Node capabilities (fs, child_process, net) exposed via the globals. This behavior is unrelated to the package's stated purpose (a Tailwind theme plugin) and matches the fingerprint of the 'Orion' obfuscated-loader campaign. The.mjs builds and source-maps embed the same obfuscated literal, so no entrypoint is safe.\n\n## Source: ghsa-malware (de70cc0bc70c11c34e04c2cdaea11b8e0173befc31c43e2921933c180736ffa3)\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":"tw-theme-kit","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.1.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"}],"indicators":{"evidence_files":[{"path":"dist/index.cjs","sha256":"ce9e98ae597db38c523eb0141be40b29d462e22edffad6be38b562193ff278e6","tlsh":"cc421985b7fa2623007394ed412b8016faa9b1421419f748f9ddd3e80f8a21ec9f57e9"},{"path":"dist/runtime.cjs","sha256":"eea38ba44c83cf0fc821802e00dec564f35ba062ce3817517b7c4af41bc4510f","tlsh":"83e13cc43bf97766217200a5121790067594b1838429f58cedeee3e90fda21f89f8bf9"}],"package_integrity":[{"filename":"tw-theme-kit-1.1.0.tgz","hashes":{"sha1":"190b3a8c76e72928ba27eaeec223ee1dc79563f5","sha512_sri":"sha512-wW+MgsdKOTDDfF3ldqEOFH84JJ4fxSXw6bjS6NXhtMTeXkIzuoGsXXKj2vvF58HTQCTQTxQASrYNLF08svZ0+A=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/tw-theme-kit/v/1.1.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-g2wq-vjqj-xc3h"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-006848","import_time":"2026-06-16T23:03:43.703368387Z","modified_time":"2026-06-16T22:21:38Z","sha256":"0144b9ea6743e481e49885f6375a8aa990e9a20bfc5da1148b7df59a9370736c","source":"amazon-inspector","versions":["1.1.0"]},{"id":"GHSA-g2wq-vjqj-xc3h","import_time":"2026-08-25T17:25:28.256918326Z","modified_time":"2026-08-25T16:29:19Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"de70cc0bc70c11c34e04c2cdaea11b8e0173befc31c43e2921933c180736ffa3","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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