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

目标: 1000 元 · 已筹: 1359 元

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

chai-spycore

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

Summary

Malicious code in chai-spycore (npm)

凭据/密钥窃取安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
8
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmchai-spycore*
npmchai-spycore1.1.0
npmchai-spycore1.5.3
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-08T19:35:38Z","published":"2026-07-07T06:27:27Z","schema_version":"1.7.4","id":"MAL-2026-6907","aliases":["GHSA-w3fq-7xj5-8gmv"],"summary":"Malicious code in chai-spycore (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (fbb99516f251bbd13baae5273239a6a04acefea76ddf1a7b06f4b5a328339dae)\nPackage republishes the `chai-spies` Chai plugin source verbatim (including original author header) under the near-identical name `chai-spycore`. `package.json` declares six runtime dependencies — `fast-deep-equal`, `eventemitter3`, `lodash.clonedeep`, `chai-guard`, `is-plain-object`, `just-extend` — but none of these are `require()`d anywhere in `lib/spy.js` or `index.js`. The legitimate `chai-spies` ships with zero runtime dependencies, so the additional deps are pulled into the installer's tree on `npm install chai-spycore` without serving any function in the package's own code. The non-mainstream `chai-guard` dependency is the most suspicious of the set and is the likely vehicle for any indirect code execution against the installer. Routing to human review to assess the name-confusion claim against `chai-spies` and to inspect `chai-guard`'s contents.\n\n## Source: ghsa-malware (fc0a99e30b6e4bd6566b0a720a8b30f21a776ec86f3aa1f02c618fb91de0256a)\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-spycore"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.1.0","1.5.3"],"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"}],"indicators":{"evidence_files":[{"path":"package.json","sha256":"ee6c29c2a52e8ef1bc465d06236b544755eda732c4019f7f8881240510f94e36","tlsh":"6f1166a8db348d6316ca61a4906f11827135ce5b8e98bd1e37e7414c9f1e92b30fddac"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-w3fq-7xj5-8gmv"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/chai-spycore/v/1.1.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/chai-spycore/v/1.5.3"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"ghsa-malware","sha256":"fc0a99e30b6e4bd6566b0a720a8b30f21a776ec86f3aa1f02c618fb91de0256a","import_time":"2026-07-07T07:26:00.87903834Z","id":"GHSA-w3fq-7xj5-8gmv","modified_time":"2026-07-07T06:27:32Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"amazon-inspector","sha256":"981e06e5fef0e9f429323cd55dc586e746a02cec74214d7ac29c9688a51170fd","import_time":"2026-07-08T19:33:42.354418108Z","id":"IN-MAL-2026-008184","modified_time":"2026-07-08T19:20:46Z","versions":["1.1.0"]},{"source":"amazon-inspector","sha256":"fbb99516f251bbd13baae5273239a6a04acefea76ddf1a7b06f4b5a328339dae","import_time":"2026-07-08T19:33:42.515558424Z","id":"IN-MAL-2026-008186","modified_time":"2026-07-08T19:21:03Z","versions":["1.5.3"]}]}}

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