Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in ranux-dev (npm)

0
Critical
Published: 08/19/2026 (08/19/2026, 04:59:57 UTC)
Source: GCVE Database
Product: ranux-dev

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

npmghsa
ranux-dev
Affected versions
=5.0.0

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

AILast updated: 08/19/2026, 14:25:33 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses