Malicious code in @yudzxml/baileys (npm)
Description
The npm package @yudzxml/baileys contains malicious code that compromises any computer on which it is installed or running. The presence of this package indicates a full system compromise, requiring immediate rotation of all secrets and keys from a different, trusted machine. Simply removing the package does not guarantee removal of all malicious software introduced.
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 @yudzxml/baileys npm package has been identified as containing malicious code. Installation or execution of this package results in a full compromise of the affected computer, potentially allowing an attacker full control. Due to the severity of the compromise, all secrets and keys stored on the affected system should be rotated immediately from a separate, secure environment. Removal of the package alone is insufficient to ensure complete remediation, as the attacker may have installed additional persistent malicious components.
Potential Impact
Full system compromise on any computer with the package installed or running. All stored secrets and keys are at risk and should be considered compromised. The attacker may maintain persistent access beyond the presence of the package itself.
Defensive Guidance
Remove the @yudzxml/baileys package immediately. Rotate all secrets and keys from a different, uncompromised computer. Conduct a thorough investigation and remediation of the affected system to identify and remove any additional malicious software or backdoors. Do not rely solely on package removal for cleanup.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-17846
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-qh6w-wgpq-j344"]
- Ecosystems
- ["npm"]
Threat ID: 6acd555f2cdf04f656da86ac
Added to database: 10/12/2026, 21:47:11 UTC
Last enriched: 10/12/2026, 22:03:06 UTC
Last updated: 10/12/2026, 22:03:06 UTC
Views: 3
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.