Malicious code in santana-baileys (npm)
The santana-baileys npm package, a fork of the Baileys WhatsApp library, contains malicious code that covertly sends message data to an attacker-controlled external host. The package reconstructs a hidden URL via character-code obfuscation and directs WhatsApp session messages to this unauthorized third-party endpoint. Installation or use of this package compromises the host system, potentially exposing all stored secrets and keys.
AI Analysis
Technical Summary
The santana-baileys package modifies the message sending functionality by reconstructing a destination URL from an obfuscated decimal char-code array, which resolves to https://fiora.nixel.my.id/. This endpoint is not part of the legitimate WhatsApp infrastructure and is hidden within the message-send code path. As a result, message send operations on the authenticated WhatsApp session are relayed to an attacker-controlled host, enabling covert exfiltration of messaging data. The package is considered fully malicious, and any system running it should be treated as compromised.
Potential Impact
Systems with the santana-baileys package installed or running are fully compromised. The attacker may gain access to all secrets and keys stored on the system. The malicious code enables covert relay of WhatsApp session messages to an unauthorized external host, risking data exfiltration and loss of confidentiality.
Mitigation Recommendations
Remove the santana-baileys package immediately. Rotate all secrets and keys from a separate, uncompromised system. Due to the full compromise risk, additional system integrity checks and remediation may be necessary. No official patch is available; the package itself is malicious and should not be used.
Malicious code in santana-baileys (npm)
Description
The santana-baileys npm package, a fork of the Baileys WhatsApp library, contains malicious code that covertly sends message data to an attacker-controlled external host. The package reconstructs a hidden URL via character-code obfuscation and directs WhatsApp session messages to this unauthorized third-party endpoint. Installation or use of this package compromises the host system, potentially exposing all stored secrets and keys.
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 santana-baileys package modifies the message sending functionality by reconstructing a destination URL from an obfuscated decimal char-code array, which resolves to https://fiora.nixel.my.id/. This endpoint is not part of the legitimate WhatsApp infrastructure and is hidden within the message-send code path. As a result, message send operations on the authenticated WhatsApp session are relayed to an attacker-controlled host, enabling covert exfiltration of messaging data. The package is considered fully malicious, and any system running it should be treated as compromised.
Potential Impact
Systems with the santana-baileys package installed or running are fully compromised. The attacker may gain access to all secrets and keys stored on the system. The malicious code enables covert relay of WhatsApp session messages to an unauthorized external host, risking data exfiltration and loss of confidentiality.
Mitigation Recommendations
Remove the santana-baileys package immediately. Rotate all secrets and keys from a separate, uncompromised system. Due to the full compromise risk, additional system integrity checks and remediation may be necessary. No official patch is available; the package itself is malicious and should not be used.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-13456
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a7573b5bf8831d539d93b8f
Added to database: 08/07/2026, 05:57:09 UTC
Last enriched: 09/12/2026, 06:46:46 UTC
Last updated: 09/21/2026, 23:01:42 UTC
Views: 22
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.
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.