Malicious code in commandor-lib (npm)
Description
The npm package 'commandor-lib' version 1.0.0 contains malicious code in its postinstall.js script that executes automatically during installation. This script spawns subprocesses and sends HTTP POST requests to an external endpoint, behavior consistent with unauthorized data exfiltration. There is no documented legitimate purpose for this network activity in the package. No patch or remediation information is currently available.
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 'commandor-lib' npm package version 1.0.0 includes a postinstall.js lifecycle script that runs automatically upon npm install. This script imports child_process and http.request modules and performs multiple HTTP POST requests to an external server while spawning subprocesses. Such behavior is indicative of installer-side reconnaissance and data exfiltration to an attacker-controlled destination. This activity does not align with any documented functionality of the package, suggesting malicious intent embedded in the installation process.
Potential Impact
Users installing version 1.0.0 of 'commandor-lib' may have their system execute unauthorized subprocesses and transmit data to an external server controlled by an attacker. This can lead to information leakage and potential compromise of the host environment. There are no known exploits in the wild reported at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory or package repository for current remediation guidance. Until a fix is available, avoid installing or remove version 1.0.0 of 'commandor-lib' from your environment. Monitor for updates from the package maintainers or trusted security sources.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14234
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a85b4c2acd9273b492524dd
Added to database: 08/19/2026, 13:50:58 UTC
Last enriched: 08/19/2026, 14:31:52 UTC
Last updated: 10/03/2026, 14:18:26 UTC
Views: 26
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.