{"id":"MAL-2026-16355","summary":"Malicious code in gemini-computer-use (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (5e9262ea9d7343df13605d463d04bd78f7f07b1692b21151c23835c39caedfed)\nOn `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.\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","modified":"2026-11-20T02:45:03.572662063Z","published":"2026-09-21T17:21:03Z","database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-020266","import_time":"2026-09-21T17:38:31.930019228Z","modified_time":"2026-09-21T17:21:03Z","sha256":"0f1e56e41d63f9810a1cef681a9d43613ee5e07887785f6777f14f97fc06d847","source":"amazon-inspector","versions":["0.1.2"]},{"import_time":"2026-10-13T23:14:38.876717021Z","modified_time":"2026-10-09T03:31:19Z","sha256":"98cfd64c3f4382ad0470faa70a1604f84cb385a64dbc1eed9bbf68fd244ab887","source":"ossf-package-analysis","versions":["0.4.3"]},{"versions":["0.4.5"],"import_time":"2026-10-19T02:50:30.574403607Z","modified_time":"2026-10-17T03:20:21Z","sha256":"513ba5f48b8693f11b28ac66d327be4ffaa2975e36746a9de167684f3154a96e","source":"ossf-package-analysis"},{"source":"amazon-inspector","versions":["0.4.3"],"id":"IN-MAL-2026-021855","import_time":"2026-10-29T13:37:13.476545199Z","modified_time":"2026-10-29T13:16:50Z","sha256":"56b34e8766d76b6b5c93094a8c8288f85fbb505fef68634a7bdf395abaebb329"},{"modified_time":"2026-10-29T14:11:12Z","sha256":"82132c993bf6c637276175bad6dd6df94570c1e0041a613bfcab9c0d3c931678","source":"amazon-inspector","versions":["0.4.5"],"id":"IN-MAL-2026-022271","import_time":"2026-10-29T14:14:39.101379657Z"},{"versions":["0.2.4"],"id":"IN-MAL-2026-022924","import_time":"2026-11-20T02:36:32.028849143Z","modified_time":"2026-11-20T02:33:30Z","sha256":"2d80e7dc6878ebeed1f03af991e3ea15ad78e331f76be330cca52f3e19b58633","source":"amazon-inspector"},{"modified_time":"2026-11-20T02:33:19Z","sha256":"5e9262ea9d7343df13605d463d04bd78f7f07b1692b21151c23835c39caedfed","source":"amazon-inspector","versions":["0.2.3"],"id":"IN-MAL-2026-022923","import_time":"2026-11-20T02:36:31.808149844Z"},{"id":"IN-MAL-2026-022925","import_time":"2026-11-20T02:36:32.071813047Z","modified_time":"2026-11-20T02:33:36Z","sha256":"73119ad8a8c521c376ce7ed0380f448bb7f0f1f4719f180aef6dca1d9eabe2a1","source":"amazon-inspector","versions":["0.4.2"]},{"sha256":"786ad22ac105f89069ab7066db79700e96c368bf69ed9e38046cb15d900eddd0","source":"amazon-inspector","versions":["0.4.1"],"id":"IN-MAL-2026-022926","import_time":"2026-11-20T02:36:32.128957722Z","modified_time":"2026-11-20T02:33:44Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/gemini-computer-use/v/0.1.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/gemini-computer-use/v/0.4.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/gemini-computer-use/v/0.4.5"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/gemini-computer-use/v/0.2.4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/gemini-computer-use/v/0.2.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/gemini-computer-use/v/0.4.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/gemini-computer-use/v/0.4.1"}],"affected":[{"package":{"name":"gemini-computer-use","ecosystem":"npm","purl":"pkg:npm/gemini-computer-use"},"versions":["0.1.2","0.4.3","0.4.5","0.2.4","0.2.3","0.4.2","0.4.1"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"},{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."},{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"tlsh":"e7111ff1867b69fd22e105d00352f52ec47f9000708f84b997aeb1c25b82528121a2eb","path":"bin/cli.js","sha256":"5597958a888d9b0adc25cbf5b641e86afb88cb0b7005cb5476829f497ea87fbe"},{"path":"core/agent.py","sha256":"4173bbf1f4776fe1194165780cddc694097a97fb0b5a22ae49ed635c74056440","tlsh":"51415020857e002383db31645839a9002679da031705c97ab9cea7742f6963ae2b27ff"},{"path":"install.sh","sha256":"7d237b5291f6ee2ebbd8c5f8cabda2d955ec04ce965a8170c13a02efab041f8a","tlsh":"91e2b661b46051b8301d8c7a597a5c043e26256fca35356cf16ea8d83fb8325eef873b"}],"package_integrity":[{"filename":"gemini-computer-use-0.1.2.tgz","hashes":{"sha1":"5a26b16325e323581f2a7482ee3f48f28f94ffed","sha512_sri":"sha512-CIvqNfwR0x68+a9+bK2u7SiM3HkUgc4kUxoo7EjPG1H4z0dRQ+BZkxRlKq5RyYQBIAF1Scv6xNTpII4bK3Xcaw=="}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/gemini-computer-use/MAL-2026-16355.json"}}],"schema_version":"1.9.2","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"OpenSSF: Package Analysis","contact":["https://github.com/ossf/package-analysis","https://openssf.slack.com/channels/package_analysis"],"type":"FINDER"}]}