shift-sdk-v5 (npm) · Malicious Code
Affects shift-sdk-v5Source GCVE Database
Malicious package : remove shift-sdk-v5 and rotate any secrets on hosts that installed it.
Data as of 5 Aug 2026, 17:20 UTC
Malicious package
Published to npm · OSV MAL-2026-12436
What to do
Remove shift-sdk-v5 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 |
|---|---|---|
| npmshift-sdk-v5 | 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 shift-sdk-v5 version 5.0.1 contains malicious code that executes a postinstall script collecting extensive environment and system information. This includes hostname, usernames, sudo user status, home and working directories, internal network interfaces, DNS domain, CI environment indicators, and environment variables related to cloud providers and credentials. The collected data is sent unencrypted to a hardcoded IP address. The package impersonates a legitimate scoped trading API client to increase installation likelihood.