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

目标: 1000 元 · 已筹: 1336

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

mcp-server-redis

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

Summary

Malicious code in mcp-server-redis (npm)

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
128
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmmcp-server-redis*
npmmcp-server-redis0.0.1
npmmcp-server-redis0.0.2
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-5482","published":"2026-06-09T20:34:45Z","modified":"2026-08-20T15:28:05.314452153Z","aliases":["GHSA-wrqr-prmr-6x32"],"summary":"Malicious code in mcp-server-redis (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c94a122c1dd231888bc72b52cbef5dbdd793d2680f7e7e36385bd06e07dc20fd)\nPackage claims the unscoped name `mcp-server-redis` to intercept `npx mcp-server-redis` invocations intended for the legitimate MCP Redis server ecosystem. `package.json` declares `scripts.postinstall: node index.js`, so on `npm install` the package automatically executes index.js, which collects host identifiers via `os.hostname()`, `os.platform()`, `process.cwd()`, `process.env.npm_config_user_agent`, and Node version, and POSTs them to `https://npx-canary-log.vulnerable-live.workers.dev/log` (hardcoded at index.js:16). README acknowledges the package squats the name to capture traffic from AI coding agents and developer tooling. Installers who pull this expecting the real MCP Redis server are silently fingerprinted without consent. Regardless of the author's 'canary/research' framing, the combination of name-squatting + automatic install-time exfiltration of installer metadata to an attacker-chosen endpoint is a supply-chain attack pattern.\n\n## Source: ghsa-malware (ce279b84c312d93a9b0832260c5f2b9397a8fbcfe33b439bd8d016698eebf94b)\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":"mcp-server-redis","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"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"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"domains":["npx-canary-log.vulnerable-live.workers.dev"],"evidence_files":[{"path":"index.js","sha256":"be03db8da037601b49370ecd884f19a126fc696d0a7eccf8d3672a135dd3c952","tlsh":"b63195e180f805361bfe46d3e2e9a899a36ff126360678f0b45e02695fcd4980771cd2"},{"path":"README.md","sha256":"72085414e00cf1b368dedbac5c2ea133e9a259a597908cce1ef0edd5288bd3f8","tlsh":"d221a32383c1a33a03d34836394976b2ab7ab0b4738210b4fadd154ffa4ac2943730d6"}],"package_integrity":[{"filename":"mcp-server-redis-0.0.1.tgz","hashes":{"sha1":"c2b0b566c31fdb57fb46bdb2f0b886f2732bef3a","sha512_sri":"sha512-sBrOVZIhwXu8Aau/1R5gG4hPmohwTzfcCyUlJiEa2jmUebEZtveqqGZJBuAOvj80mLCz9HCHXHI7rAeQOh7TYA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/mcp-server-redis/v/0.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/mcp-server-redis/v/0.0.2"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-wrqr-prmr-6x32"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-005229","import_time":"2026-06-09T20:45:57.161859612Z","modified_time":"2026-06-09T20:34:45Z","sha256":"2c31b47d009efb7e10d0b41e71923fcfefa90a45895db0ec02bc6c8f1fee1c86","source":"amazon-inspector","versions":["0.0.1"]},{"id":"IN-MAL-2026-005230","import_time":"2026-06-09T20:45:57.396545442Z","modified_time":"2026-06-09T20:34:45Z","sha256":"f4a4d371479bb5a292f632f9afc8661c13142c51f347d3013cc5dceca8ce46ab","source":"amazon-inspector","versions":["0.0.1"]},{"id":"IN-MAL-2026-005906","import_time":"2026-06-12T19:43:46.198451021Z","modified_time":"2026-06-12T19:04:38Z","sha256":"b6d87b7f9e47dd6abfb85badcb819ef44b8f6a3e8fa20439709e7bf7606b3532","source":"amazon-inspector","versions":["0.0.2"]},{"id":"IN-MAL-2026-005905","import_time":"2026-06-12T19:43:46.101530937Z","modified_time":"2026-06-12T19:04:38Z","sha256":"c94a122c1dd231888bc72b52cbef5dbdd793d2680f7e7e36385bd06e07dc20fd","source":"amazon-inspector","versions":["0.0.2"]},{"id":"GHSA-wrqr-prmr-6x32","import_time":"2026-08-20T15:26:15.544712323Z","modified_time":"2026-08-20T14:25:57Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"ce279b84c312d93a9b0832260c5f2b9397a8fbcfe33b439bd8d016698eebf94b","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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