{"id":"MAL-2026-14259","revision":"896956fbbf0e42cb8a4fcb5d3a2527df","records":[{"revision":"896956fbbf0e42cb8a4fcb5d3a2527df","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-14259","aliases":[],"title":"Malicious code in ranux-dev (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (4dde928a7de2064f13b18847a56607605bd33f1331a57bb0be0ccf585fa5d86f)\npackage.json declares the dependency `@whiskeysockets/baileys` but resolves it from `github:rcedubot/X` instead of the npm registry. Installing ranux-dev pulls arbitrary, unpinned, mutable code from that personal GitHub account under the name of a widely-used WhatsApp Web library, and that code runs in the installer's Node process with full WhatsApp session and credential access. Every shipped source file (index.js, config.js, database.js, tenantManager.js, command.js, lib/*.js, plugins/*.js) is heavily obfuscated with obfuscator.io-style transforms and an RC4-over-base64 string decoder, so endpoints, credentials, and control flow cannot be reviewed statically. config.js exports a frozen `SECRETS` object with hardcoded encrypted strings alongside `API_ENDPOINTS` and `NETWORK_CONFIG` (MongoDB-shaped) constants. The combination — dependency substitution of a popular WhatsApp library from an unaffiliated GitHub account, uniform obfuscation across the tarball, a multi-tenant WhatsApp/MongoDB architecture, and shipped hardcoded credential-shaped constants — matches the session-harvester pattern in which installer WhatsApp sessions and tenant data are funneled to an author-controlled backend.\n","state":0,"publishedAt":"2026-08-19T04:59:57+00:00","modifiedAt":"2026-08-19T05:31:27.6924918+00:00","affected":[{"ecosystem":"npm","name":"ranux-dev","ranges":[],"versions":["5.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/ranux-dev/v/5.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-14259","license":"OSV · upstream source license applies","key":"osv:MAL-2026-14259","identifiers":["MAL-2026-14259"]},"retained":false,"historicalAffected":[]}],"coverage":[]}