Malicious code in cloud-baileys (npm)
Description
The cloud-baileys npm package versions 1.0.0 through 1.1.42 contain malicious code. Installing or running this package can lead to full system compromise, potentially exposing all secrets and keys stored on the affected computer. Removal of the package does not guarantee elimination of all malicious software introduced. Immediate secret and key rotation from a separate, uncompromised system is strongly advised.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The cloud-baileys npm package, specifically versions 1.0.0 through 1.1.42, contains embedded malicious code that compromises any system on which it is installed or executed. This compromise can result in an attacker gaining full control over the affected computer, including access to sensitive secrets and keys. Due to the nature of the compromise, simply uninstalling the package may not remove all malicious artifacts or backdoors introduced by the attacker.
Potential Impact
Systems with the affected cloud-baileys package installed are considered fully compromised. Attackers may have gained complete control over the system, risking exposure and theft of all stored secrets and keys. This can lead to further unauthorized access and potential lateral movement within the victim's environment.
Mitigation Recommendations
Remove the cloud-baileys package immediately from affected systems. Rotate all secrets and keys that were stored or accessible on the compromised system, performing this rotation from a different, trusted computer. Due to the potential persistence of malicious software beyond the package itself, consider a full system investigation and remediation to ensure complete removal of the threat.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-17751
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-745p-g872-6x8c"]
- Ecosystems
- ["npm"]
Threat ID: 6ac96e552cdf04f65689a7d3
Added to database: 10/09/2026, 22:44:37 UTC
Last enriched: 10/09/2026, 22:50:43 UTC
Last updated: 10/09/2026, 22:50:43 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.