Malicious code in f-termx (npm)
The npm package f-termx version 1.2.6 contains malicious code that starts an HTTP and Socket.IO server accessible on all network interfaces. It allows remote attackers to execute arbitrary commands on the host machine via a 'spawn-shell' message, which spawns a local bash shell and forwards input from the network. Additionally, it can open SSH sessions to attacker-supplied hosts using stored credentials, with no authentication on the SSH proxy namespace. The web UI uses hardcoded default credentials 'admin/admin', making unauthorized access trivial.
AI Analysis
Technical Summary
The f-termx npm package version 1.2.6 includes embedded malicious functionality that exposes a remote command execution backdoor. It runs an HTTP + Socket.IO server bound to 0.0.0.0, enabling any network peer to send a 'spawn-shell' message that triggers spawning a local /bin/bash pseudo-terminal, forwarding input from the network to the shell process. It also supports a 'connect-ssh' message that opens an SSH session to a specified host using credentials from environment variables or supplied by the attacker, with no authentication on the SSH proxy namespace. The web UI ships with hardcoded default credentials 'admin/admin', further facilitating unauthorized access. The code uses child_process spawn calls to implement these features, confirming the malicious intent.
Potential Impact
An attacker who can reach the exposed server can execute arbitrary commands on the host system with the privileges of the running process. This includes spawning a fully interactive shell and establishing SSH connections to other hosts using stored credentials, potentially pivoting within the network. The lack of authentication on the SSH proxy namespace and the use of default web UI credentials allow trivial unauthorized access. This results in a complete compromise of the host running the f-termx package version 1.2.6.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately remove the f-termx package version 1.2.6 from their environments and avoid using it. Since this is a malicious package, do not run or expose it to any network. Monitor for any instances of this package in your supply chain and replace with trusted alternatives. Patch status is not yet confirmed — check the vendor advisory or trusted security sources for updates.
Malicious code in f-termx (npm)
Description
The npm package f-termx version 1.2.6 contains malicious code that starts an HTTP and Socket.IO server accessible on all network interfaces. It allows remote attackers to execute arbitrary commands on the host machine via a 'spawn-shell' message, which spawns a local bash shell and forwards input from the network. Additionally, it can open SSH sessions to attacker-supplied hosts using stored credentials, with no authentication on the SSH proxy namespace. The web UI uses hardcoded default credentials 'admin/admin', making unauthorized access trivial.
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 f-termx npm package version 1.2.6 includes embedded malicious functionality that exposes a remote command execution backdoor. It runs an HTTP + Socket.IO server bound to 0.0.0.0, enabling any network peer to send a 'spawn-shell' message that triggers spawning a local /bin/bash pseudo-terminal, forwarding input from the network to the shell process. It also supports a 'connect-ssh' message that opens an SSH session to a specified host using credentials from environment variables or supplied by the attacker, with no authentication on the SSH proxy namespace. The web UI ships with hardcoded default credentials 'admin/admin', further facilitating unauthorized access. The code uses child_process spawn calls to implement these features, confirming the malicious intent.
Potential Impact
An attacker who can reach the exposed server can execute arbitrary commands on the host system with the privileges of the running process. This includes spawning a fully interactive shell and establishing SSH connections to other hosts using stored credentials, potentially pivoting within the network. The lack of authentication on the SSH proxy namespace and the use of default web UI credentials allow trivial unauthorized access. This results in a complete compromise of the host running the f-termx package version 1.2.6.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately remove the f-termx package version 1.2.6 from their environments and avoid using it. Since this is a malicious package, do not run or expose it to any network. Monitor for any instances of this package in your supply chain and replace with trusted alternatives. Patch status is not yet confirmed — check the vendor advisory or trusted security sources for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-13610
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a75f706bf8831d53984e3a1
Added to database: 08/07/2026, 15:17:26 UTC
Last enriched: 08/07/2026, 15:19:36 UTC
Last updated: 08/07/2026, 15:19:36 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.