test-in-one (npm) · Malicious Code
Affects test-in-oneSource GCVE Database
Malicious package : remove test-in-one and rotate any secrets on hosts that installed it.
Data as of 9 Sep 2026, 21:23 UTC
Malicious package
Published to npm · OSV MAL-2026-15562
What to do
Remove test-in-one 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 |
|---|---|---|
| npmtest-in-one | 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 'test-in-one' version 1.0.0 contains malicious code embedded as a local file dependency that executes automatically during installation. This code harvests sensitive files such as crypto-wallet directories, private SSH keys, AWS credentials, Git credentials, environment files, and npm/yarn configuration files from the user's system. The stolen data is compressed and exfiltrated to a hardcoded Telegram Bot API endpoint. Additionally, the malicious script includes functionality to steal npm tokens and attempt to propagate itself by injecting postinstall hooks into other packages owned by the same maintainer, although the final publish step is currently disabled.