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 comand (npm)

0
High
Published: 08/18/2026 (08/18/2026, 23:59:37 UTC)
Source: GCVE Database
Product: comand

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

npmghsa
comand
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:48:13 UTC

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.

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-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 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