# MAL-2026-13610: Malicious code in f-termx (npm)


- **Type:** Malicious package
- **Package:** `f-termx` (npm)
- **Published:** 7 Aug 2026

## What is MAL-2026-13610?

MAL-2026-13610 is a malicious package in f-termx, published on 7 Aug 2026. 

### Official description

The package's main entrypoint (index.js) and src/server.js start an HTTP + Socket.IO server bound to 0.0.0.0 and are designed to be published to the public internet via serveo.net / ngrok tunnels. On a `spawn-shell` socket.io message the server invokes `pty.spawn(shell, [], { cwd: process.env.HOME... })` to start a local `/bin/bash` PTY and forwards subsequent `shell-input` websocket payloads into `ptyProcess.write(data)`, giving any reachable network peer full-host command execution on the operator's machine. A parallel `connect-ssh` handler opens an SSH2 session to a caller-supplied host/user/password and pipes `ssh-input` websocket data into the SSH shell stream, with defaults pulled from `SSH_HOST` / `SSH_USERNAME` / `SSH_PASSWORD` env vars so any configured host credentials on the installer are used automatically. The web UI ships with hardcoded default credentials `admin/admin`, and the SSH-proxy socket.io namespace has no authentication gate at all. The `child_process` / `spawn('ssh',...)` primitives at src/server.js:210 and:639-641 corroborate the shell and SSH pivot paths.

## What should I do about MAL-2026-13610?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

## Fix prompt for AI coding agents

```text
MAL-2026-13610 is a malicious package: f-termx (npm). Every version was published to cause harm.

Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.

Reference: https://insights.sbomify.com/MAL-2026-13610/ (Markdown: https://insights.sbomify.com/MAL-2026-13610/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/MAL-2026-13610

---
From sbomify Insights: https://insights.sbomify.com/MAL-2026-13610/
Summaries are generated and may contain mistakes; the official description above is the record.
