Malicious npm packages @kropa/baileys and @kropa/mbuilder — full host compromise; rotate all secrets (no CVE)
Severity: critical · Patch status: no-fix-needed · Since 2026-11-30
GitHub's malware advisory database published two advisories on 2026-11-30 flagging npm packages from the same publisher as embedded malicious code (CWE-506): @kropa/baileys (GHSA-2377-2hrf-3hr9), which impersonates the popular Baileys WhatsApp library and receives roughly 2,100 downloads per month, and @kropa/mbuilder (GHSA-m83m-jgc4-xw4g). Both advisories state that any computer with the package installed or running should be considered fully compromised, with full control potentially granted to an outside entity. All versions (= 0) are affected and no patched version exists for either package. GitHub's guidance is to rotate all secrets and keys immediately from a separate machine and remove the packages, though removal cannot guarantee eradication of attacker-installed malware. No CVE is assigned; both advisories are reviewed and confirmed malware.
What to do
- Treat any machine with @kropa/baileys or @kropa/mbuilder installed or running as fully compromised
- Rotate all secrets, keys, and credentials stored on affected machines immediately, from a different computer
- Remove the packages and audit for persistence mechanisms, as removal may not eliminate the malware
- Block/flag @kropa/baileys and @kropa/mbuilder in npm registries and CI dependency checks
- Review logs and network traffic from affected hosts for attacker activity
Sources
All live incidents on Threat Watch