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

目标: 1000 元 · 已筹: 1359 元

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

mddriver

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

Summary

Malicious code in mddriver (npm)

凭据/密钥窃取
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
3
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmmddriver*
npmmddriver1.8.1
npmmddriver1.8.2
npmmddriver1.8.3
npmmddriver1.8.4
npmmddriver1.8.5
npmmddriver1.8.6
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-08T22:53:35Z","published":"2026-06-15T16:31:14Z","schema_version":"1.7.4","id":"MAL-2026-5791","aliases":["GHSA-75f4-4w6r-vvch"],"summary":"Malicious code in mddriver (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (5a5b264d05ffaf76e8be2d7a46cb2277211a045fa15e8c510ab60cdd5c5bae56)\nOn require('mddriver'), an IIFE in index.js invokes loadTokenData(), which fetches https://www.jsonkeeper.com/b/C4H0M (stored base64-encoded as \"aHR0cHM6Ly93d3cuanNvbmtlZXBlci5jb20vYi9DNEgwTQ==\" and decoded with atob), parses the JSON response, and passes the.content field to a Function-constructor evaluator (`new (Function.contructor)(...)`) for execution. The paste-style host is anonymous and the fetched content is fully mutable — any consumer that imports this package executes whatever JavaScript the operator of that paste serves at that moment, with no signature, hash, or pinning. The package metadata advertises 'MongoDB connection driver' but the shipped index.js is a verbatim copy of Node's built-in `path` module with the dropper appended; the name 'mddriver' and the misleading description are consistent with a typosquat targeting developers searching for mongodb / mongoose drivers.\n\n## Source: ghsa-malware (45fd76a2765e02f6a60cec830796a1e08003fabc1704c1a645369ebd86c0244d)\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":"mddriver"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.8.5","1.8.4","1.8.2","1.8.6","1.8.3","1.8.1"],"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"},{"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":{"domains":["www.jsonkeeper.com"],"evidence_files":[{"path":"index.js","sha256":"77f0eaa32aa208e3306736483c2a065226cb68b98d3c02f8e6cb98aecd60a709","tlsh":"ac729444594661559a3777b0df0a340ef77584f34215ab00f89cea502f72e78a2feee8"},{"path":"package.json","sha256":"50d0ae37607d87c41111ac49f3ed4f04146772471769bcc6192cda5b2a6a9590","tlsh":"dbe0cd209f61583302e61165186b494777f0ce1f0504bc0423cb5a1cca5e6bf79fb75d"}],"ips":["10.1.0.2","104.16.3.34","64.227.108.217"],"package_integrity":[{"filename":"mddriver-1.8.4.tgz","hashes":{"sha1":"4929ea0abfe7034bcce0e812e6d6c5ecd772ce53","sha512_sri":"sha512-Eeri9BczTTvKePB6BQ31SSLAPa7iaV1wdaHmvumKr4ANDPbA8GPjtH8AHhAQrVpDFZl64qOpwybeAWqI9hSy5A=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/mddriver/v/1.8.4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/mddriver/v/1.8.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/mddriver/v/1.8.5"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/mddriver/v/1.8.6"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/mddriver/v/1.8.3"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-75f4-4w6r-vvch"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/mddriver/v/1.8.1"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","sha256":"0ee35202550715cbac37d68d73bc21d03bb77ce6bc0344d35cc888ec9d7386b6","import_time":"2026-06-15T17:22:47.30783131Z","id":"IN-MAL-2026-006518","modified_time":"2026-06-15T16:31:16Z","versions":["1.8.5"]},{"source":"amazon-inspector","sha256":"23788efca2b8bfdbba9ddfb832302d51900d1e8b76cc086d8de20a4d10788830","import_time":"2026-06-15T17:22:47.872271378Z","id":"IN-MAL-2026-006523","modified_time":"2026-06-15T16:31:19Z","versions":["1.8.4"]},{"source":"amazon-inspector","sha256":"2fba277e47ff86cbf1157c8ea6f1e99c0f929e75676f080b335174a90b7fe299","import_time":"2026-06-15T17:22:47.389601966Z","id":"IN-MAL-2026-006519","modified_time":"2026-06-15T16:31:16Z","versions":["1.8.4"]},{"source":"amazon-inspector","sha256":"5a5b264d05ffaf76e8be2d7a46cb2277211a045fa15e8c510ab60cdd5c5bae56","import_time":"2026-06-15T17:22:47.586749739Z","id":"IN-MAL-2026-006520","modified_time":"2026-06-15T16:31:17Z","versions":["1.8.2"]},{"source":"amazon-inspector","sha256":"60df6c04caff9968ec7a4c511213425653f6c3ce4a4bb49f41c8e22360de7eb3","import_time":"2026-06-15T17:22:47.768385866Z","id":"IN-MAL-2026-006522","modified_time":"2026-06-15T16:31:18Z","versions":["1.8.6"]},{"source":"amazon-inspector","sha256":"c647b8cad06488430fd2c7f37b2ace1d9ddfef7cad74bd8fa0b07905c7eb480f","import_time":"2026-06-15T17:22:47.173753461Z","id":"IN-MAL-2026-006517","modified_time":"2026-06-15T16:31:14Z","versions":["1.8.5"]},{"source":"amazon-inspector","sha256":"d65de0c9e338c91580589a2b878860289cf0d49760d4770d4eca8f3df78b29b5","import_time":"2026-06-15T17:22:48.154142298Z","id":"IN-MAL-2026-006526","modified_time":"2026-06-15T16:31:21Z","versions":["1.8.3"]},{"source":"amazon-inspector","sha256":"5c7ab6a385ebd75263a4c570d3b7214acc1d6e61a9c8fb4788e9e08fabd766f1","import_time":"2026-06-15T17:22:47.937956254Z","id":"IN-MAL-2026-006524","modified_time":"2026-06-15T16:31:20Z","versions":["1.8.2"]},{"source":"amazon-inspector","sha256":"8f806e408e1e61e839b6c693dd719dd5f5f3e7b26f5f5a5149d8085e7997df06","import_time":"2026-06-15T17:22:47.662802109Z","id":"IN-MAL-2026-006521","modified_time":"2026-06-15T16:31:17Z","versions":["1.8.6"]},{"source":"amazon-inspector","sha256":"cc2cfb53823d22e1d06e31d506013143409583d37f05815c099555ddf2790f89","import_time":"2026-06-15T17:22:47.990481058Z","id":"IN-MAL-2026-006525","modified_time":"2026-06-15T16:31:20Z","versions":["1.8.3"]},{"source":"ghsa-malware","sha256":"45fd76a2765e02f6a60cec830796a1e08003fabc1704c1a645369ebd86c0244d","import_time":"2026-06-22T08:28:37.887539623Z","id":"GHSA-75f4-4w6r-vvch","modified_time":"2026-06-22T06:30:31Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"amazon-inspector","sha256":"949a5851d2baefd5c9c4010f4e7e966883b7749d4b4cf3b983bd3f74890d655b","import_time":"2026-07-08T22:51:24.370155974Z","id":"IN-MAL-2026-008821","modified_time":"2026-07-08T22:38:08Z","versions":["1.8.1"]}]}}

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