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

目标: 1000 元 · 已筹: 1359 元

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

chai-chain-dom

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

Summary

Malicious code in chai-chain-dom (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
5
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmchai-chain-dom*
npmchai-chain-dom1.3.7
npmchai-chain-dom1.3.8
npmchai-chain-dom1.3.9
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-09T16:23:00Z","published":"2026-07-07T15:13:22Z","schema_version":"1.7.4","id":"MAL-2026-6919","aliases":["GHSA-2gcw-jv94-7mfq"],"summary":"Malicious code in chai-chain-dom (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (f1964693dd7c2bdd9ca7ae20eb441597571b1b78a689bd97648998c6442bda99)\nPackage impersonates the pino logger (exports module.exports.pino, README uses pino badge, keywords mimic pino) but its actual behavior is a remote code loader. When a consumer requires the package and invokes the exported middleware/pino function, index.js spawns a detached `node lib/caller.js` subprocess (detached:true, stdio:ignore, child.unref()) to hide the activity from the parent process. lib/caller.js then performs an axios GET against https://jsonkeeper.com/b/HIOEN, takes the returned JavaScript from the response's `model` field, and evaluates it via `new Function.constructor(\"require\", src)`, passing the live `require` — granting the remotely fetched attacker-controlled code full Node capability (filesystem, network, child_process, environment). jsonkeeper.com is a public paste service whose content the author can change at any time, so the payload is unpinned and mutable. The masquerade-as-pino name and the detached/stdio-ignored spawn indirection are consistent with deliberate delivery of arbitrary code to installers.\n\n## Source: ghsa-malware (0ceea282f7481deff84cb8d5904fd639408b70386b6184ac1416f887e3be2819)\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":"chai-chain-dom"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.3.9","1.3.7","1.3.8"],"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":"lib/caller.js","sha256":"0069e47baccc2baeb9b58ed0bf558a1a99c98a944450268e7598c381e957e3c6","tlsh":"aef09e1e34f13058477660e59f4b11316012a022344ac5c9734c43920fda56f66777ec"},{"path":"README.md","sha256":"ea1e8160ea3c6334d3dc1e761606df53895aa879dcc6593942cb5a4a56ee8eef","tlsh":"093173e785e46ab257b3017299c37594ef5f631c7b6a60fddcac5129170d993c13020a"},{"path":"lib/const.js","sha256":"9879ffb0bf61edef7e9b90ddc5fac9770c514c0cdecd9a07b15e8a677e6f8f74","tlsh":"8ac08c8351e4a89704301773610ca995f2a1d26f0c840b0331f594844a396a93840fbb"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-2gcw-jv94-7mfq"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/chai-chain-dom/v/1.3.9"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/chai-chain-dom/v/1.3.7"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/chai-chain-dom/v/1.3.8"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"ghsa-malware","sha256":"0ceea282f7481deff84cb8d5904fd639408b70386b6184ac1416f887e3be2819","import_time":"2026-07-07T15:15:50.678349275Z","id":"GHSA-2gcw-jv94-7mfq","modified_time":"2026-07-07T15:13:23Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"amazon-inspector","sha256":"0db07a9f0d5ed59e8fe113e64d5499195a248152f2708415e43473a91d5136d3","import_time":"2026-07-09T16:20:42.128587288Z","id":"IN-MAL-2026-009116","modified_time":"2026-07-09T15:30:36Z","versions":["1.3.9"]},{"source":"amazon-inspector","sha256":"4454a540a32dc78f7ceb14b595949b32b018453f6fcae921b07c6267222232cd","import_time":"2026-07-09T16:20:42.204779932Z","id":"IN-MAL-2026-009117","modified_time":"2026-07-09T15:30:44Z","versions":["1.3.7"]},{"source":"amazon-inspector","sha256":"f1964693dd7c2bdd9ca7ae20eb441597571b1b78a689bd97648998c6442bda99","import_time":"2026-07-09T16:20:42.47172358Z","id":"IN-MAL-2026-009119","modified_time":"2026-07-09T15:31:03Z","versions":["1.3.8"]}]}}

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