baileys-inmemory-store (npm) · Malicious Code
Affects baileys-inmemory-storeSource GCVE Database
Malicious package : remove baileys-inmemory-store and rotate any secrets on hosts that installed it.
Data as of 10 Sep 2026, 11:25 UTC
Malicious package
Published to npm · OSV MAL-2026-14528
What to do
Remove baileys-inmemory-store from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmbaileys-inmemory-store | Affected– | Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package 'baileys-inmemory-store' was found to contain malicious code or dependencies with malicious code. Any system with this package installed or running should be considered fully compromised. It is recommended to remove the package and immediately rotate all secrets and keys from a different, trusted system. However, removal of the package may not fully eliminate the malicious presence due to potential full control given to an attacker.
References
- github.com/advisories/GHSA-gr9h-5xx6-g7cc (opens in a new tab)
- npmjs.com/package/baileys-inmemory-store/v/1.0.2-beta-3 (opens in a new tab)
- npmjs.com/package/baileys-inmemory-store/v/1.0.2-beta-4 (opens in a new tab)
- npmjs.com/package/baileys-inmemory-store/v/1.0.2-beta-6 (opens in a new tab)
- npmjs.com/package/baileys-inmemory-store/v/1.0.2-beta-5 (opens in a new tab)