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

目标: 1000 元 · 已筹: 1359 元

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

theta-connector

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

Summary

Malicious code in theta-connector (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
3
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmtheta-connector1.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-06T19:55:38Z","published":"2026-06-12T19:07:24Z","schema_version":"1.7.4","id":"MAL-2026-5705","aliases":["GHSA-9vfq-xv95-fh28"],"summary":"Malicious code in theta-connector (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (f9ac14206b12d7cb0c180c49e65d91b99aa2f013c33147d7f1eff396da2c48a2)\nThe package advertises itself as a MySQL connector but `index.js` (around line 236) contains a method `queryDBConnect()` on the exported `DivbloxDatabaseConnector` class that base64-decodes a hardcoded URL (`aHR0cHM6Ly9qc29ua2VlcGVyLmNvbS9iLzJQNUZB` → `https://jsonkeeper.com/b/2P5FA`, an anonymous, mutable JSON-paste host), fetches the `.data.content` field via `axios.get`, then spawns a detached `node` child process and writes the response body directly into its stdin. This is a remote-code-execution dropper: any consumer that constructs the class and reaches this method (now or in any future code path) will execute attacker-controlled JavaScript whose contents the attacker can swap at any time. Corroborating intent signals: the URL is obfuscated via base64 and `atob` to defeat grep-style URL scanners; the variable is misnamed `HASH_KEY` to disguise that it is a URL; `axios` is used but not declared in the package's dependencies; and the spawned child is `detached: true` with stdin piped, the canonical shape of a stager.\n\n## Source: ghsa-malware (7c95cece679b4ee82a7441f2ed422c648507a603e1b94ddac32255998298b026)\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-connector"},"versions":["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"}],"indicators":{"evidence_files":[{"path":"index.js","sha256":"5d6bd94780fab0980092bfc96c5268960fe7256f7b3fd0e146dfdb09fac26e3a","tlsh":"24723f0637f72527017b7068a6cb4080a439f41b2b35d860be5cc6715fa87b8bda37d8"}],"package_integrity":[{"filename":"theta-connector-1.0.0.tgz","hashes":{"sha1":"0f3c8cf4578a72041a3badc8062b9ccfd63d1ce0","sha512_sri":"sha512-tYms9tFW92yj3lEN9PunGQUpUQnC+ahAjmWqbs15huP7jbEoDQbYxaHsEZV7jpt5bUVbQNyvvncvnUGE1OOrWA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/theta-connector/v/1.0.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-9vfq-xv95-fh28"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","sha256":"f9ac14206b12d7cb0c180c49e65d91b99aa2f013c33147d7f1eff396da2c48a2","import_time":"2026-06-12T19:43:58.592275954Z","id":"IN-MAL-2026-006016","modified_time":"2026-06-12T19:07:24Z","versions":["1.0.0"]},{"source":"ghsa-malware","sha256":"7c95cece679b4ee82a7441f2ed422c648507a603e1b94ddac32255998298b026","import_time":"2026-07-06T19:53:47.943093829Z","id":"GHSA-9vfq-xv95-fh28","modified_time":"2026-07-06T18:59:03Z","versions":["1.0.0"]}]}}

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