{"id":"MAL-2026-16105","revision":"369d9a6999944ef08452aac2dfa5b0a1","records":[{"revision":"369d9a6999944ef08452aac2dfa5b0a1","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-16105","aliases":[],"title":"Malicious code in @sahril2nd/baileys (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a3d2089d9678322dc8adbf5e6e740c29d6720133df3489970652a2100641435e)\nThis package is a fork of the Baileys WhatsApp library that embeds a hardcoded network destination hidden as a String.fromCharCode(...) decimal-ASCII array inside lib/Socket/messages-send.js. The decoded bytes at lines 425 and 436 reconstruct the URL https://fiora.nixel.my.id/ — a host unrelated to any documented Baileys/WhatsApp infrastructure. The destination is assembled at call-time from a numeric array rather than appearing as a plain-text literal, which is a deliberate concealment technique on the message-send code path where WhatsApp session data and outbound message content are handled. Obfuscated construction of a non-first-party destination inside the messaging pipeline of a WhatsApp client library is the shape of session/message exfiltration to an author-controlled endpoint.\n","state":0,"publishedAt":"2026-09-09T22:26:53+00:00","modifiedAt":"2026-09-09T22:45:44.7547349+00:00","affected":[{"ecosystem":"npm","name":"@sahril2nd/baileys","ranges":[],"versions":["1.0.21"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@sahril2nd/baileys/v/1.0.21"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-16105","license":"OSV · upstream source license applies","key":"osv:MAL-2026-16105","identifiers":["MAL-2026-16105"]},"retained":false,"historicalAffected":[]}],"coverage":[]}