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

baileys-inmemory-storenpm

Advisory published Updated

baileys-inmemory-store is a confirmed malicious npm package (MAL-2026-14528) that executes malicious code on install (malicious versions 1.0.2-beta-3, 1.0.2-beta-4, 1.0.2-beta-5…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in baileys-inmemory-store (npm)

MAL-2026-14528
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall baileys-inmemory-store

What this malware does

The package was found to contain malicious code or consuming dependency that contains malicious code

Any 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.

Malicious versions

4 flagged
1.0.2-beta-31.0.2-beta-41.0.2-beta-51.0.2-beta-6

Indicators of compromise (SHA-256)

51ee13e3cd50f563a4c77d9f1cac37988a2102443596c70bb3889c4cb1255978
610d72c934ff0795b4aceddfc341b582c27f71034a47cf3e874e21387c842d34
890465e27e2fef0ea4bc4ae554ed97dbe90803ca788be97cefb6e9141cc34f11
bf12a03578bb99f31da39a7ba59a4499717a31c38d6f43b4940f195714023793
fffc30d2626f2487ae527a6eb7c53375a5347ff27beafed131a6c379d7b37fda

Detection & response playbook

Malicious package
  1. Find it

    Search your lockfiles and build artifacts for baileys-inmemory-store (4 malicious versions).

  2. If you installed it — respond

    Remove baileys-inmemory-store from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.

  3. Did it already run?

    If baileys-inmemory-store was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. baileys-inmemory-store on npm has been identified as a malicious package (versions 1.0.2-beta-3, 1.0.2-beta-4, 1.0.2-beta-5, 1.0.2-beta-6 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

GHSA-gr9h-5xx6-g7ccIN-MAL-2026-019429IN-MAL-2026-019426IN-MAL-2026-019430IN-MAL-2026-019427

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks baileys-inmemory-store-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.

Explore

baileys-inmemory-store (npm) malicious package — MAL-2026-14528 | O3 Security