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 comander-lib (npm)

0
High
Published: 08/18/2026 (08/18/2026, 23:57:46 UTC)
Source: GCVE Database
Product: comander-lib

Description

The [email protected] package on npm is a typosquatting malicious package impersonating the legitimate 'commander' library. It contains no legitimate code but runs a post-install script that sends system platform information to a hardcoded command-and-control server and downloads and executes a hidden payload on Windows systems. It also includes mechanisms to escape Linux sandbox environments via WSL by invoking PowerShell commands on the Windows host. The malicious payload and command URLs are XOR-encoded to evade detection. This package acts as a pure dropper under the guise of a native-addon mirror but ships no native code.

Affected software

npmghsa
comander-lib
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:50:37 UTC

Technical Analysis

[email protected] is a malicious typosquat of the legitimate 'commander' npm package. Its postinstall.js script automatically executes on installation, performing two hostile actions: it sends the installer's platform label as JSON to a hardcoded IP address (193.70.34.101:20099) to a command-and-control server, and it XOR-decodes an attacker-controlled GitHub URL to download an executable payload to the Windows temporary directory. This payload is then executed in a hidden, detached process on Windows. On WSL or virtualized Linux environments, it uses an XOR-decoded PowerShell bridge command to execute the same payload on the Windows host, effectively escaping the Linux sandbox. The package contains no native addon code, confirming it is solely a dropper. The use of XOR encoding conceals the attacker's infrastructure and commands.

Potential Impact

Installation of [email protected] results in unauthorized data exfiltration (platform information) to an attacker-controlled server and execution of a potentially malicious executable on the victim's Windows system. The payload execution occurs stealthily, with hidden windows and detached processes, increasing the risk of persistent compromise. The ability to escape WSL sandboxing on Linux hosts further broadens the attack surface. This can lead to system compromise, unauthorized remote control, and further malware deployment.

Defensive Guidance

This package is malicious and should be removed immediately if installed. Avoid installing packages with suspicious or typo-squatted names. Use trusted sources and verify package authenticity before installation. There is no official patch or fix for this malicious package; remediation involves uninstalling the package and scanning affected systems for the downloaded payload and any persistence mechanisms. Monitor for network connections to the hardcoded IP address and block it at network perimeter controls. Consider using package integrity verification tools and npm security advisories to prevent installation of such malicious packages.

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-14171
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a85b4caacd9273b49252e6a

Added to database: 08/19/2026, 13:51:06 UTC

Last enriched: 08/19/2026, 14:50:37 UTC

Last updated: 08/20/2026, 02:53:06 UTC

Views: 7

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