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 f-termx (npm)

0
Critical
Published: 08/07/2026 (08/07/2026, 13:42:35 UTC)
Source: GCVE Database
Product: f-termx

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

npmghsa
f-termx
Affected versions
=1.2.6

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/07/2026, 15:19:36 UTC

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.

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