nodetokyo (npm) · Malicious Code
Affects nodetokyoSource GCVE Database
Malicious package : remove nodetokyo and rotate any secrets on hosts that installed it.
Data as of 18 Nov 2026, 21:37 UTC
Malicious package
Published to npm · OSV MAL-2026-16388
What to do
Remove nodetokyo 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 |
|---|---|---|
| npmnodetokyo | 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 nodetokyo npm package (version 1.0.8) contains malicious code that silently installs Python 3.12 and several Python libraries, then runs a hidden background process. This process continuously monitors the system clipboard and captures full-screen screenshots, sending this sensitive data to a hardcoded remote server without user consent. It also installs global keyboard hooks to intercept keystrokes and displays a hidden window to avoid detection. The package is advertised as a 'Stealth Assistant' but functions as spyware, compromising all secrets and keys on the infected system.