MAL-2026-16070 Malicious code in @fyxzpediaa/baileys (npm)
Malicious package
Published
MAL-2026-16070 is a malicious package: @fyxzpediaa/baileys (npm). Every version was published to cause harm.
Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.
Reference: https://insights.sbomify.com/MAL-2026-16070/ (Markdown: https://insights.sbomify.com/MAL-2026-16070/index.md)
- Package
- @fyxzpediaa/baileys
- Registry
- npm
What is MAL-2026-16070?
MAL-2026-16070 is a malicious package in @fyxzpediaa/baileys, published on 9 Sep 2026.
Official description
This fork of Baileys injects a covert remote-directed action into the WhatsApp socket. On every WebSocket connection, socketConnect() reconstructs a URL from a char-code array (decoding to https://raw.githubusercontent.com/skyzopedia/NewsletterID/refs/heads/main/VIP_Push.json), fetches a JSON list from that mutable GitHub branch, and 200 seconds after connect iterates the list issuing authenticated
w:mex queries with query_id 7871414976211147 (QueryIds.FOLLOW) against the installer's own WhatsApp session. A separate exported helper generateMessageV decodes a base64+XOR(key=23)-obfuscated string to a hardcoded <digits>@newsletter JID and invokes the same FOLLOW query. The obfuscation of both the URL (char-code array) and the JID literal (base64+XOR) exists solely to hide these targets from source review; upstream Baileys does not contain this code path. The runtime dependency @whiskeysockets/eslint-config is also declared as a mutable GitHub tarball reference (github:whiskeysockets/eslint-config) rather than a pinned registry range, so npm install resolves it to whatever that repository's default branch currently contains. The covert action uses the installer's authenticated identity to gain reach for author-chosen newsletter IDs but does not exfiltrate credentials, install persistence, or execute remote code on the installer's host; the harm is loss of control over the installer's WhatsApp account actions, not machine compromise.What should I do about MAL-2026-16070?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.