Malware in @fhkry/baileys
Malware was discovered in the npm package @fhkry/baileys. The package grants full control of affected systems to an outside entity and compromises all secrets and keys stored on those systems.
- Disclosed
- Last updated
- Blast radius
- Any system with the package installed or running
- Ecosystems
- Attack vectors
- Affected entities
- @fhkry/baileys
A critical malware incident was identified in the npm package @fhkry/baileys. According to the GitHub Advisory (GHSA-779h-825r-3p44), any computer with this package installed or running should be considered fully compromised.\n\nThe malware provides outside entities with full control of affected systems. All secrets and keys stored on compromised computers should be rotated immediately from a different, unaffected computer. While the package can be removed, there is no guarantee that removal will eliminate all malicious software that may have been installed as a result of the initial compromise, given the level of system access granted to the attacker.\n\nUsers should treat any system that has run this package as potentially fully compromised and take appropriate incident response measures.
Indicators of compromise
- Packages
- @fhkry/baileys
Remediation
- Remove the @fhkry/baileys package immediately from all systems
- Rotate all secrets, keys, and credentials from a different, unaffected computer
- Perform a full security audit and malware scan of any system that had the package installed or running
- Review system logs and network traffic for signs of unauthorized access or data exfiltration
- Consider the affected system(s) as potentially fully compromised and plan for complete rebuild if critical systems are involved
Sources
- GitHub Advisory GHSA-779h-825r-3p44 · GitHub Advisory Database
Cite this entry
"Malware in @fhkry/baileys." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed July 15, 2026; last updated July 15, 2026. https://supplychainattack.org/incident/malware-in-fhkry-baileys-1xg75r
Suggest a correction
Found an error or have a newer source? Corrections to factual errors take priority over new entries.
Related incidents
- activecritical
Malware in patientdocuments
The npm package patientdocuments contains malware that grants full system compromise to an outside entity. Any computer with this package installed or running should be considered fully compromised and all secrets and keys should be rotated immediately from a different computer.
npmCompromised package - containedcritical
Malware in js-shared-modules
Malware was discovered in the npm package js-shared-modules. Systems with this package installed or running are considered fully compromised, with potential for complete system takeover.
npmCompromised package - resolvedcritical
Malicious code in angylarjs (npm)
Malicious code was discovered in the angylarjs npm package. The package was identified by the OpenSSF malicious-packages project and reported via GitHub Security Advisory GHSA-qqc2-6x9j-cm25.
npmCompromised package - activecritical
Malware in postcss-processor-utils
Malware discovered in the npm package postcss-processor-utils. The package grants full system compromise to attackers, requiring immediate removal and credential rotation from a clean system.
npmCompromised package