Malicious code in commandor-core (npm)
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
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 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.
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 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.