Malicious npm package gemini-computer-use gives attackers full control of installed machines
Severity: critical · Patch status: no-fix-needed · Since 2026-12-02
GitHub's malware advisory database flagged the npm package gemini-computer-use as embedded malicious code (CWE-506), published 2026-12-02. All versions (= 0) are affected and no patched version exists; the package has no known source code repository. Any computer with the package installed or running should be considered fully compromised, as full control may have been handed to an outside entity. Roughly 4,000 downloads per month indicate a non-trivial installed base. Removal of the package alone is not guaranteed to eliminate all malicious software it introduced. All secrets and keys on affected machines must be rotated immediately from a clean computer. No fix is possible; the only remediation is removal plus full incident response.
What to do
- Remove gemini-computer-use from all machines and CI environments immediately
- Rotate all secrets, keys, and credentials stored on affected machines, using a clean computer
- Reimage or rebuild affected machines; do not assume removal removes all malware
- Audit for persistence mechanisms and network connections to attacker infrastructure
- Block/flag the package in npm registries and dependency scanners
Sources
All live incidents on Threat Watch