Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

mcp-server-redisnpm

Malicious code in mcp-server-redis (npm) Remove it immediately and rotate any exposed credentials.

MAL-2026-5482
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall mcp-server-redis

What this malware does

Package squats the unscoped npm name mcp-server-redis (commonly invoked via npx mcp-server-redis by MCP/AI tooling looking for the official scoped Redis MCP server). package.json declares "postinstall": "node index.js", so on every npm install the script in index.js auto-runs and POSTs a JSON payload containing os.hostname(), process.cwd(), process.env.npm_config_user_agent, Node version and platform to the hardcoded endpoint https://npx-canary-log.vulnerable-live.workers.dev/log. The same exfiltration also fires on every CLI invocation. Installers did not consent; the working-directory path can leak project/repository names, and host identifiers are sent to a third-party Cloudflare Workers endpoint. The author frames this as a 'security research canary,' but the mechanism — name-squat + automatic install-time beacon to an external endpoint — is namespace abuse with installer-data exfiltration regardless of stated intent.

Malicious versions

1 flagged
0.0.1

Indicators of compromise (SHA-256)

2c31b47d009efb7e10d0b41e71923fcfefa90a45895db0ec02bc6c8f1fee1c86
f4a4d371479bb5a292f632f9afc8661c13142c51f347d3013cc5dceca8ce46ab

Frequently asked questions

No. mcp-server-redis on npm has been identified as a malicious package (version 0.0.1 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-005229IN-MAL-2026-005230

References

Credits

  • Amazon Inspector · finder

Scan your dependencies

O3 Security blocks malicious packages like this at install time and in CI.

Supply-chain protection
mcp-server-redis (npm) malicious package — MAL-2026-5482 | O3 Security