lyxe-baileys (npm): malicious package compromises hosts and exposes secrets
Severity: critical · Patch status: no-fix-needed · Since 2026-11-20
On 2026-11-20, the GitHub Advisory Database published GHSA-f329-9g9w-rc6v for the npm package lyxe-baileys, classifying it as malware containing embedded malicious code (CWE-506). All versions from =0 are affected, and no patched versions exist. The advisory warns that any computer with the package installed or running should be considered fully compromised, because an outside entity may have gained full control; secrets and keys on the host should be rotated from a different computer. Removing the package is recommended but may not eliminate all malicious software. No CVE, exploitation details, or source code are listed. This is a supply-chain risk for Node.js/npm users who installed the package.
What to do
- Assume any machine that installed or ran lyxe-baileys is fully compromised; isolate it from networks.
- Rotate all secrets and keys from a different, trusted computer.
- Remove the package and rebuild or reimage affected hosts; do not rely on uninstall alone.
- Search lockfiles, caches, CI logs, and build artifacts for lyxe-baileys and block it in registries.
- Investigate for persistence and unauthorized access, and engage incident response.
Sources
All live incidents on Threat Watch