{"id":"MAL-2026-14260","revision":"df9a0303a64442eeaaec2f7bc76d282e","records":[{"revision":"df9a0303a64442eeaaec2f7bc76d282e","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-14260","aliases":[],"title":"Malicious code in ranux-pro (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (535aa6b18b45b3ade8ae934157747b2a3281c298e38c7a8aa308236ba3c941a2)\npackage.json advertises the package as a 'High-performance async network socket & runtime protocol engine', but the tarball ships a multi-tenant WhatsApp bot: lib/baileysMod.js, plugins/pair.js (WA pairing), plugins/antidelete.js, plugins/adult.js, tenantManager.js (~134KB), database.js backed by mongodb. The @whiskeysockets/baileys dependency is redirected to `github:rcedubot/X` — a personal GitHub account's repo named 'X', pinned to no commit SHA, so every install pulls whatever code that account currently hosts into node_modules and executes it when the package is loaded. Every JS file (command.js, config.js, database.js, tenantManager.js, lib/*, plugins/*) is emitted by obfuscator.io with rotated string arrays, control-flow flattening, and self-defending IIFEs, so all network destinations and command handlers are hidden inside encoded string arrays and no URL literals are recoverable by static inspection. The combination of a deceptive registry description, whole-package obfuscation, and a mutable personal-fork override of the WhatsApp protocol layer means installers receive attacker-mutable code at install/load time and, once paired, hand persistent control of the WhatsApp session to whoever owns the concealed endpoints in tenantManager.js.\n","state":0,"publishedAt":"2026-08-19T04:59:38+00:00","modifiedAt":"2026-08-19T05:31:26.941553+00:00","affected":[{"ecosystem":"npm","name":"ranux-pro","ranges":[],"versions":["2.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/ranux-pro/v/2.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-14260","license":"OSV · upstream source license applies","key":"osv:MAL-2026-14260","identifiers":["MAL-2026-14260"]},"retained":false,"historicalAffected":[]}],"coverage":[]}