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

目标: 1000 元 · 已筹: 1359 元

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

cosmosdb-server

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

Summary

Malicious code in cosmosdb-server (npm)

文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
4
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmcosmosdb-server0.0.1
npmcosmosdb-server0.0.2
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-05-26T05:55:02Z","published":"2026-05-23T15:32:58Z","schema_version":"1.7.4","id":"MAL-2026-4537","summary":"Malicious code in cosmosdb-server (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (925077d4c86616920b1ad20f2342df7473d9504764582235049e78eed9189a76)\nPackage squats the unscoped name `cosmosdb-server`, targeting users who mistype `npx cosmosdb-server` instead of the scoped `@vercel/cosmosdb-server`. The package.json declares `bin: {\"cosmosdb-server\": \"./index.js\"}` and self-describes as a 'bin-mismatch PoC' for the Vercel package. When invoked (via `npx`, `bin` execution, or `require()`), index.js collects `os.hostname()`, `process.cwd()`, `process.platform`, `process.arch`, and a timestamp and POSTs them to a hardcoded endpoint at `https://callback-monitor.cyb3rsh4ykh.workers.dev/c`, controlled by the package author. The 'security research / responsible disclosure' framing in the description does not constitute installer consent — the package is published live on the public registry under a name designed to capture mistyped invocations, and victims have no opportunity to opt out before their host identity and working-directory path are exfiltrated. Combination of (a) ≤2-edit name confusion against a scoped Vercel package, (b) hardcoded attacker-controlled exfil endpoint, and (c) immediate-on-execution data collection meets the typosquat-with-installer-harm threshold.\n","affected":[{"package":{"ecosystem":"npm","name":"cosmosdb-server"},"versions":["0.0.1","0.0.2"],"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":{"domains":["callback-monitor.cyb3rsh4ykh.workers.dev"],"evidence_files":[{"path":"index.js","sha256":"f9bfe1d95b9d03bce089fa359d667f50c26e152716ef66b1e7ec041c82dabe62","tlsh":"5421d0d192da62252ae5adc070b33e4ba397c534f702a451668501e56ff98b8cc912cb"},{"path":"package.json","sha256":"e34d03f70361706f92abdb54a351b19f7e590bdcc66969b516de088e9727bb00","tlsh":"b6e026336414c22b69e815981c302a9a7e248b521344790c035b8309e29cab182b8359"}],"package_integrity":[{"filename":"cosmosdb-server-0.0.1.tgz","hashes":{"sha1":"fb01c47a48f091401ea19d86b9b772665f1b0cfd","sha512_sri":"sha512-rhcCK9+hYuGF5+9xwGW5rNeFNbsc0sODUZjX9X78A61ZrbBZGLJgSZCdcOfiHwbbhQm0QhY5SC/u1Av2/F4fNQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/cosmosdb-server/v/0.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/cosmosdb-server/v/0.0.2"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["actran@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-004347","import_time":"2026-05-26T05:52:25.316264978Z","modified_time":"2026-05-23T15:32:58Z","sha256":"925077d4c86616920b1ad20f2342df7473d9504764582235049e78eed9189a76","source":"amazon-inspector","versions":["0.0.1"]},{"id":"IN-MAL-2026-004359","import_time":"2026-05-26T05:52:26.798984862Z","modified_time":"2026-05-23T16:12:29Z","sha256":"bd70e10e2c7d65e7513de4b24cf12a84b72c2b9bc60c308193d16e556579cbc8","source":"amazon-inspector","versions":["0.0.2"]},{"id":"IN-MAL-2026-004358","import_time":"2026-05-26T05:52:26.669356548Z","modified_time":"2026-05-23T16:12:19Z","sha256":"92604ddb032b222715131556ae2bd43c107849724e592697f99782131d461e0c","source":"amazon-inspector","versions":["0.0.2"]}]}}

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