Malicious code in ranux-dev (npm)
The npm package ranux-dev version 5.0.0 includes a malicious dependency substitution where it resolves the widely-used WhatsApp Web library @whiskeysockets/baileys from an unaffiliated GitHub repository instead of the official npm registry. The package source code is heavily obfuscated and includes hardcoded encrypted credentials and configuration constants. This setup enables the package to harvest WhatsApp session data and tenant information, potentially funneling sensitive data to an attacker-controlled backend.
AI Analysis
Technical Summary
The ranux-dev npm package version 5.0.0 declares a dependency on @whiskeysockets/baileys but resolves it from a personal GitHub repository (github:rcedubot/X) rather than the official npm registry. This causes arbitrary, mutable code to be executed during installation with full access to the installer's WhatsApp sessions and credentials. The package's source files are uniformly obfuscated using obfuscator.io-style transformations and an RC4-over-base64 string decoder, preventing static review of endpoints, credentials, and control flow. The config.js exports a frozen SECRETS object containing hardcoded encrypted strings alongside API_ENDPOINTS and NETWORK_CONFIG constants shaped like MongoDB configurations. This combination of dependency substitution, obfuscation, and embedded credential-like constants matches a session-harvester pattern, where WhatsApp sessions and tenant data are exfiltrated to an attacker-controlled backend.
Potential Impact
Users installing ranux-dev version 5.0.0 risk executing malicious code that can access and exfiltrate WhatsApp session credentials and tenant data to an attacker-controlled backend. This compromises the confidentiality and integrity of WhatsApp sessions and potentially any associated MongoDB tenant data managed by the package. The obfuscation and hardcoded encrypted secrets make detection and analysis difficult, increasing the risk of unnoticed data theft.
Mitigation Recommendations
No official patch or remediation is currently documented for ranux-dev version 5.0.0. Users should avoid installing or using this package version. Verify all dependencies are resolved from trusted sources, especially for critical libraries like WhatsApp Web clients. Monitor for vendor advisories or updates that address this malicious dependency substitution. Consider removing ranux-dev 5.0.0 from environments and replacing it with verified, trusted alternatives.
Malicious code in ranux-dev (npm)
Description
The npm package ranux-dev version 5.0.0 includes a malicious dependency substitution where it resolves the widely-used WhatsApp Web library @whiskeysockets/baileys from an unaffiliated GitHub repository instead of the official npm registry. The package source code is heavily obfuscated and includes hardcoded encrypted credentials and configuration constants. This setup enables the package to harvest WhatsApp session data and tenant information, potentially funneling sensitive data to an attacker-controlled backend.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The ranux-dev npm package version 5.0.0 declares a dependency on @whiskeysockets/baileys but resolves it from a personal GitHub repository (github:rcedubot/X) rather than the official npm registry. This causes arbitrary, mutable code to be executed during installation with full access to the installer's WhatsApp sessions and credentials. The package's source files are uniformly obfuscated using obfuscator.io-style transformations and an RC4-over-base64 string decoder, preventing static review of endpoints, credentials, and control flow. The config.js exports a frozen SECRETS object containing hardcoded encrypted strings alongside API_ENDPOINTS and NETWORK_CONFIG constants shaped like MongoDB configurations. This combination of dependency substitution, obfuscation, and embedded credential-like constants matches a session-harvester pattern, where WhatsApp sessions and tenant data are exfiltrated to an attacker-controlled backend.
Potential Impact
Users installing ranux-dev version 5.0.0 risk executing malicious code that can access and exfiltrate WhatsApp session credentials and tenant data to an attacker-controlled backend. This compromises the confidentiality and integrity of WhatsApp sessions and potentially any associated MongoDB tenant data managed by the package. The obfuscation and hardcoded encrypted secrets make detection and analysis difficult, increasing the risk of unnoticed data theft.
Mitigation Recommendations
No official patch or remediation is currently documented for ranux-dev version 5.0.0. Users should avoid installing or using this package version. Verify all dependencies are resolved from trusted sources, especially for critical libraries like WhatsApp Web clients. Monitor for vendor advisories or updates that address this malicious dependency substitution. Consider removing ranux-dev 5.0.0 from environments and replacing it with verified, trusted alternatives.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14259
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a85b4c0acd9273b49252412
Added to database: 08/19/2026, 13:50:56 UTC
Last enriched: 08/19/2026, 14:25:33 UTC
Last updated: 08/19/2026, 14:25:33 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.