VDB
GCVE-110-OSM-2026-15371
GCVE-110-OSM-2026-15371
Advisory PublishedCVSS 9.6/10
supun-baileyz is a fork of the Baileys WhatsApp Web library that silently subscribes the installer's own WhatsApp account to WhatsApp Channels chosen by the publisher. When the socket connects, code in lib/Socket/newsletter.js sends the WhatsApp w:mex FOLLOW query for the channel ID(s) 120363399205146445@newsletter, using the victim's authenticated session and without telling them. Same behaviour as the PhantomSub family (MAL-2026-17342).
Judge assessment: This package matches an attacker model of covert account manipulation using a compromised WhatsApp/Baileys fork: the OSV advisory says it silently sends the victim's authenticated session to follow publisher-chosen channels, and the package metadata plus entrypoint are consistent with install-time coercion. The preinstall hook in package.json runs engine-requirements.js, while the codebase shows broad obfuscation, dynamic base64 handling, shell execution, and network activity in files like lib/Socket/messages-recv.js and lib/Utils/messages-media.js, which is far beyond a normal library. The publisher history also strengthens the malicious interpretation: mr-supun-fernando already has another reported malicious package (@mr-supun-fernando/supunmd-bail), and the package description "WhatsApp API Modification By Dark Shadow Modz" suggests a repackaged modified client rather than a legitimate upstream. Taken together, this is consistent with a malicious supply-chain package intended to hijack WhatsApp sessions and perform hidden actions on behalf of the user.
ENTRY
engine-requirements.js (install-hook: node ./engine-requirements.js)
- Install Hook Executes Local JS File in package.json
PERSISTENCE
- Startup Persistence in lib/Store/make-in-memory-store.js: ".profile"
EXFIL
- Data Encoding for Exfiltration in lib/Socket/socket.js: "Buffer.from(creds.noiseKey.public).toString('base64')"
- Data Encoding for Exfiltration in lib/Utils/chat-utils.js: "Buffer.from(indexMac).toString('base64')"
- Data Encoding for Exfiltration in lib/Utils/messages-media.js: "Buffer.from(media.fileSha256).toString('base64')"
- Data Encoding for Exfiltration in lib/Utils/process-message.js: "Buffer.from(keyId.keyId).toString('base64')"
- Network Request in lib/Utils/messages-media.js: "axios.get("
OBFUSCATION
- Dynamic Base64 Decoding in lib/Signal/Group/group_cipher.js: "Buffer.from(iv, 'base64')"
- Dynamic Base64 Decoding in lib/Signal/Group/sender-key-state.js: "Buffer.from(chainKey, 'base64')"
- Dynamic Base64 Decoding in lib/Utils/chat-utils.js: "Buffer.from(keyId, 'base64')"
- Dynamic Base64 Decoding in lib/Utils/generics.js: "Buffer.from(val, 'base64')"
- Dynamic Base64 Decoding in lib/Utils/generics.js.bak: "Buffer.from(val, 'base64')"
- Dynamic Base64 Decoding in lib/Utils/validate-connection.js: "Buffer.from(advSecretKey, 'base64')"
- Dynamic Base64 Decoding in lib/Utils/validate-connection.js.bak: "Buffer.from(advSecretKey, 'base64')"
- Strings Extracted from Deobfuscated Code in lib/Signal/Group/sender-key-state.js
(+4 more)
ADDITIONAL FINDINGS
- Platform Detection with Data Collection in lib/Socket/messages-recv.js: "JSON.stringify({ ...child, content: Buffer.isBuffer(child.content) ? child.conte..."
- Shell Command Execution in lib/Utils/messages-media.js: "require("child_process")"
- Publisher Has Other Malicious Packages
PAYLOAD FILES
lib/Utils/messages-media.js (+ lib/Utils/chat-utils.js)
Weaknesses (CWE)
CWE-506Embedded Malicious Code
Risk Scores
CVSS 3.1
9.6/10
Critical · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Affected Products
| Vendor | Product | Versions | Platforms |
|---|---|---|---|
| unknown | supun-baileyz | 1.0.1 (affected) | — |
Aliases
Explore Further
Investigate this vulnerability in the interactive console or download the raw GCVE record.