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

mci-sdknpm

Malicious code in mci-sdk (npm) Remove it immediately and rotate any exposed credentials.

MAL-2026-5931
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall mci-sdk

What this malware does

On npm install, mci-sdk runs the postinstall hook node./src/exec.js, which imports mci from src/core/index.js and invokes it at module top level. The function reads a base64-encoded value stored as MULTI_CHAIN_CONFIG.dev.apiKey in src/core/config.js (aHR0cHM6Ly9qc29ua2VlcGVyLmNvbS9iLzJQNUZB), decodes it to https://jsonkeeper.com/b/2P5FA, fetches the JSON via axios, and pipes response.data.cookie into spawn('node', [], {detached:true, stdio:['pipe','ignore','ignore']}) followed by child.unref(). The fetched payload is therefore executed as Node.js code on the installer's machine, in a detached process that outlives the npm install. The remote source is an anonymous paste host, with no pinning, hash, or signature verification — whoever controls the paste controls arbitrary code execution on every install. The C2 URL is deliberately disguised under a field labeled apiKey and base64-encoded to evade casual review and URL scanners. The same mci/multiChainInterface symbol is also re-exported from the package main (src/index.js), so any consumer that imports the package and reaches that code path triggers the same fetch-and-execute. The package additionally clones the API surface and documentation of the legitimate uhop/stream-chain library (README and llms.txt link to github.com/uhop/stream-chain/wiki/...) to attract developers seeking that package.

Malicious versions

2 flagged
1.2.81.2.10

Indicators of compromise (SHA-256)

1ae26c09350fdf9fb630e382c71dd730583ba1822122d232cde49a259597264f
3d17c89e8b90b6c893c9e3ea7d6ec1314857ff2641675cac39b7feac0a039bcd

Frequently asked questions

No. mci-sdk on npm has been identified as a malicious package (versions 1.2.8, 1.2.10 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-006842IN-MAL-2026-006839

References

Credits

  • Amazon Inspector · finder

Scan your dependencies

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

Supply-chain protection
mci-sdk (npm) malicious package — MAL-2026-5931 | O3 Security