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

目标: 1000 元 · 已筹: 1359 元

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

mdb-vite

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

Summary

Malicious code in mdb-vite (npm)

凭据/密钥窃取
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
2
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmmdb-vite*
npmmdb-vite1.5.2
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-10144","published":"2026-07-10T16:12:23Z","modified":"2026-09-01T11:20:28.107206746Z","aliases":["GHSA-w572-cxjv-46jc"],"summary":"Malicious code in mdb-vite (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (d24ffe7ac6e64aab50d9ba84f5b06ffd1047663698d25071770749b36afe6543)\nThe package's default export `getPlugin` performs an HTTPS fetch to https://svganchordev.net/icons/107 with URL components split across `protocol`, `domain`, `separator`, and `path` variables to disguise the destination, then passes the response's `credits` field to `new Function('require','module',...,data.credits)` and invokes it with full Node capabilities (require, module, process, Buffer, global, __dirname=process.cwd()). Any consumer that imports the package and invokes the default export runs attacker-controlled code with the installer's Node privileges — enabling arbitrary payload delivery, credential theft, persistence, or downstream compromise. Additional misdirection: the package name `mdb-vite` evokes MDBootstrap/Vite tooling, keywords are `react, helper, svg`, the README titles itself `polymarket-clob-api`, and package.json describes it as a Polymarket CLOB SDK — none of which match the code, which only fetches and evals remote JavaScript. A `bearrtoken: 'logo'` header and an unused CDN-provider map (cloudflare/fastly/akamai/cloudfront) are decoys to make the loader appear CDN-related.\n\n## Source: ghsa-malware (5e2c6b3eff8c409ee862db83e5d1211582cd14238384a89c0bc6b31b16fbead7)\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":{"name":"mdb-vite","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.5.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":{"evidence_files":[{"path":"index.js","sha256":"f03baeca30cfcbb5903b1d93435435be75b45695cae2510970d803a09ba7071d","tlsh":"3ac1616546fa31a36a67e4edf30f10027165e3133759e971f48e42902fca568e5f24e8"},{"path":"package.json","sha256":"1d521fdd6bb95dcef161910cc42e1f0268dff49b6ccc72e246deede141e35357","tlsh":"caf04620ce25deb304d615969c39808ba161d94f8d51fc0d378a476c4f4e66f26fe66c"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-w572-cxjv-46jc"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/mdb-vite/v/1.5.2"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-w572-cxjv-46jc","import_time":"2026-07-10T16:54:13.298233764Z","modified_time":"2026-07-10T16:12:27Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"5e2c6b3eff8c409ee862db83e5d1211582cd14238384a89c0bc6b31b16fbead7","source":"ghsa-malware"},{"id":"IN-MAL-2026-009793","import_time":"2026-07-13T04:43:13.021955703Z","modified_time":"2026-07-13T04:27:24Z","sha256":"d24ffe7ac6e64aab50d9ba84f5b06ffd1047663698d25071770749b36afe6543","source":"amazon-inspector","versions":["1.5.2"]},{"id":"RLMA-2026-06324","import_time":"2026-09-01T11:17:32.398736351Z","modified_time":"2026-08-24T16:59:00Z","sha256":"8890cfc46b29bb7f6fae187083169fc96bbdaec3397103bc8e86004f9434abb9","source":"reversing-labs","versions":["1.5.2"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"ReversingLabs","contact":["https://www.reversinglabs.com"],"type":"FINDER"}]}

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