{"id":"MAL-2026-20310","aliases":["GHSA-2377-2hrf-3hr9"],"title":"Malicious code in @kropa/baileys (npm)","originalDescription":" --- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (3923302c7a14f319107d525ed998ad0fd9f951f7d499649c2e890a4db465a14c) This package is a fork of the Baileys WhatsApp library that adds two concerning components not present in upstream. lib/Utils/license-guard.js is a heavily obfuscated module (hex-prefixed identifiers, string-array indirection) whose intent is intentionally hidden from reviewers. lib/Socket/messages-send.js at lines 425 and 436 reconstructs an outbound HTTPS URL from a String.fromCharCode numeric array; decoding the character codes yields the host https://fiora.nixel.my.id/. The destination is assembled via char-code obfuscation rather than appearing as a plain string, so it will not surface in trivial source review, and the host is unrelated to any WhatsApp/Baileys infrastructure. The call sits inside the message-send path, meaning normal use of the library's advertised API (sending WhatsApp messages) triggers traffic to this third-party endpoint controlled by the fork's author. The combination of obfuscated identifier-guard code plus a char-code-hidden non-first-party destination on the message pipeline is the fingerprint of co","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[],"references":[{"url":"https://www.npmjs.com/package/@kropa/baileys/v/1.0.0","type":"package"},{"url":"https://www.npmjs.com/package/@kropa/baileys/v/1.0.3","type":"package"},{"url":"https://www.npmjs.com/package/@kropa/baileys/v/1.0.2","type":"package"},{"url":"https://www.npmjs.com/package/@kropa/baileys/v/1.0.1","type":"package"},{"url":"https://github.com/advisories/GHSA-2377-2hrf-3hr9","type":"advisory"}],"sources":[{"name":"osv","at":"2026-11-30T23:13:46.905Z","url":"https://osv.dev/vulnerability/MAL-2026-20310","license":"CC-BY 4.0","firstSeenAt":"2026-11-20T20:49:33.216Z"}],"firstSeenAt":"2026-11-20T20:49:33.216Z","publishedAt":"2026-11-20T19:42:38.000Z","modifiedAt":"2026-11-30T22:30:05.059Z"}