Skip to main content

Malicious code in ranux-pro (npm)

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

Description

The npm package 'ranux-pro' version 2.0.0 is advertised as a high-performance async network socket and runtime protocol engine but actually contains malicious code. The package includes a multi-tenant WhatsApp bot with obfuscated JavaScript files and redirects a key dependency to a mutable personal GitHub repository, allowing attacker-controlled code to be executed at install and load time. This enables persistent control over paired WhatsApp sessions by the attacker. The package's deceptive description, obfuscation, and mutable external dependency make it a significant security risk.

Affected software

npmghsa
ranux-pro
Affected versions
=2.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:57 UTC

Technical Analysis

The 'ranux-pro' npm package at version 2.0.0 misrepresents its functionality and delivers a malicious payload consisting of a multi-tenant WhatsApp bot. The package's tarball includes heavily obfuscated JavaScript files that conceal network destinations and command handlers. It redirects the '@whiskeysockets/baileys' dependency to a personal GitHub repository without pinning to a commit SHA, allowing dynamic injection of attacker-controlled code during installation. This setup grants attackers persistent control over WhatsApp sessions once paired, posing a severe threat to users who install this package.

Potential Impact

Users installing 'ranux-pro' version 2.0.0 risk executing attacker-controlled code that can hijack WhatsApp sessions persistently. The obfuscated code and mutable dependency make detection and static analysis difficult, increasing the likelihood of unnoticed compromise. This can lead to unauthorized access, data interception, and manipulation of WhatsApp communications tied to the compromised sessions.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should immediately avoid installing or using 'ranux-pro' version 2.0.0. Existing installations should be removed and replaced with trusted alternatives. Due to the mutable external dependency and obfuscated code, manual code review is insufficient to ensure safety. Monitor for updates from the package maintainers or the npm registry for any official advisories or removals.

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-14260
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a85b4c0acd9273b49252417

Added to database: 08/19/2026, 13:50:56 UTC

Last enriched: 08/19/2026, 14:25:57 UTC

Last updated: 10/02/2026, 13:52:04 UTC

Views: 25

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