Skip to main content

Malicious code in santana-baileys (npm)

0
High
Published: 08/06/2026 (08/06/2026, 19:48:57 UTC)
Source: GCVE Database
Product: santana-baileys

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

npmghsa
santana-baileys
Affected versions
=2.0.4=2.0.2=2.0.3

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

AILast updated: 09/12/2026, 06:46:46 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses