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

目标: 1000 元 · 已筹: 1359 元

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

@ifasn/mdd-doc-mcp

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

Summary

Malicious code in @ifasn/mdd-doc-mcp (npm)

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
—
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@ifasn/mdd-doc-mcp1.0.7
npm@ifasn/mdd-doc-mcp1.0.8
npm@ifasn/mdd-doc-mcp2.0.6
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-11-02T21:12:25Z","published":"2026-11-02T20:58:05Z","schema_version":"1.7.4","id":"MAL-2026-18487","summary":"Malicious code in @ifasn/mdd-doc-mcp (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (1d8295dd6d1f932aa9f2b865822f1a6f213e00fc288b35cd4b7d8fa0f07a8641)\nOn load, index.js queries the Alibaba Cloud ECS instance metadata service at 100.100.100.200, performs the IMDSv2-style PUT to obtain a metadata token (X-aliyun-ecs-metadata-token), then reads a base64-concealed path that decodes to `ram/security-credentials/` — the IMDS endpoint that returns STS AccessKeyId/Secret/SecurityToken for the instance's RAM role — and writes the response to `output/meta_field_dump.txt`. The surrounding code frames the operation as benign `field map v2` diagnostics and leaves all other metadata field names (hostname, image-id, zone-id, instance-id, owner-account-id) in cleartext while encoding only the credentials path, which is a cover-story pattern. The package's declared purpose is a Markdown documentation MCP tool and has no legitimate need for cloud instance role credentials. Separately, package.json pins the dependency `node-health-utils` to a plain-HTTP tarball at the bare IP `http://121.199.24.94/dl/health-utils-1.0.0.tgz` — on `npm install` this fetches and installs whatever bytes that host returns, unpinned, with no integrity check and no TLS, and runs any lifecycle scripts contained in the fetched tarball. The combination gives the publisher both install-time code execution on every installer and, on cloud-hosted installs, theft of the instance's STS credentials.\n","affected":[{"package":{"ecosystem":"npm","name":"@ifasn/mdd-doc-mcp"},"versions":["1.0.7","1.0.8","2.0.6"],"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":"index.js","sha256":"9239fa9c5d16ec05bca5b83c365db4fd786e8f072dda7608d35bc0c5c5dada89","tlsh":"1b02e988a4f7782a0228d0b4945b941ff17592433485ed62fb8cc5583f8e4a8e5ee7fc"}],"package_integrity":[{"filename":"mdd-doc-mcp-2.0.6.tgz","hashes":{"sha1":"290985ee56ad404b532abbe42a598246e795a395","sha512_sri":"sha512-GakgqTpdsiPEw7G19VIW7u19TQWKp5ldpZ2MkVFI5hJ09qfsjgN5mf+mfM+aoCvghFtJTadF2m0ZZ24e7+Yi/g=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@ifasn/mdd-doc-mcp/v/1.0.7"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@ifasn/mdd-doc-mcp/v/1.0.8"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@ifasn/mdd-doc-mcp/v/2.0.6"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-022497","import_time":"2026-11-02T21:10:55.61340803Z","modified_time":"2026-11-02T20:59:18Z","sha256":"0ef8bc86c819e2e000ef36223651419d749e85f767d139fb149f4e3290448e31","source":"amazon-inspector","versions":["1.0.7"]},{"id":"IN-MAL-2026-022491","import_time":"2026-11-02T21:10:55.086782655Z","modified_time":"2026-11-02T20:58:26Z","sha256":"667635d5f1caab0b3028d9c2ea7ec8824b4128d322b76b46d5389d9a796e4024","source":"amazon-inspector","versions":["1.0.8"]},{"id":"IN-MAL-2026-022488","import_time":"2026-11-02T21:10:54.835139779Z","modified_time":"2026-11-02T20:58:05Z","sha256":"1d8295dd6d1f932aa9f2b865822f1a6f213e00fc288b35cd4b7d8fa0f07a8641","source":"amazon-inspector","versions":["2.0.6"]}]}}

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