Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in @fyxzpediaa/baileys (npm)

0
High
Published: 09/09/2026 (09/09/2026, 04:53:03 UTC)
Source: GCVE Database
Product: @fyxzpediaa/baileys

Description

The @fyxzpediaa/baileys npm package version 8.1.2 contains malicious code that covertly uses the installer's authenticated WhatsApp session to perform remote-directed actions. It fetches a JSON list from a mutable GitHub branch and issues authenticated queries to follow author-chosen newsletter IDs, obfuscated to evade source review. This behavior does not exfiltrate credentials, install persistence, or execute remote code on the host, but results in loss of control over the installer's WhatsApp account actions.

Affected software

npmghsa
@fyxzpediaa/baileys
Affected versions
=8.1.2

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/09/2026, 14:00:23 UTC

Technical Analysis

This malicious fork of the Baileys library injects covert functionality into the WhatsApp socket connection. On each WebSocket connection, it reconstructs a URL from an obfuscated char-code array to fetch a JSON list from a mutable GitHub repository branch. After a delay, it issues authenticated 'w:mex' FOLLOW queries using the installer's WhatsApp session to subscribe to newsletter IDs controlled by the attacker. The package also includes an obfuscated helper function to send similar queries to a hardcoded JID. The use of a mutable GitHub tarball dependency further allows dynamic code resolution. The upstream Baileys library does not contain this code path, indicating intentional malicious modification. The impact is limited to unauthorized actions within the WhatsApp account, without host compromise or credential theft.

Potential Impact

The malicious code abuses the installer's authenticated WhatsApp session to perform unauthorized follow actions on behalf of the user, leading to loss of control over their WhatsApp account interactions. There is no evidence of credential exfiltration, persistence mechanisms, or remote code execution on the host machine. The threat is confined to the WhatsApp account level, potentially enabling the attacker to manipulate the victim's WhatsApp contacts or subscriptions.

Mitigation Recommendations

No official patch or fix is currently documented for this malicious package version. Users should avoid using the @fyxzpediaa/baileys package version 8.1.2 and verify the integrity and source of Baileys library dependencies. Replace this malicious fork with the official Baileys package from trusted sources. Audit dependencies for mutable GitHub tarball references and avoid installing packages with such mutable dependencies. Monitor WhatsApp account activity for unauthorized actions and revoke session tokens if suspicious behavior is detected.

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-16070
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6aa15f83acd9273b496186b1

Added to database: 09/09/2026, 13:30:43 UTC

Last enriched: 09/09/2026, 14:00:23 UTC

Last updated: 09/09/2026, 23:54:01 UTC

Views: 6

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