@bellachu malicious npm packages (baileys, litebails, bails): embedded malware gives attackers full control of installed machines (no CVE)
Severity: critical · Patch status: no-fix-needed · Since 2026-12-01
On 2026-12-01 GitHub's malware advisory database published three advisories (GHSA-2c3f-cr4c-prmc, GHSA-qh68-v7h3-4h26, GHSA-3m8h-c38q-vc5j) flagging the npm packages @bellachu/baileys, @bellachu/litebails, and @bellachu/bails as containing embedded malicious code (CWE-506). The packages appear to be typosquat-style clones of the popular Baileys WhatsApp library; every published version (= 0) is considered malicious and no patched version exists. Any machine with any of these packages installed or running should be treated as fully compromised, with attackers potentially holding full remote control and access to secrets, keys, and credentials. @bellachu/baileys shows roughly 17K downloads per month, so exposure is non-trivial. Remediation is removal of the packages plus rotation of all secrets from a clean machine, since uninstalling cannot guarantee removal of attacker persistence.
What to do
- Treat any machine with @bellachu/baileys, @bellachu/litebails, or @bellachu/bails installed as fully compromised; isolate and forensically review it
- Rotate all secrets, keys, and credentials stored on or accessible from affected machines, from a clean computer
- Remove the packages and audit for persistence mechanisms, as removal may not eliminate implanted malware
- Audit dependency trees and lockfiles for all three packages and block them in CI/CD and registry proxies
Sources
All live incidents on Threat Watch