Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in shiftmarkets-sdk (npm)

0
High
Published: 08/05/2026 (08/05/2026, 13:13:06 UTC)
Source: GCVE Database
Product: shiftmarkets-sdk

Description

The shiftmarkets-sdk npm package version 2.1.0 contains malicious code that executes a postinstall script collecting extensive system and environment information. This script gathers hostname, usernames, network interface details, and environment variable names filtered for credential-like keywords, then sends this data unencrypted to a hardcoded external IP address. The package mislabels this data collection as 'NON-SENSITIVE telemetry,' while it clearly performs reconnaissance for sensitive credentials.

Affected software

npmghsa
shiftmarkets-sdk
Affected versions
=2.1.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/05/2026, 16:58:07 UTC

Technical Analysis

The shiftmarkets-sdk npm package version 2.1.0 includes a postinstall hook that runs a script (dist/recon.js) upon installation. This script collects system information such as hostname, username, sudo user, home directory, current working directory, internal IPv4 addresses, DNS domain, CI environment indicators, and environment variable names filtered against a regex targeting credential-related keywords (e.g., AWS, GCP, TOKEN, SECRET, PASS). The collected data is sent via an unencrypted HTTP POST request to a hardcoded IP address (http://138.68.108.20/cb) unrelated to the package's stated purpose. The code's labeling of this activity as 'NON-SENSITIVE telemetry' is misleading, indicating deliberate concealment of reconnaissance activity aimed at harvesting sensitive information.

Potential Impact

This malicious behavior can lead to exposure of sensitive environment variables and system information, potentially including credentials and tokens for cloud services, version control, and other critical systems. The unencrypted transmission to an external IP address increases the risk of interception and unauthorized access. This compromises the confidentiality of the affected system's environment and may facilitate further attacks or unauthorized access.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should avoid installing shiftmarkets-sdk version 2.1.0 and remove it if already installed. Verify dependencies for malicious postinstall scripts and monitor for unexpected network connections to suspicious IP addresses. Patch status is not yet confirmed — check the vendor advisory or official sources for current remediation guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-12803
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a735741bf8831d539153c03

Added to database: 08/05/2026, 15:31:13 UTC

Last enriched: 08/05/2026, 16:58:07 UTC

Last updated: 08/05/2026, 16:58:07 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses