deposits-common (npm) · Malicious Code
Affects deposits-commonSource GCVE Database
Malicious package : remove deposits-common and rotate any secrets on hosts that installed it.
Data as of 5 Aug 2026, 16:22 UTC
Malicious package
Published to npm · OSV MAL-2026-12690
What to do
Remove deposits-common 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 |
|---|---|---|
| npmdeposits-common | 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 'deposits-common' version 35.5.4 contains malicious code that reconstructs obfuscated hostnames to retrieve payloads via HTTPS or a DNS-TXT covert channel. The payload is saved to temporary directories under disguised filenames and executed without hash or signature verification. The malware respects certain environment variables to avoid detection in sandbox environments and uses a telemetry state file to prevent repeated execution. This malicious behavior is unrelated to the package's stated purpose as shared primitives.