VDB
GCVE-110-OSM-2026-15376
GCVE-110-OSM-2026-15376
Advisory PublishedCVSS 9.6/10
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Judge assessment: This looks like a compromised package masquerading as a WhatsApp/Baileys fork, with a plausible attacker model of credential theft and remote control over an install-time loader. The package.json preinstall hook runs `node ./engine-requirements.js`, which is a classic install-time execution path, and the codebase contains persistence markers targeting `.profile` in multiple files (`lib/Socket/chats.js`, `messages-send.js`, `privacy.js`, `USyncBusinessProtocol.js`). More importantly, `lib/Utils/generics.js` contains a hardcoded exfil/C2 destination classified as `131.0.0.0` plus outbound `fetch('https://raw.githubusercontent.com/...')`, while numerous files encode sensitive material like `creds.noiseKey.public`, `creds.signedIdentityKey.public`, and `media.fileSha256` in base64, consistent with secret collection and transmission. The attacker model is a supply-chain trojan placed in an npm package to exfiltrate WhatsApp session material and maintain persistence on victim systems, and the package's own metadata (`security holding package`, brand-new publisher, no repository) aligns with that abuse.
ENTRY
engine-requirements.js (install-hook: node ./engine-requirements.js)
- Install Hook Executes Local JS File in package.json
PERSISTENCE
- Startup Persistence in lib/Socket/chats.js: ".profile"
- Startup Persistence in lib/Socket/messages-send.js: ".profile"
- Startup Persistence in lib/Socket/privacy.js: ".PROFILE"
- Startup Persistence in lib/WAUSync/Protocols/USyncBusinessProtocol.js: ".profile"
DESTINATION
- 1 exfil (custom-c2)
(values recorded in verified_iocs)
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/generics.js: "Buffer.from(value?.data || value).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')"
- Data Encoding for Exfiltration in lib/Utils/use-sqlite-auth-state.js: "Buffer.from(value?.data || value).toString('base64')"
- Network Request in lib/Utils/generics.js: "fetch('https:"
- Network Request in lib/Utils/messages-media.js: "request({ hostname: parsedUrl.hostname, port: parsedUrl.port || (parsedUrl.proto..."
OBFUSCATION
- Dynamic Base64 Decoding in lib/Utils/chat-utils.js: "Buffer.from(keyId, 'base64')"
- Dynamic Base64 Decoding in lib/Utils/decode-wa-message.js: "Buffer.from(secret, 'base64')"
- Dynamic Base64 Decoding in lib/Utils/validate-connection.js: "Buffer.from(advSecretKey, 'base64')"
- String Array Obfuscation in lib/Utils/message-composer.js: "[ 'import', 'export', 'from', 'default', 'as', 'const', 'let', 'var', 'function'..."
- String Array Obfuscation in lib/Utils/messages.js: "[ 'break', 'case', 'catch', 'continue', 'debugger', 'default', 'delete', 'do', '..."
- String Array Obfuscation in lib/WABinary/constants.js: "[ '1724', 'profile_picture', '1071', '1314', '1605', '407', '990', '1710', '746'..."
- Strings Extracted from Deobfuscated Code in lib/Utils/chat-utils.js
- Strings Extracted from Deobfuscated Code in lib/Utils/decode-wa-message.js
(+1 more)
ADDITIONAL FINDINGS
- Platform Detection with Data Collection in lib/Socket/message-builder.js: "JSON.stringify({ sections })).toS"
- Dynamic Code Execution in lib/Utils/message-composer.js: "exec(line)"
- Brand New Package
PAYLOAD FILES
lib/Utils/generics.js (+ 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 | @bellaxchan/baileys | all (affected) | — |
Aliases
Browse GCVE Records
970 records in the GCVE database · Updated November 22, 2026
No matching records found.
Explore Further
Investigate this vulnerability in the interactive console or download the raw GCVE record.