Skip to main content

Malicious code in commandor-core (npm)

0
Critical
Published: 08/18/2026 (08/18/2026, 23:58:12 UTC)
Source: GCVE Database
Product: commandor-core

Description

The npm package [email protected] contains malicious code in its postinstall script that downloads and executes a Windows executable from a typosquatted domain. The script also sends host platform information to a hardcoded IP address over unencrypted HTTP. The package provides no legitimate functionality and its sole effect is to beacon and execute attacker-controlled code on the host.

Affected software

npmghsa
commandor-core
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:00 UTC

Technical Analysis

The postinstall script in commandor-core version 1.0.0 includes XOR-obfuscated byte arrays that decode at runtime to a download URL hosted on giphub.com, a typosquatted domain mimicking github.com. On Windows systems, the script downloads a binary named main.exe into the temporary directory and executes it detached. On Windows Subsystem for Linux (WSL), it uses a PowerShell bridge to execute the binary on the Windows host. Additionally, the script unconditionally sends a JSON payload describing the host platform to a hardcoded IP address (193.70.34.101) over plain HTTP. The package's main entry point is empty and it offers no legitimate library functionality, indicating its sole purpose is malicious.

Potential Impact

Installation of [email protected] results in execution of attacker-controlled code on the host system, potentially leading to full compromise of Windows environments. The package also leaks host platform information to an attacker-controlled server over unencrypted HTTP, which could aid in further targeted attacks or reconnaissance.

Mitigation Recommendations

Avoid installing [email protected] or any untrusted npm packages. Since no official patch or remediation is available, users should remove this package if installed and scan affected systems for the downloaded executable and any related persistence mechanisms. Monitor for network connections to suspicious IP addresses such as 193.70.34.101 and domains similar to github.com. Use trusted package sources and verify package integrity before installation.

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

Threat ID: 6a85b4caacd9273b49252e64

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

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

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

Views: 34

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