Skip to main content

Malicious code in ranux-cloud (npm)

0
High
Published: 08/19/2026 (08/19/2026, 04:59:46 UTC)
Source: GCVE Database
Product: ranux-cloud

Description

The npm package ranux-cloud version 1.0.0 contains malicious code that executes an encrypted payload at import time without user interaction. It uses heavy obfuscation and a hardcoded AES key to decrypt and run a large embedded module. Additionally, it hijacks a well-known dependency to pull arbitrary code from an attacker-controlled GitHub repository, increasing the risk of executing unauthorized code during installation.

Affected software

npmghsa
ranux-cloud
Affected versions
=1.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:46 UTC

Technical Analysis

The ranux-cloud npm package (version 1.0.0) includes a top-level loader that decrypts an approximately 2.3 MB opaque blob using a hardcoded AES key, then executes the decrypted module immediately upon import via a dynamic data URI import. The loader is heavily obfuscated, employing a rotated string-array decoder. Furthermore, the package.json file redirects the legitimate dependency '@whiskeysockets/baileys' to an unpinned attacker-controlled GitHub repository, causing npm install to fetch and execute arbitrary code from that repository, including any lifecycle scripts. This combination of encrypted payload execution and dependency hijacking constitutes a loader/dropper malware pattern.

Potential Impact

Any user or system that installs or imports ranux-cloud version 1.0.0 will execute the hidden malicious payload automatically, potentially leading to arbitrary code execution. The dependency hijack further allows the attacker to inject arbitrary code during installation, increasing the attack surface and risk of compromise. There is no indication of active exploitation in the wild at this time.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should avoid installing or importing ranux-cloud version 1.0.0. Verify dependencies carefully and do not trust packages that redirect dependencies to untrusted sources. Monitor vendor advisories for updates or official fixes. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.

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

Threat ID: 6a85b4c0acd9273b49252414

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

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

Last updated: 10/02/2026, 13:52:03 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