tanksync (npm) · Malicious Code
Affects tanksyncSource GCVE Database
Malicious package : remove tanksync and rotate any secrets on hosts that installed it.
Data as of 26 Oct 2026, 16:22 UTC
Malicious package
Published to npm · OSV MAL-2026-17209
What to do
Remove tanksync 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 |
|---|---|---|
| npmtanksync | 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 'tanksync' version 1.0.7 contains malicious code that downloads and executes arbitrary JavaScript from a hardcoded remote URL. The package uses a flawed integrity check with a symmetric key embedded in the source, allowing attackers to produce valid signatures for any payload. Execution occurs in a detached Node.js process that continues running after the client closes, potentially compromising the host system. Removal of the package may not fully restore system integrity due to persistent malicious activity.
References
- github.com/advisories/GHSA-47j4-w95p-wjp7 (opens in a new tab)
- npmjs.com/package/tanksync/v/1.0.7 (opens in a new tab)
- npmjs.com/package/tanksync/v/1.0.4 (opens in a new tab)
- npmjs.com/package/tanksync/v/1.0.5 (opens in a new tab)
- npmjs.com/package/tanksync/v/1.0.8 (opens in a new tab)
- npmjs.com/package/tanksync/v/1.0.3 (opens in a new tab)
- npmjs.com/package/tanksync/v/1.0.1 (opens in a new tab)
- npmjs.com/package/tanksync/v/1.0.6 (opens in a new tab)
- npmjs.com/package/tanksync/v/1.0.2 (opens in a new tab)
- npmjs.com/package/tanksync/v/1.0.0 (opens in a new tab)