gemini-computer-use (npm) · Malicious Code
Affects gemini-computer-useSource GCVE Database
Malicious package : remove gemini-computer-use and rotate any secrets on hosts that installed it.
Data as of 29 Oct 2026, 14:18 UTC
Malicious package
Published to npm · OSV MAL-2026-16355
What to do
Remove gemini-computer-use from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmgemini-computer-use | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The 'gemini-computer-use' npm package contains malicious code that executes a remote shell script from an untrusted source when invoked. This script installs a persistent backdoor that opens a websocket tunnel to a hardcoded command-and-control server, allowing remote shell command execution on the infected host. The malicious behavior triggers both on direct invocation and when the package is required as a module, affecting versions 0.1.2, 0.4.3, and 0.4.5.