Malicious code in @xsat10/baileys-xsat (npm)
The npm package @xsat10/baileys-xsat version 2.0.0 is a fork of the Baileys WhatsApp Web library that contains malicious code. Although some code patterns resemble normal media upload and connectivity checks, the fork's provenance is suspicious due to prior instances of Baileys forks embedding covert side effects using authenticated WhatsApp sessions. The package is considered fully compromising to any computer on which it is installed, potentially allowing an attacker full control. Immediate removal and secret rotation are advised.
AI Analysis
Technical Summary
The @xsat10/baileys-xsat npm package (version 2.0.0) is a malicious fork of the Baileys WhatsApp Web library. Static analysis detected code patterns consistent with Baileys functionality but raised concerns due to the fork's history of embedding covert side effects such as auto-following author-controlled newsletters and install counters using the victim's authenticated WhatsApp session. No direct evidence of data exfiltration or non-first-party destinations was found in the matched code paths. However, the package is flagged as fully compromising any system where it is installed, implying potential full system compromise.
Potential Impact
Any computer with this package installed should be considered fully compromised. Attackers may have gained full control over the system, including access to all stored secrets and keys. Removal of the package alone does not guarantee elimination of all malicious software introduced. Immediate secret and key rotation from a separate, trusted device is necessary to mitigate ongoing risk.
Mitigation Recommendations
Remove the @xsat10/baileys-xsat package immediately from all affected systems. Rotate all secrets and keys stored on compromised computers from a different, secure device. Due to the potential full system compromise, further forensic investigation and remediation may be required. No official patch or fix is available; the package itself is malicious and should not be used.
Malicious code in @xsat10/baileys-xsat (npm)
Description
The npm package @xsat10/baileys-xsat version 2.0.0 is a fork of the Baileys WhatsApp Web library that contains malicious code. Although some code patterns resemble normal media upload and connectivity checks, the fork's provenance is suspicious due to prior instances of Baileys forks embedding covert side effects using authenticated WhatsApp sessions. The package is considered fully compromising to any computer on which it is installed, potentially allowing an attacker full control. Immediate removal and secret rotation are 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 @xsat10/baileys-xsat npm package (version 2.0.0) is a malicious fork of the Baileys WhatsApp Web library. Static analysis detected code patterns consistent with Baileys functionality but raised concerns due to the fork's history of embedding covert side effects such as auto-following author-controlled newsletters and install counters using the victim's authenticated WhatsApp session. No direct evidence of data exfiltration or non-first-party destinations was found in the matched code paths. However, the package is flagged as fully compromising any system where it is installed, implying potential full system compromise.
Potential Impact
Any computer with this package installed should be considered fully compromised. Attackers may have gained full control over the system, including access to all stored secrets and keys. Removal of the package alone does not guarantee elimination of all malicious software introduced. Immediate secret and key rotation from a separate, trusted device is necessary to mitigate ongoing risk.
Defensive Guidance
Remove the @xsat10/baileys-xsat package immediately from all affected systems. Rotate all secrets and keys stored on compromised computers from a different, secure device. Due to the potential full system compromise, further forensic investigation and remediation may be required. No official patch or fix is available; the package itself is malicious and should not be used.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-13390
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-fj9m-r2qx-cc39"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a74cf8ebf8831d5391aea5c
Added to database: 08/06/2026, 18:16:46 UTC
Last enriched: 08/06/2026, 18:40:44 UTC
Last updated: 08/06/2026, 18:40:44 UTC
Views: 2
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.