Skip to main content
MalwarePublished

@shiftmarkets/shift-sdk-v4 (npm) · Malicious Code

Affects @shiftmarkets/shift-sdk-v4Source GCVE Database

0

Malicious package : remove @shiftmarkets/shift-sdk-v4 and rotate any secrets on hosts that installed it.

Data as of 5 Aug 2026, 17:15 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-12329

What to do

Remove @shiftmarkets/shift-sdk-v4 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

ProductAffectedFixed in
npm@shiftmarkets/shift-sdk-v4Affected
  • =1.0.77
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 @shiftmarkets/shift-sdk-v4 version 1.0.77 contains malicious code that executes a postinstall script upon installation. This script collects extensive reconnaissance data from the installer environment, including hostname, usernames, environment variables (including those resembling credentials), network interfaces, and CI environment flags. The collected data is sent unencrypted over HTTP to a hardcoded IP address with no known affiliation, indicating a potential data exfiltration attempt. The package masquerades as a legitimate Shift Forex SDK and appears designed for dependency confusion attacks against internal registries.

References

Community reviews

Loading reviews…