MAL-2026-12436 Malicious code in shift-sdk-v5 (npm)
Malicious package
Published
MAL-2026-12436 is a malicious package: shift-sdk-v5 (npm). Every version was published to cause harm.
Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.
Reference: https://insights.sbomify.com/MAL-2026-12436/ (Markdown: https://insights.sbomify.com/MAL-2026-12436/index.md)
- Package
- shift-sdk-v5
- Registry
- npm
What is MAL-2026-12436?
MAL-2026-12436 is a malicious package in shift-sdk-v5, published on 5 Aug 2026.
Official description
[email protected] registers a postinstall script that runs dist/recon.js on npm install. The script collects hostname, username, SUDO_USER, home directory, working directory, internal network interface addresses, DNS domain (via dnsdomainname), CI provider indicators, the full list of environment variable names, and a filtered subset of environment variable names matching AWS, GCP, AZURE, NPM, TOKEN, SECRET, KEY, PASS, CRED, GITHUB, GITLAB, and SSH patterns. The collected data is POSTed over plain HTTP to the hardcoded bare IP 138.68.108.20 at path /cb. The package's main file self-identifies as
@shiftforex/shift-sdk-v4 — trading API client (scoped build) while being published unscoped as shift-sdk-v5, impersonating the legitimate scoped SDK to attract installs. A NON-SENSITIVE telemetry comment accompanies code that explicitly enumerates sudo state, internal IPs, CI context, and credential-shaped env var names — pre-attack host and credential-surface fingerprinting against installer/CI environments.What should I do about MAL-2026-12436?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.