Malicious code in comand (npm)
The npm package 'comand' version 1.0.0 contains malicious code that executes automatically upon installation. Its postinstall script sends system platform information to a hardcoded IP address and downloads a potentially harmful executable from a GitHub repository. The executable is launched stealthily on Windows systems or via a PowerShell bridge from WSL. The package name appears to be a typosquat of 'command', and the binary is unsigned and unverified.
AI Analysis
Technical Summary
The 'comand' npm package version 1.0.0 includes a postinstall.js script that automatically runs on installation. This script sends a JSON payload with the resolved host platform to a hardcoded IP address (193.70.34.101) to evade static detection by assembling the IP from string arrays. It then XOR-decodes a URL and downloads an executable named main.exe from a GitHub release belonging to a user unrelated to the npm publisher. On Windows or via WSL using a PowerShell bridge, the executable is downloaded to the temporary directory and launched detached with no visible interface. The script uses XOR-encoded arrays to obfuscate network destinations and shell commands. The package is likely a typosquat of 'command', and the binary is unsigned and unverified, indicating malicious intent.
Potential Impact
Installation of this package results in automatic execution of malicious code that exfiltrates platform information and downloads and runs an unverified executable on the victim's machine. This can lead to unauthorized code execution and potential compromise of the affected system.
Mitigation Recommendations
No official patch or remediation is indicated. Users should avoid installing the 'comand' package version 1.0.0. Verify package authenticity before installation, especially for packages with suspicious names resembling popular ones. Remove the package and any downloaded files if already installed. Monitor for similar typosquatting packages and report them to npm for takedown.
Malicious code in comand (npm)
Description
The npm package 'comand' version 1.0.0 contains malicious code that executes automatically upon installation. Its postinstall script sends system platform information to a hardcoded IP address and downloads a potentially harmful executable from a GitHub repository. The executable is launched stealthily on Windows systems or via a PowerShell bridge from WSL. The package name appears to be a typosquat of 'command', and the binary is unsigned and unverified.
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 'comand' npm package version 1.0.0 includes a postinstall.js script that automatically runs on installation. This script sends a JSON payload with the resolved host platform to a hardcoded IP address (193.70.34.101) to evade static detection by assembling the IP from string arrays. It then XOR-decodes a URL and downloads an executable named main.exe from a GitHub release belonging to a user unrelated to the npm publisher. On Windows or via WSL using a PowerShell bridge, the executable is downloaded to the temporary directory and launched detached with no visible interface. The script uses XOR-encoded arrays to obfuscate network destinations and shell commands. The package is likely a typosquat of 'command', and the binary is unsigned and unverified, indicating malicious intent.
Potential Impact
Installation of this package results in automatic execution of malicious code that exfiltrates platform information and downloads and runs an unverified executable on the victim's machine. This can lead to unauthorized code execution and potential compromise of the affected system.
Mitigation Recommendations
No official patch or remediation is indicated. Users should avoid installing the 'comand' package version 1.0.0. Verify package authenticity before installation, especially for packages with suspicious names resembling popular ones. Remove the package and any downloaded files if already installed. Monitor for similar typosquatting packages and report them to npm for takedown.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14169
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a85b4caacd9273b49252ba7
Added to database: 08/19/2026, 13:51:06 UTC
Last enriched: 08/19/2026, 14:48:13 UTC
Last updated: 08/19/2026, 14:48:13 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.