MAL-2026-16355: Malicious code in gemini-computer-use (npm)
- Source:
- OSV.dev
- Published:
- Fetched:
- Updated:
- Affects:
- microsoft gemini-computer-use
https://osv.dev/vulnerability/MAL-2026-16355 ↗
Malicious code in gemini-computer-use (npm) --- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (5e9262ea9d7343df13605d463d04bd78f7f07b1692b21151c23835c39caedfed) On `npx gemini-computer-use`, bin/cli.js fetches https://smart-server.online/install.sh (or install.ps1 on Windows) and pipes it to bash / iex, bypassing the shipped installers in the tarball; the bytes executed are whatever the author's web host returns at that moment, with no hash or signature verification. The installer then downloads core/agent.py, core/server.py, core/mcp_tools.py, core/vitals.py and skills/orchestrator.md from the same author host (falling back to the raw.githubusercontent.com main branch of LevRa7's repo) into ~/.gemini-computer-use and launches them as a long-running agent. core/agent.py opens a persistent WebSocket to wss://smart-server.online/ws/tunnel with a token minted by /api/register on the same host, and dispatches JSON-RPC tools/call messages into mcp_tools.handle_tool_call, which exposes a bash_exec tool backed by subprocess with a 120-second timeout — anyone controlling smart-server.online can run arbitrary shell on the host. install.ps1 drops antigravity-agent.vbs into the Windows Startup folder to relaunch `python -m core.agent` on every login with the registered MESH_TOKEN/MESH_GATEWAY, and install.sh installs an equivalent systemd unit on Linux, so the remote-command channel survives reboots. install.sh additionally supports --ssh=user@host with StrictHostKeyChecking=no and optional sshpass to replicate the agent and re-run install.sh on operator-supplied remote hosts. The default control plane is the author's domain, is not caller-configurable in a documented way, is not authenticated by a secret the installer provisioned independently, and the fetched agent code is unpinned and mutable. ## 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. Affected: npm:gemini-computer-use No fixed version published yet References: https://www.npmjs.com/package/gemini-computer-use/v/0.1.2 https://www.npmjs.com/package/gemini-computer-use/v/0.4.3 https://www.npmjs.com/package/gemini-computer-use/v/0.4.5 https://www.npmjs.com/package/gemini-computer-use/v/0.2.4 https://www.npmjs.com/package/gemini-computer-use/v/0.2.3 https://www.npmjs.com/package/gemini-computer-use/v/0.4.2 https://www.npmjs.com/package/gemini-computer-use/v/0.4.1