{"id":"MAL-2026-20311","aliases":[],"title":"Malicious code in @kropaku/baileys (npm)","originalDescription":" --- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (e634fd115885f8cb0a2e2ab98b78bdc26d5f0cb37865cea6d848296478ace3d4) This package is a fork of the Baileys WhatsApp library that embeds code which decodes a hidden HTTPS destination from a String.fromCharCode byte array at lib/Socket/messages-send.js lines 425 and 436. The decoded host is https://fiora.nixel.my.id/, a third-party endpoint unrelated to the upstream Baileys project, reached from within the message-send path. The host string is concealed via char-code arithmetic rather than appearing as a plain literal, which is an obfuscation technique used to hide network destinations from casual inspection. The package also ships lib/Utils/license-guard.js as a heavily obfuscated module (hex-mangled identifiers such as _0x1e6253, _0x1d5468, etc., consistent with javascript-obfuscator output), hiding the logic that gates the library's behavior and its interactions with the hidden endpoint. The combination of (a) an obfuscated license/guard module loaded by a WhatsApp session library that handles authentication credentials and message contents, and (b) a char-code-concealed outbound HTTPS destinati","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[],"references":[{"url":"https://www.npmjs.com/package/@kropaku/baileys/v/6.7.23","type":"package"},{"url":"https://www.npmjs.com/package/@kropaku/baileys/v/6.7.22","type":"package"},{"url":"https://www.npmjs.com/package/@kropaku/baileys/v/6.7.21","type":"package"},{"url":"https://www.npmjs.com/package/@kropaku/baileys/v/6.7.24","type":"package"},{"url":"https://www.npmjs.com/package/@kropaku/baileys/v/6.7.20","type":"package"}],"sources":[{"name":"osv","at":"2026-11-20T20:49:33.019Z","url":"https://osv.dev/vulnerability/MAL-2026-20311","license":"CC-BY 4.0","firstSeenAt":"2026-11-20T20:49:33.019Z"}],"firstSeenAt":"2026-11-20T20:49:33.019Z","publishedAt":"2026-11-20T19:42:30.000Z","modifiedAt":"2026-11-20T20:15:05.945Z"}