f-termx (npm) · Malicious Code
Affects f-termxSource GCVE Database
Malicious package : remove f-termx and rotate any secrets on hosts that installed it.
Data as of 7 Aug 2026, 15:19 UTC
Malicious package
Published to npm · OSV MAL-2026-13610
What to do
Remove f-termx from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmf-termx | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.