syjoy (npm) · Malicious Code
Affects syjoySource GCVE Database
Malicious package : remove syjoy and rotate any secrets on hosts that installed it.
Data as of 19 Aug 2026, 14:40 UTC
Malicious package
Published to npm · OSV MAL-2026-14213
What to do
Remove syjoy 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 |
|---|---|---|
| npmsyjoy | 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 npm package syjoy version 1.0.0 masquerades as a system binary configuration tool but contains malicious Python code that harvests user data and enables remote control of the host. On first run, it silently installs Python 3.12 and executes a Python script that captures keystrokes, clipboard data, screenshots, and extracts text from other application windows. The stolen data is sent to a hardcoded remote server, which can respond with commands that are automatically typed into the active window, effectively allowing remote input injection. The package uses hidden windows and elevated privileges to evade detection. This behavior indicates the package is a covert tool likely intended for unauthorized data collection and remote manipulation rather than legitimate configuration management.